CVE-2021-24931 Secure Copy Content Protection and Content Locking < 2.8.2 - Unauthenticated SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can inject SQL via the sccp_id parameter in the export file AJAX action, allowing data access or modification.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-24931?

CVE-2021-24931 is a critical SQL injection vulnerability in Unknown Secure Copy Content Protection and Content Locking, published on 6 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Secure Copy Content Protection and Content Locking WordPress plugin before 2.8.2 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, leading to an SQL injection.

Weakness: CWE-89

Which versions are affected by CVE-2021-24931?

It affects 1 product.

Products include Ays-Pro Secure Copy Content Protection and Content Locking.

How do I fix CVE-2021-24931?

No fix has been published for CVE-2021-24931 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2021-24931 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24931 exists.

Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 1 Nuclei template.

Sources

Also known as GHSA-pqpx-fr5w-2v75.

Is CVE-2021-24931 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free