Cyber Resilience

CVE-2024-10140

MediumPublic PoC

Published: 19 October 2024

Published
19 October 2024
Modified
22 October 2024
KEV Added
Patch
CVSS Score v4 5.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.2349 96.1th percentile
Risk Priority 25 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-10140 is a medium-severity SQL Injection (CWE-89) vulnerability in Code-Projects Pharmacy Management System. Its CVSS base score is 5.3 (Medium).

Operationally, ranked in the top 3.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

A critical SQL injection vulnerability, tracked as CVE-2024-10140 and assigned CWE-89, affects the code-projects Pharmacy Management System version 1.0. The flaw resides in an unknown function within the file /manage_supplier.php, where unsanitized input to the id parameter allows an attacker to inject arbitrary SQL statements.

The issue can be exploited remotely by an authenticated user with low privileges, resulting in limited impacts to confidentiality, integrity, and availability as reflected in its CVSS 5.3 score. A public exploit has already been disclosed, enabling attackers to manipulate database queries through the affected endpoint.

The EPSS score remains flat at 0.2349 with no material increase since disclosure, indicating limited observed exploitation interest to date. References point to the vendor site and a public gist containing exploit details, but no official patches or mitigation guidance are provided in the available sources.

EU & UK References

Vulnerability details

A vulnerability, which was classified as critical, has been found in code-projects Pharmacy Management System 1.0. Affected by this issue is some unknown functionality of the file /manage_supplier.php. The manipulation of the argument id leads to sql injection. The attack…

more

may be launched remotely. The exploit has been disclosed to the public and may be used.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

code-projects
pharmacy management system
1.0

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-89

Penetration testing uses SQL injection payloads against database interfaces, identifying and supporting fixes for SQL injection weaknesses.

addresses: CWE-89

Validates query inputs to prevent SQL syntax or command manipulation.

References