Skip to main content
VulnerabilityPublished

CVE-2024-42561: Pharmacy Management System · SQL Injection

Source CVE Database V5

0

Not known to be exploited · CVSS 8.8 High.

Data as of 26 Oct 2026, 14:05 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Aug 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

AI-suggested

To mitigate CVE-2024-42561, organizations should immediately review and update the affected Pharmacy Management System to a patched version once available. In the absence of an official patch, implement strict input validation and sanitization on the invoice_number parameter to prevent injection of malicious SQL code. Employ parameterized queries or prepared statements in the application code to eliminate direct concatenation of user inputs into SQL commands. Conduct thorough code audits focusing on all database interaction points. Deploy Web Application Firewalls (WAFs) with rules designed to detect and block SQL injection attempts targeting the sales_report.php endpoint. Monitor database logs and application logs for unusual query patterns or errors indicative of injection attempts. Restrict database user privileges to the minimum necessary to limit the impact of a potential exploit. Finally, educate developers and administrators about secure coding practices and the criticality of timely vulnerability management in healthcare environments.

Description

Pharmacy Management System commit a2efc8 was discovered to contain a SQL injection vulnerability via the invoice_number parameter at sales_report.php.

References

Community reviews

Loading reviews…