CVE-2021-24762 is a SQL injection vulnerability in the Perfect Survey WordPress plugin before version 1.5.2. The plugin does not properly validate and escape the question_id GET parameter before incorporating it into a SQL statement within the get_question AJAX action. Because the vulnerable parameter is attacker-controlled and insufficiently sanitized, an unauthenticated remote attacker can supply crafted input to alter the intended SQL query logic.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
question_id parameter, and monitor web and database logs for suspicious requests to the get_question AJAX action. Reducing unnecessary plugin exposure or temporarily disabling the plugin can also lower risk until remediation is applied.Patch, then assume compromise.
question_id parameter. Ensure all database queries use parameterized statements or WordPress-safe database APIs, and validate and sanitize all user-supplied input before use in SQL queries.2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository contains a Python proof-of-concept exploit for CVE-2021-24762, a critical time-based blind SQL injection vulnerability in the Perfect Survey WordPress plugin (versions <1.5.2). The exploit is implemented in a single script, 'exploit_cve-2021-24762.py', which takes command-line arguments for the target URL, path, delay, timeout, charset, and maximum password length. By sending specially crafted HTTP GET requests to the vulnerable 'admin-ajax.php' endpoint, the script leverages a time-based SQL injection to extract the password hash of the 'admin' user from the 'wp_users' table. The attack vector is network-based, requiring access to the web application. The repository also includes a README with usage instructions, impact details, and mitigation advice, and a standard GPLv3 license file. The exploit is a functional PoC and does not include weaponized or post-exploitation features.
This repository contains a single Metasploit auxiliary scanner module targeting a SQL injection vulnerability (CVE-2021-24762) in the WordPress Perfect Survey plugin version 1.5.1. The exploit is unauthenticated and leverages a SQL injection in the 'question_id' parameter of a GET request to '/wp-admin/admin-ajax.php'. Upon successful exploitation, the module extracts usernames, emails, and password hashes from the 'wp_users' table and presents them in a table format, also registering the credentials in the Metasploit database. The code is written in Ruby and is structured as a typical Metasploit module, with clear separation of initialization, vulnerability checking, and exploitation logic. The only file present is the exploit module itself, making the repository focused and easy to analyze.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.