CVE-2021-24777 Hotscot Contact Form < 1.3 - Admin+ SQL Injection

High 7.2 Published Updated

An authenticated admin can exploit unsanitized input in the view submission feature to perform SQL injection, allowing unauthorized database access.

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

What is CVE-2021-24777?

CVE-2021-24777 is a high-severity SQL injection vulnerability in Unknown Hotscot Contact Form, published on 7 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The view submission functionality in the Hotscot Contact Form WordPress plugin before 1.3 makes a get request with the sub_id parameter which not sanitised, escaped or validated before inserting to a SQL statement, leading to an SQL injection.

Weakness: CWE-89

Which versions are affected by CVE-2021-24777?

It affects 1 product.

Products include Hotscot Contact Form.

How do I fix CVE-2021-24777?

No fix has been published for CVE-2021-24777 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-24777 being exploited?

There is no known exploitation of CVE-2021-24777 in the wild and no public exploit code.

Sources

Also known as GHSA-9j9f-c66r-6h93.

Is CVE-2021-24777 in your software?

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

Check your SBOMs for free