SecurityContext

CVE-2024-8146: code-projects Pharmacy Management System - SQL Injection

  • Cve: CVE-2024-8146
  • Name: code-projects Pharmacy Management System - SQL Injection
  • Description: A vulnerability has been found in code-projects Pharmacy Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /index.php?action=editSalesman. The manipulation of the argument id leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
  • Impact: Remote attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
  • Remediation: Update to the latest version of the software or apply security patches that fix the SQL injection vulnerability.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0058
  • Epss percentile: 0.48596
  • Assignee: [email protected]
  • Published at: 2024-08-25T08:15:03Z
  • Age in days: 821
  • Modified at: 2026-06-17T08:21:59Z
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-8146
  • 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

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://github.com/maqingnan/cve/blob/main/sql1.mdnvd2024-08-25

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/maqingnan/cve/blob/main/sql1.mdExploit, Third Party Advisory
https://vuldb.com/?submit.397417Third Party Advisory, VDB Entry
https://code-projects.org/Product
https://vuldb.com/?ctiid.275728Permissions Required, VDB Entry
https://vuldb.com/?id.275728Permissions Required, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
pharmacy_management_system_project:pharmacy_management_system= 1.0nonvd/v1/products/pharmacy_management_system_project/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-25
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts