.. / CVE-2021-24931

Exploit for WordPress Secure Copy Content Protection and Content Locking <2.8.2 - SQL Injection (CVE-2021-24931)

Description:

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.

Nuclei Template

View the template here CVE-2021-24931.yaml

Validate with Nuclei

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

References:

http://packetstormsecurity.com/files/165946/WordPress-Secure-Copy-Content-Protection-And-Content-Locking-2.8.1-SQL-Injection.html
https://wordpress.org/plugins/secure-copy-content-protection/
https://wpscan.com/vulnerability/1cd52d61-af75-43ed-9b99-b46c471c4231
https://nvd.nist.gov/vuln/detail/CVE-2021-24931