{"id":"CVE-2021-24762","published":"2022-02-01T12:21:23Z","modified":"2024-08-03T19:42:17Z","title":"Perfect Survey < 1.5.2 - Unauthenticated SQL Injection","vendor":"Unknown","product":"Perfect Survey","tier":"core","eol":null,"affectedVersions":[{"vendor":"Unknown","product":"Perfect Survey","versions":[">= 1.5.2, < 1.5.2"]}],"description":{"text":"The Perfect Survey WordPress plugin before 1.5.2 does not validate and escape the question_id GET parameter before using it in a SQL statement in the get_question AJAX action, allowing unauthenticated users to perform SQL injection.","provenance":"source","from":"CVE.org"},"summary":{"text":"The Perfect Survey WordPress plugin, before version 1.5.2, fails to validate and escape the question_id GET parameter before using it in a SQL statement within its get_question AJAX action. An unauthenticated remote attacker can exploit this SQL injection flaw by sending crafted requests to the affected AJAX endpoint, with no login or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T14:56:19Z"},"cvss":null,"epss":{"score":0.86782,"percentile":0.99828,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2022-08-19","exploitedFirstSeen":"2022-08-19","ransomware":false,"evidence":[{"url":"https://unit42.paloaltonetworks.com/recent-exploits-network-security-trends/","date":"2022-08-19"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-24762","date":"2024-04-27"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Network Security Trends: Recent Exploits and More","url":"https://otx.alienvault.com/pulse/63037a764f7474d9194f3365","created":"2022-08-22"}],"provenance":"machine"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://wpscan.com/vulnerability/c1620905-7c31-4e62-80f5-1d9635be11ad","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/166072/WordPress-Perfect-Survey-1.5.1-SQL-Injection.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-11674","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-11674","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":50766,"url":"https://www.exploit-db.com/exploits/50766","title":"WordPress Plugin Perfect Survey - Unauthenticated 1.5.1 - SQL Injection (SQLi)","type":"webapps","platform":"php","date":"2022-02-21","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2022-02-21"},"pocGithub":{"count":2,"skipped":0,"earliest":"2025-10-15","earliestUrl":"https://github.com/c4cnm/Exploit_CVE-2021-24762","repos":[{"name":"c4cnm/Exploit_CVE-2021-24762","url":"https://github.com/c4cnm/Exploit_CVE-2021-24762","stars":1,"created":"2025-10-15"},{"name":"NT1410/CVE-2021-24762","url":"https://github.com/NT1410/CVE-2021-24762","stars":0,"created":"2026-03-09"}]},"metasploit":[{"name":"WordPress Plugin Perfect Survey 1.5.1 SQLi (Unauthenticated)","module":"auxiliary/scanner/http/wp_perfect_survey_sqli","type":"auxiliary","disclosureDate":"2021-10-05","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wp_perfect_survey_sqli.rb"}],"nuclei":[{"id":"CVE-2021-24762","name":"WordPress Perfect Survey <1.5.2 - SQL Injection","severity":"critical","path":"http/cves/2021/CVE-2021-24762.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24762.yaml"}],"first":{"date":"2021-10-05","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wp_perfect_survey_sqli.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/166072/WordPress-Perfect-Survey-1.5.1-SQL-Injection.html"],"flow":[],"timeline":[{"date":"2021-10-05","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2022-02-21, PoC-in-GitHub 2025-10-15","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wp_perfect_survey_sqli.rb","provenance":"source"},{"date":"2022-02-01","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-24762","provenance":"source"},{"date":"2022-08-19","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://unit42.paloaltonetworks.com/recent-exploits-network-security-trends/","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":60.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1559 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.97,"detail":"percentile 0.9983"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 2 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}