Skip to main content
CVE-2024-40472VulnerabilityPublished

CVE-2024-40472: n/a

Source CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

AI-suggested

To mitigate CVE-2024-40472, organizations should immediately review and update the delete-calorie.php script to implement secure coding practices. Specifically, input parameters must be sanitized and validated rigorously to prevent injection of malicious SQL code. The use of prepared statements with parameterized queries is strongly recommended to eliminate direct concatenation of user input into SQL commands. Additionally, implementing web application firewalls (WAFs) with SQL Injection detection rules can provide a layer of defense. Regular security code reviews and penetration testing should be conducted to identify similar vulnerabilities. If possible, restrict access to sensitive endpoints and require authentication to reduce exposure. Monitoring logs for suspicious activity related to delete-calorie.php can help detect exploitation attempts. Finally, organizations should stay alert for official patches or updates from the software vendor and apply them promptly once available.

Description

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

References

Community reviews

Loading reviews…