Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege application account
-
DeliveryCraft malicious orderBy/orderFormat HTTP parameter
-
ExploitSend request to Transaction::getAll endpoint
-
ExecutionSQL payload executes in database context
-
ImpactExfiltrate or tamper with database records
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 | Exploitation requires a valid low-privilege authenticated session on the target Mini-Inventory-and-Sales-Management-System instance (PR:L per the CVSS 4.0 source vector). The attacker must be able to send HTTP requests to the transaction listing endpoint that invokes Transaction::getAll, meaning the web application must be network-accessible and the attacker must hold at minimum a standard user-level account. No special server-side configuration beyond a default installation is required. Exploitation is limited to the vulnerable system's database (VC:L/VI:L/VA:L) - no scope change to subsequent systems is indicated. Factors limiting exploitation: an attacker without credentials cannot exploit this remotely; the project's extremely low deployment footprint means the exposed population is small; and the relatively low impact metrics (L/L/L) suggest partial rather than full database compromise. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P) yields a score of 5.3 (Medium), reflecting network exploitability with low-complexity attack requirements but constrained by required low-privilege authentication and limited blast radius (partial data read/write, no subsequent-system scope change). The E:P supplemental metric confirms proof-of-concept code is publicly available, directly lowering the attacker skill threshold. No EPSS score was provided in source data - exploitation probability cannot be quantified from this dataset. KEV status is absent, meaning active widespread exploitation is not confirmed. The combination of no patch, public POC, and no vendor response increases the practical risk to any running instance, though the niche/rare deployment footprint of this hobby-grade project sharply limits the overall attack surface. This is a genuine priority for any organization actually using this software, but not a broad ecosystem threat. |
| Exploit ScenarioDerived | An attacker with a low-privilege user account logs into the Mini-Inventory-and-Sales-Management-System web interface and submits a crafted HTTP request to the transaction listing endpoint, injecting a UNION-based or error-based SQL payload via the orderBy parameter to extract data from sensitive tables such as user credentials or financial records. A public proof-of-concept is available via GitHub issue #101, making this attack reproducible by low-skill threat actors without requiring custom exploit development. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
SQL injection in amirsanni Mini-Inventory-and-Sales-Management-System 0.1 allows authenticated remote attackers to manipulate the orderBy and orderFormat parameters of the Transaction::getAll function to inject arbitrary SQL and read or modify database contents. The project maintainer has not responded to responsible disclosure, leaving the vulnerability unpatched. A public exploit exists via GitHub issue #101; no confirmed active exploitation (not in CISA KEV), but the low bar for exploitation given POC availability elevates near-term risk for any deployed instances.
RemediationAI
No vendor-released patch identified at time of analysis - the project maintainer has not responded to the disclosure filed as GitHub issue #101. As immediate compensating controls: restrict or disable access to the transaction listing and reporting endpoints via web server ACLs or firewall rules, blocking unauthorized users from reaching the vulnerable Transaction::getAll code path. Deploy a WAF rule to reject or sanitize ORDER BY injection patterns (e.g., SQL keywords, semicolons, comment sequences) in the orderBy and orderFormat query parameters - note this may produce false positives if legitimate sort parameters include special characters. For organizations with development capacity, the most durable fix is to fork the repository and rewrite the Transaction::getAll method in application/models/Transaction.php to use a strict whitelist of permitted column names and sort directions before constructing the SQL query, replacing dynamic string interpolation. If the system cannot be patched or isolated, consider decommissioning it in favor of a maintained inventory platform.
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 product is a PHP-based web inventory and sales management system (CPE: cpe:2.3:a:amirsanni:mini-inventory-and-sales-management-system:*:*:*:*:*:*:*:*) following a custom MVC pattern. The vulnerable code resides in application/models/Transaction.php within the Transaction::getAll method, which dynamically constructs SQL ORDER BY clauses using user-supplied orderBy and orderFormat HTTP parameters without sanitization or parameterized query binding. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) identifies the root cause: ORDER BY clauses are a well-known blind spot for parameterized queries because SQL does not support binding column names or sort directions as parameters - developers must manually whitelist or escape these values, which this project fails to do.
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
Network-reachable via HTTP with low complexity; PR:L reflects required authenticated session per CVSS 4.0 source; no scope change and limited partial impact across C/I/A.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in amirsanni Mini-Inventory-and-Sales-Management-System 0.1. Affected is the function Transaction::getAll of the file application/models/Transaction.php. Performing a manipulation of the argument orderBy/orderFormat results in sql injection. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
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.
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
EUVD-2026-63188
GHSA-w9cf-gwfc-2v2x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB