Skip to main content
VulnerabilityPublished Updated

CVE-2024-40560: Tmall_demo · SQL Injection

Affects Tmall_demoSource CVE Database V5

0

Not known to be exploited · CVSS 7.3 High : upgrade to 2024.07.03 soon.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2024.07.03
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jul 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 26 Oct 2026.

What to do

Upgrade project_team/Tmall_demo to 2024.07.03.

Affected software

ProductAffectedFixed in
GitHubproject_team/Tmall_demopkg:github/project_team/Tmall_demoOther threatsAffected
  • <2024.07.03
Fixed in
  • 2024.07.03

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. 2. If you cannot patch yet, implement web application firewall (WAF) rules to detect and block SQL injection patterns targeting Tmall_demo endpoints. 3. Review and refactor application code to use parameterized queries or prepared statements instead of dynamic SQL concatenation. 4. Enforce strict input validation and sanitization on all user-supplied data, especially those interacting with database queries. 5. Conduct regular security testing, including automated scanning and manual code reviews focused on injection flaws. 6. Monitor database logs and application logs for unusual query patterns or errors indicative of injection attempts. 7. Limit database user privileges to the minimum necessary to reduce impact if exploitation occurs. 8. Educate development teams on secure coding practices to prevent future injection vulnerabilities.

Description

Tmall_demo before v2024.07.03 was discovered to contain a SQL injection vulnerability.

References

Community reviews

Loading reviews…