CVE-2024-42561: Pharmacy Management System - SQL Injection
- Cve: CVE-2024-42561
- Name: Pharmacy Management System - SQL Injection
- Description: Pharmacy Management System commit a2efc8 was discovered to contain a SQL injection vulnerability via the invoice_number parameter at sales_report.php.
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
- Remediation: Apply input validation and parameterized queries, update to the latest version if available.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.09039
- Epss percentile: 0.95357
- Assignee: [email protected]
- Published at: 2024-08-20T13:15:06Z
- Age in days: 826
- Modified at: 2026-06-17T07:49:38Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42561
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gist.github.com/topsky979/5d2d9104dc4dd7f5dda99cbbd615a0b8 | nvd | 2024-08-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://gist.github.com/topsky979/5d2d9104dc4dd7f5dda99cbbd615a0b8 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| krishna9772:pharmacy_management_system | <= 2024-03-06 | no | nvd | /v1/products/krishna9772/pharmacy_management_system |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-08-20
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts