CVE-2024-40472 SQL injection in n/a

Medium 6.5 Published Updated

Attackers can exploit SQL injection in the delete-calorie.php script to read or modify database contents in the Daily Calories Monitoring Tool.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-40472?

CVE-2024-40472 is a medium-severity SQL injection vulnerability in n/a, published on 9 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Sourcecodester Daily Calories Monitoring Tool v1.0 is vulnerable to SQL Injection via "delete-calorie.php."

Weakness: CWE-89

Which versions are affected by CVE-2024-40472?

It affects 1 product.

Products include Rems Daily Calories Monitoring Tool.

How do I fix CVE-2024-40472?

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

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

Sources

Also known as GHSA-jhjr-vvw5-3rf8.

Is CVE-2024-40472 in your software?

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

Check your SBOMs for free