Web-Based Inventory and POS System
CVE-2025-11431
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid system credentials
-
DeliveryAuthenticate to application
-
ExploitCraft malicious shopid parameter with SQL syntax
-
ExecutionSubmit request to /transaction.php
-
PersistExecute injected SQL query
-
ImpactExtract or modify transaction data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires valid authenticated user credentials to access the Web-Based Inventory and POS System; unauthenticated remote attackers cannot exploit this vulnerability. The vulnerable /transaction.php endpoint must be accessible over the network (default-enabled in most web application deployments). The shopid parameter must be present in the transaction request and passed to SQL query construction without sanitization. No non-default configuration or special deployment mode is required - the vulnerability exists in the standard version 1.0 codebase. Limiting factors include the authentication barrier (PR:L in CVSS), which restricts exploitation to users with system access, and the constrained scope of SQL injection impact due to likely restricted database privileges, preventing server-level compromise or escalation to operating system access. |
| Impact | The risk profile presents a notable disconnect between raw CVSS score (2.1) and real-world exploitability. EPSS score of 0.03% (8th percentile) indicates very low statistical likelihood of exploitation attempts, despite publicly available exploit code. The critical limiting factor is the PR:L (requires authenticated user) component of the CVSS vector - an attacker must possess valid application credentials to exploit the SQL injection. The VC:L, VI:L, VA:L impact ratings indicate the SQL injection has limited reach: data confidentiality, integrity, and availability are affected only in a constrained scope, suggesting the database account running application queries has restricted privileges. The combination of authentication requirement, public exploit availability, and the fact that this is version 1.0 of a lesser-known system deployed in limited environments suggests exploitation remains highly unlikely in aggregate. However, organizations running this POS system face elevated insider threat risk - authenticated users (staff, managers) with system access could leverage the SQL injection to exfiltrate transaction data or corrupt business records. The low EPSS despite public POC indicates the threat is targeted rather than widespread, consistent with niche legacy software. |
| Exploit ScenarioDerived | An authenticated staff member or manager with legitimate system login credentials identifies the SQL injection in the shopid parameter and crafts a malicious POST or GET request to /transaction.php that injects SQL code (e.g., shopid=' OR '1'='1) to extract sensitive transaction records, including customer payment information or sales data. The public GitHub exploit (github.com/asd1238525/cve/blob/main/SQL7.md) provides a ready-made payload that the attacker can copy and use directly, requiring minimal technical effort. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in code-projects Web-Based Inventory and POS System 1.0 allows authenticated remote attackers to execute arbitrary SQL queries via the shopid parameter in /transaction.php, resulting in limited data confidentiality, integrity, and availability impact. The CVSS 2.1 score reflects low severity due to authentication requirement and constrained scope, but publicly available exploit code exists and the vulnerability has been publicly disclosed.
RemediationAI
Contact the vendor at code-projects.org to inquire about patched releases or upgrade guidance; no vendor-released patch version is currently identified. Until a vendor patch is available, implement the following compensating controls: restrict database user account permissions to execute only SELECT queries on necessary tables and deny CREATE, DROP, ALTER, or DELETE privileges, limiting the scope of SQL injection impact; implement Web Application Firewall (WAF) rules to detect and block SQL syntax patterns in the shopid parameter (watch for single quotes, UNION, SELECT, OR 1=1, etc.); enforce strong access controls to limit system authentication to trusted staff only, reducing the window of insider threat exploitation; and consider disabling the /transaction.php endpoint if its functionality is not critical, reverting to alternative transaction logging mechanisms. Each mitigation has trade-offs: WAF rules may produce false positives if legitimate data contains SQL-like strings; restricting database permissions requires application testing to ensure no legitimate queries fail; limiting authentication access may impact operational efficiency.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in /transaction.php, a PHP web application component, where user-supplied input from the shopid parameter is not properly sanitized before being incorporated into SQL queries. This represents improper neutralization of special elements used in an SQL command (CWE-74), a subset of SQL injection attacks. The web-based inventory and point-of-sale system likely passes the shopid parameter directly to database queries without parameterized statement use or input validation, enabling SQL syntax injection. The application architecture involves PHP backend processing HTTP requests and executing database operations, typical of lightweight e-commerce or retail management platforms.
Know when PHP 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:L/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
DescriptionCVE.org
A vulnerability was determined in code-projects Web-Based Inventory and POS System 1.0. The impacted element is an unknown function of the file /transaction.php. This manipulation of the argument shopid causes sql injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
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.
Affected Products (CPE)CVE.org
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB