Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-38314 PoC — Gutenberg Template Library & Redux Framework <= 4.2.11 Sensitive Information Disclosure

Source
Associated Vulnerability
Title:Gutenberg Template Library & Redux Framework <= 4.2.11 Sensitive Information Disclosure (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`.
Description
CVE-2021-38314 Python Exploit
Readme
# CVE-2021-38314 Python Exploit

## Detail
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`. 

## Impact
Attacker can retrieve sensitive information such as a list of active plugins and their version, the site's PHP version, and an unsalted md5 hash of site's `AUTH_KEY` concatenated with the `SECURE_AUTH_KEY`.This would be most useful in causes where a separate plugin with an additional vulnerability was installed,as an attacker could use the information to save time and plan an intrusion.

## Exploit
Use:
    `python cve-2021-38314.py [ Vulnerable URL ]`

Example:
    `python cve-2021-38314.py https://example.com`

> Example PoC - https://youtu.be/n1e4aFmXvOk

## Links

[CVE-2021-38314](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38314)

File Snapshot

[4.0K] /data/pocs/fdcf1930fceb5b4722938d0779efbd7639658a8a ├── [ 725] cve-2021-38314.py └── [1.3K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →