CVE-2021-45253 SQL injection in n/a

Critical 9.8 Published Updated

SQL injection in view_storage.php allows attackers to execute arbitrary SQL queries, potentially reading data or executing code via load_file.

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-45253?

CVE-2021-45253 is a critical SQL injection vulnerability in n/a, published on 21 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The id parameter in view_storage.php from Simple Cold Storage Management System 1.0 appears to be vulnerable to SQL injection attacks. A payload injects a SQL sub-query that calls MySQL's load_file function with a UNC file path that references a URL on an external domain. The application interacted with that domain, indicating that the injected SQL query was executed.

Weakness: CWE-89

Which versions are affected by CVE-2021-45253?

It affects 1 product.

Products include Simple Cold Storage Management System Project Simple Cold Storage Managment System.

How do I fix CVE-2021-45253?

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

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

Sources

Also known as GHSA-39hj-6v7j-qq5j.

Is CVE-2021-45253 in your software?

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

Check your SBOMs for free