CVE-2026-6187: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
CVE-2026-6187 is a medium severity SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1. 0. The issue arises from improper handling of the 'ID' parameter in the /ajax. php? action=chk_prod_availability endpoint, allowing remote attackers to inject SQL commands. Exploit code is publicly available, but no official patch or remediation guidance has been provided by the vendor as of the publication date.
AI Analysis
Technical Summary
This vulnerability affects SourceCodester Pharmacy Sales and Inventory System 1.0. It involves SQL injection via manipulation of the 'ID' argument in the /ajax.php?action=chk_prod_availability file. The vulnerability allows an unauthenticated remote attacker to execute arbitrary SQL commands due to insufficient input validation. The CVSS 4.0 base score is 6.9, indicating medium severity with network attack vector, low complexity, no privileges or user interaction required, and limited impact on confidentiality, integrity, and availability. No official fix or patch has been disclosed, and the exploit is publicly available.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary SQL queries on the backend database, potentially leading to unauthorized data access or modification. The impact is limited to the confidentiality, integrity, and availability of the affected system's database. There is no indication of privilege escalation or system-level compromise from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider implementing input validation or web application firewall (WAF) rules to block malicious SQL injection attempts targeting the 'ID' parameter in the affected endpoint. Monitor for updates from SourceCodester regarding patches or official mitigations.
CVE-2026-6187: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
Description
CVE-2026-6187 is a medium severity SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1. 0. The issue arises from improper handling of the 'ID' parameter in the /ajax. php? action=chk_prod_availability endpoint, allowing remote attackers to inject SQL commands. Exploit code is publicly available, but no official patch or remediation guidance has been provided by the vendor as of the publication date.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects SourceCodester Pharmacy Sales and Inventory System 1.0. It involves SQL injection via manipulation of the 'ID' argument in the /ajax.php?action=chk_prod_availability file. The vulnerability allows an unauthenticated remote attacker to execute arbitrary SQL commands due to insufficient input validation. The CVSS 4.0 base score is 6.9, indicating medium severity with network attack vector, low complexity, no privileges or user interaction required, and limited impact on confidentiality, integrity, and availability. No official fix or patch has been disclosed, and the exploit is publicly available.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary SQL queries on the backend database, potentially leading to unauthorized data access or modification. The impact is limited to the confidentiality, integrity, and availability of the affected system's database. There is no indication of privilege escalation or system-level compromise from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider implementing input validation or web application firewall (WAF) rules to block malicious SQL injection attempts targeting the 'ID' parameter in the affected endpoint. Monitor for updates from SourceCodester regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-13T08:36:25.268Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69dd138382d89c981f0e28df
Added to database: 4/13/2026, 4:02:11 PM
Last enriched: 4/13/2026, 4:17:06 PM
Last updated: 4/13/2026, 5:15:56 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.