CVE-2024-10138
published medium CVSS 4.0 · 5.3code-projects Pharmacy Management System add_new_purchase.php sql injection
Package status and fixes
Description
A vulnerability classified as critical has been found in code-projects Pharmacy Management System 1.0. Affected is an unknown function of the file /add_new_purchase.php?action=is_supplier. The manipulation of the argument name leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Es wurde eine kritische Schwachstelle in code-projects Pharmacy Management System 1.0 entdeckt. Hiervon betroffen ist ein unbekannter Codeblock der Datei /add_new_purchase.php?action=is_supplier. Durch Manipulieren des Arguments name mit unbekannten Daten kann eine sql injection-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Exploit steht zur öffentlichen Verfügung.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 3.0 | 6.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| code-projects | Pharmacy Management System | 1.0 (affected) | VulDB · cna |
| code-projects | pharmacy_management_system | 1.0 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-89 SQL Injection
References
5- https://code-projects.org/
- https://gist.github.com/higordiego/26694ace59cbc1e1f8366bef96953569
- VDB-280926 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/?ctiid.280926
- VDB-280926 | code-projects Pharmacy Management System add_new_purchase.php sql injection https://vuldb.com/?id.280926
- Submit #425283 | code-projects Pharmacy Management System 1.0 SQL Injection https://vuldb.com/?submit.425283
Provider assertions
2VulDB · cna
code-projects Pharmacy Management System add_new_purchase.php sql injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6f21fa5f9fda7009ba7f9d5a89712d1c85ad7ea9bde90ca2ba906774fbd1c8a0
- Ingested
- 23 Sep 2026, 08:16:32 UTC
- Source record
- Official CVE record