{"id":"CVE-2021-24750","published":"2021-12-21T08:45:29Z","modified":"2024-08-03T19:42:16Z","title":"WP Visitor Statistics (Real Time Traffic) < 4.8 - Subscriber+ SQL Injection","vendor":"Unknown","product":"WP Visitor Statistics (Real Time Traffic)","tier":"core","eol":null,"affectedVersions":[{"vendor":"Unknown","product":"WP Visitor Statistics (Real Time Traffic)","versions":[">= 4.8, < 4.8"]}],"description":{"text":"The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 4.8 does not properly sanitise and escape the refUrl in the refDetails AJAX action, available to any authenticated user, which could allow users with a role as low as subscriber to perform SQL injection attacks","provenance":"source","from":"CVE.org"},"summary":{"text":"The WP Visitor Statistics (Real Time Traffic) WordPress plugin, before version 4.8, fails to properly sanitise and escape the refUrl parameter in its refDetails AJAX action, which is a flaw that leads to SQL injection. An attacker who holds any authenticated account on the site, down to the subscriber role, can exploit this to run SQL injection attacks against the plugin's backend database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T14:56:30Z"},"cvss":null,"epss":{"score":0.38298,"percentile":0.98912,"date":"2026-11-26","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2022-05-31","exploitedFirstSeen":"2022-05-31","ransomware":false,"evidence":[{"url":"https://unit42.paloaltonetworks.com/network-security-trends-cross-site-scripting/","date":"2022-05-31"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://wpscan.com/vulnerability/7528aded-b8c9-4833-89d6-9cd7df3620de","tags":["x_refsource_MISC"]},{"url":"https://plugins.trac.wordpress.org/changeset/2622268","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/165433/WordPress-WP-Visitor-Statistics-4.7-SQL-Injection.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-11662","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-11662","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":50619,"url":"https://www.exploit-db.com/exploits/50619","title":"WordPress Plugin WP Visitor Statistics <= 4.7 - SQL Injection (SQLi)","type":"webapps","platform":"php","date":"2022-01-05","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2022-01-05"},"pocGithub":{"count":1,"skipped":0,"earliest":"2022-01-14","earliestUrl":"https://github.com/fimtow/CVE-2021-24750","repos":[{"name":"fimtow/CVE-2021-24750","url":"https://github.com/fimtow/CVE-2021-24750","stars":1,"created":"2022-01-14"}]},"nuclei":[{"id":"CVE-2021-24750","name":"WordPress Visitor Statistics (Real Time Traffic) <4.8 -SQL Injection","severity":"high","path":"http/cves/2021/CVE-2021-24750.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24750.yaml"}],"first":{"date":"2022-01-05","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50619"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/165433/WordPress-WP-Visitor-Statistics-4.7-SQL-Injection.html"],"flow":[],"timeline":[{"date":"2021-12-21","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-24750","provenance":"source"},{"date":"2022-01-05","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-50619); later: PoC-in-GitHub 2022-01-14","url":"https://www.exploit-db.com/exploits/50619","provenance":"source"},{"date":"2022-05-31","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://unit42.paloaltonetworks.com/network-security-trends-cross-site-scripting/","provenance":"source"}],"speed":{"daysToPublicExploit":15,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":59.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1640 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.78,"detail":"percentile 0.9891"},{"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; 1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}