Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed login.php over network
-
ExploitSubmit SQL metacharacters in username/password
-
ExecutionBreak out of authentication query
-
ImpactExtract or alter limited DB data / bypass auth
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 | The attacker needs network reachability to a deployed instance of code-projects POS Pharmacy System 1.0 and access to the login.php authentication form; injection occurs through the username or password parameters before authentication (PR:N), so no credentials or user interaction are required. Limiting factors: the product is a niche educational PHP application that is rarely deployed in production or exposed to the internet, impact is scoped to Low confidentiality/integrity/availability (no subsequent-system impact), and only version 1.0 is identified as affected. No non-default configuration or special feature toggle is cited as a prerequisite. |
| Impact | This is a textbook high-CVSS-category (SQL injection, CWE-89) but low-real-priority issue. The provided CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes an easy, remote, pre-authentication reach, but the impact metrics are all Low (VC:L/VI:L/VA:L, SC:N/SI:N/SA:N), yielding a Medium score of 5.5 - the scoring source (VulDB) assessed limited data exposure rather than full database compromise. The exploitation signals are weak-to-moderate and mutually consistent: EPSS is 0.37% (33rd percentile), there is NO CISA KEV listing (not actively exploited per available data), and the PoC is a reference only, not verified as working exploit code. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the modest EPSS and absence of confirmed exploitation. The dominant risk-lowering factor the raw CVSS cannot express is deployment footprint: code-projects POS Pharmacy System 1.0 is a small educational/demo PHP application with no meaningful production presence, so the practical attack surface is minimal. Net: low real-world priority despite the alarming SQLi label. |
| Exploit ScenarioDerived | A remote attacker submits crafted input in the username or password field of login.php, injecting SQL into the authentication query to extract or manipulate limited database content and potentially bypass login. A public PoC reference exists but is not verified as working exploit code, so a would-be attacker may need to reconstruct the payload. The low attack complexity (AC:L) and lack of required authentication (PR:N) mean any reachable instance can be probed trivially. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Unauthenticated SQL injection in the login form (login.php) of code-projects POS Pharmacy System 1.0 lets remote attackers manipulate the username or password parameters to alter the database query executed before any credentials are checked. Exploitation requires only network reachability to a deployed instance and access to the login page; the assessed CVSS:3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U with Low confidentiality, integrity and availability impact, and the supplier-supplied CVSS 4.0 score is 5.5. A public PoC reference exists (a GitHub advisory write-up); it is not verified as working exploit code, EPSS is low at 0.37% (33rd percentile), there is no CISA KEV listing, and the vuln.today priority decision is 'this_month' - real-world exposure is limited because this is a niche educational PHP application rarely deployed in production.
RemediationAI
No vendor-released patch identified at time of analysis: code-projects publishes this as an educational PHP mini-project rather than a maintained product with a versioned security release, and no fixed version appears in the advisory, EUVD or NVD data. Where the code is under the operator's control, the complete fix is to rewrite the login.php query to use parameterised/prepared statements (PDO or mysqli with bound parameters) and stop concatenating the username and password arguments into SQL; input validation alone is only a partial mitigation because it does not remove the injection sink. If the application must stay as-is, restrict exposure: bind the instance to localhost or an internal interface and place it behind a VPN or reverse proxy with authentication, which removes remote reachability at the cost of losing direct web access for legitimate users; alternatively deploy a WAF/reverse-proxy rule that detects SQL metacharacters and tautology patterns on login.php POST bodies, accepting that such signature filtering is bypassable and needs tuning to avoid blocking valid logins. Detection should focus on anomalous login.php requests and database error responses. Given the 'this_month' priority, low EPSS (0.37%) and no KEV listing, remediation can be scheduled rather than emergency-braked, and any deployment of this demo application on an internet-facing host should be retired or replaced rather than patched.
Affected VersionsENISA
Affected Packages
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
The affected component is a PHP web application, code-projects POS Pharmacy System 1.0, distributed as a learning/mini-project codebase; the CPE cpe:2.3:a:code-projects:pos_pharmacy_system confirms the vendor/product binding and the EUVD record lists only version 1.0. The root cause class is CWE-89 (SQL injection): in login.php the username and/or password arguments are incorporated into a database query without proper neutralisation, so crafted input changes the query's logic ahead of authentication. Because the vulnerable code path is the authentication form itself, the assessed vector is PR:N - no credentials or user interaction are needed, only reachability of the login endpoint. The sources do not describe the exact query construction, database backend, or the precise payload mechanics; the trigger beyond 'manipulation of the username/password argument in login.php' is not described in the available sources. Impact is scoped to the application's own database (S:U) with Low ratings across confidentiality, integrity and availability, and no downstream/secondary-system compromise is assessed.
Know when Pos Pharmacy 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
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
Remote, low-complexity, pre-auth injection on the login form (AV:N/AC:L/PR:N/UI:N); impacts kept Low per the source's limited-impact assessment rather than full database compromise.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability has been found in code-projects POS Pharmacy System 1.0. The impacted element is an unknown function of the file login.php. The manipulation of the argument username/password leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Pos Pharmacy System
View allMissing authorization in the main/deletecustomer.php endpoint of Pharmacy POS System 1.0 lets a remote attacker delete c
A weakness has been identified in code-projects POS Pharmacy System 1.0. Rated medium severity (CVSS 4.8), this vulnerab
EUVD-2026-139971
GHSA-pmr9-4cw3-q426
NVD
CVE.org
EPSS
VulDB
Exploit-DB