Skip to main content

Pharmacy Sales and Inventory System CVE-2026-7549

| EUVDEUVD-2026-26475 MEDIUM
SQL Injection (CWE-89)
2026-05-01 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed /ajax.php endpoint
  2. Delivery
    Send crafted HTTP request with SQLi payload in ID parameter
  3. Exploit
    Database executes injected SQL commands
  4. Execution
    Extract credentials and sensitive data
  5. Impact
    Modify/delete records or escalate privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote exploitation against the /ajax.php endpoint with action parameter set to delete_customer. No authentication required per CVSS vector PR:N (privileges required: none), meaning the vulnerable AJAX endpoint lacks access controls in default configuration. No user interaction needed (UI:N), allowing fully automated exploitation. Attack succeeds against any internet-accessible deployment of Pharmacy Sales and Inventory System 1.0 where the /ajax.php file is reachable. Exploitation is NOT limited by: database type (SQL injection applies to MySQL, PostgreSQL, etc.), server OS, or PHP version. Limiting factor: many deployments may be on internal networks or localhost-only development environments, reducing exposure despite lack of authentication requirement.

Impact

Real-world risk is moderate-high for exposed instances but likely limited in scope. CVSS 7.3 with vector AV:N/AC:L/PR:N/UI:N indicates trivial remote exploitation requiring no authentication or user interaction, earning high urgency on technical metrics alone. The E:P (Proof-of-concept exists) temporal score confirms publicly available exploit code on GitHub, lowering the skill threshold for exploitation. However, SourceCodester applications are typically deployed in small business environments with limited internet exposure, and the product is not widely adopted in enterprise settings. No CISA KEV listing suggests attackers have not prioritized this target for mass exploitation campaigns despite POC availability. SSVC assessment: exploitation is PROVEN (POC exists), technical impact is TOTAL (SQL injection enables data breach and manipulation), but automatable exploitation depends on deployment prevalence. Priority for organizations: HIGH if this application is internet-facing, LOW if internal-only or not deployed. Key uncertainty: RL:X (remediation level unknown) indicates no confirmed vendor patch, elevating risk for existing installations.

Exploit ScenarioDerived

Attacker identifies an internet-exposed instance of Pharmacy Sales and Inventory System 1.0 through Shodan or Google dorking. Using the publicly available GitHub POC, they craft a malicious HTTP request to /ajax.php?action=delete_customer with a SQL injection payload in the ID parameter (e.g., ID=1' UNION SELECT user(),database(),version()--). The vulnerable PHP code concatenates this input directly into a DELETE query, causing the database to execute the injected UNION statement and return sensitive information including database credentials, patient records, or medication inventory data. Attacker escalates by modifying queries to dump entire user tables, alter pricing records, or inject administrative accounts for persistent access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 01, 2026

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extract database contents, modify records, or execute unauthorized queries via the ID parameter in /ajax.php?action=delete_customer. Publicly available exploit code exists (GitHub POC), enabling trivial exploitation against exposed instances. CVSS 7.3 reflects network-accessible attack with low complexity and no authentication requirement, though EPSS data unavailable and not currently listed in CISA KEV, suggesting limited widespread exploitation despite POC availability.

RemediationAI

No vendor-released patch identified at time of analysis (CVSS RL:X indicates unknown remediation level). Primary mitigation requires manual code remediation: modify /ajax.php to use parameterized prepared statements for the delete_customer action, specifically binding the ID parameter instead of direct concatenation. For organizations unable to patch immediately, implement compensating controls: (1) Restrict /ajax.php access to authenticated admin users only via web application firewall or .htaccess rules, trading functionality for reduced attack surface; (2) Deploy web application firewall with SQL injection signature detection to block exploitation attempts, though this may cause false positives on legitimate queries; (3) Place application behind VPN or IP whitelist if used only by internal staff, eliminating remote attack vector entirely. GitHub POC at https://github.com/khairulazly760530-cell/cves/issues/3 can be used to validate patch effectiveness. VulDB references (https://vuldb.com/vuln/360359) provide additional technical details but no official vendor guidance.

Affected VersionsENISA

Pharmacy Sales and Inventory System 1.0

Affected Packages

euvd pharmacy_sales_and_inventory_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a classic SQL injection vulnerability (CWE-89) in a PHP-based web application. The affected file /ajax.php implements a customer deletion function that accepts an ID parameter without proper input validation or parameterized query preparation. According to CPE data (cpe:2.3:a:sourcecodester:pharmacy_sales_and_inventory_system), the vulnerability exists in SourceCodester's Pharmacy Sales and Inventory System version 1.0, a free open-source PHP application for managing pharmacy operations. SQL injection occurs when user-controlled input is concatenated directly into SQL statements, allowing attackers to inject malicious SQL commands. The AJAX endpoint pattern suggests this is part of the application's administrative interface for managing customer records.

Know when Pharmacy Sales And Inventory System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
PoC Detected
May 01, 2026 - 15:26 vuln.today
Public exploit code
Severity Changed
May 01, 2026 - 05:22 NVD
HIGH MEDIUM
CVSS changed
May 01, 2026 - 05:22 NVD
7.3 (HIGH) 5.5 (MEDIUM)
CVE Published
May 01, 2026 - 03:30 nvd
MEDIUM 5.5

DescriptionCVE.org

A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This impacts an unknown function of the file /ajax.php?action=delete_customer. Executing a manipulation of the argument ID can lead to sql injection. The attack may be performed from remote. The exploit has been published and may be used.

Executive ViewAI

Why It Matters

SourceCodester Pharmacy Sales and Inventory System 1.0 contains an unauthenticated SQL injection vulnerability that allows attackers to extract, modify, or delete pharmacy data without credentials. Organizations running this system face immediate risk of data theft, inventory manipulation, and potential operational disruption, with exploit code publicly available. Urgent inventory and migration planning is required.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict network access to the application via firewall rules; (2) Deploy Web Application Firewall (WAF) rules to block or sanitize requests to /ajax.php with ID parameter injection patterns; (3) Implement reverse proxy authentication requiring credentials before reaching the application; (4) Monitor database transaction logs for unusual DELETE or SELECT queries; (5) Consider database-level read-only restrictions for non-administrative accounts. These controls reduce but do not eliminate risk-vendor patch or system replacement is mandatory.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Related Vulnerabilities in SourceCodester Pharmacy System SQL Injection

View all 2
CVE-2022-30407 CRITICAL POC
9.8 May 13

Pharmacy Sales And Inventory System v1.0 is vulnerable to SQL Injection via /pharmacy-sales-and-inventory-system/manage_

CVE-2026-10255 MEDIUM POC
5.5 Jun 01

Unauthenticated remote information disclosure in SourceCodester Pharmacy Sales and Inventory System 1.0 allows network-b

CVE-2026-8083 MEDIUM POC
5.5 May 07

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7199 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7194 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 exposes the `/ajax.php?action=save_product` endp

CVE-2026-7127 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,

CVE-2026-7126 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7088 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7087 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra

CVE-2026-6189 MEDIUM POC
5.5 Apr 13

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to extra

CVE-2026-6188 MEDIUM POC
5.5 Apr 13

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to execu

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy