.. / CVE-2021-24791

Exploit for Header Footer Code Manager < 1.1.14 - Admin+ SQL Injection (CVE-2021-24791)

Description:

The Header Footer Code Manager WordPress plugin before 1.1.14 does not validate and escape the “orderby” and “order” request parameters before using them in a SQL statement when viewing the Snippets admin dashboard, leading to SQL injections

Nuclei Template

View the template here CVE-2021-24791.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-24791.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2021-24791
https://wpscan.com/vulnerability/d55caa9b-d50f-4c13-bc69-dc475641735f
https://wordpress.org/plugins/header-footer-code-manager/