Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege user credentials
-
DeliveryAuthenticate to Online Shopping System
-
ExploitSend crafted HTTP request to /homeaction.php with injected cat_id payload
-
ExecutionTrigger unsanitized SQL execution
-
ImpactExtract or manipulate backend database contents
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 a valid low-privilege authenticated session on the Online Shopping System, as indicated by PR:L in the CVSS 4.0 vector - unauthenticated anonymous exploitation is not confirmed by available data. The attacker must be able to send HTTP GET or POST requests to /homeaction.php with a controllable cat_id parameter. No special non-default configuration, feature flag, or deployment mode is required; the vulnerability exists in the default application as shipped in version 1.0. Limiting factors: the PR:L constraint means an attacker must first obtain user credentials or a valid session before exploiting; the application must be network-accessible (AV:N); and impact is bounded to the immediate database system with no confirmed scope change to subsequent systems (SC:N/SI:N/SA:N). |
| Impact | The CVSS 4.0 score of 2.1 is strikingly low for a network-accessible SQL injection with a public exploit. This is primarily driven by the PR:L constraint (low-privilege authentication required) and limited CIA impact metrics (all rated L in VC/VI/VA with no subsequent-system impact SC:N/SI:N/SA:N). The E:P threat metric (proof-of-concept exists) has already been factored into the 2.1 score, which in CVSS 4.0 reduces the score relative to the no-exploit baseline. No EPSS score was provided, so probabilistic exploitation likelihood cannot be quantified. KEV status is negative - no confirmed active exploitation at time of analysis. Practitioners should note that CVSS 4.0 impact ratings of 'L' for SQL injection can understate real-world data exfiltration risk: automated tooling (e.g., sqlmap) can extract full database schemas and credentials from low-rated SQLi endpoints. For any organization running this software in a production context, the practical risk of credential/data theft exceeds what the score conveys. The PR:L floor limits opportunistic unauthenticated mass exploitation. |
| Exploit ScenarioDerived | An attacker with a low-privilege account on the Online Shopping System sends a crafted HTTP request to /homeaction.php with a SQL-injected value in the cat_id parameter (e.g., appending a UNION SELECT or Boolean-based payload). Because the value is interpolated directly into a SQL query, the injected clause executes against the backend database, enabling enumeration of tables, extraction of user credentials, or data manipulation. The public GitHub POC documents the exact request structure, meaning no advanced SQL injection skill is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 16, 2026
SQL injection in the cat_id parameter of /homeaction.php in code-projects Online Shopping System 1.0 exposes the backend database to remote attackers holding low-privilege authenticated sessions. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L) confirms low-complexity network exploitation with a public proof-of-concept documented on GitHub, lowering the skill bar for abuse. Successful exploitation yields limited read, write, and availability impact against the application's database; no public active exploitation (KEV) has been confirmed.
RemediationAI
No vendor-released patch has been identified at time of analysis for code-projects Online Shopping System 1.0. The definitive fix is to refactor /homeaction.php to use parameterized queries or PHP PDO/MySQLi prepared statements for the cat_id parameter, eliminating the injection vector entirely. As an interim compensating control, apply strict server-side input validation on cat_id enforcing a numeric-only whitelist (e.g., ctype_digit()), which reduces but does not eliminate risk if the validation is bypassable. A Web Application Firewall rule targeting SQL metacharacter patterns on requests to /homeaction.php can further impede exploitation but adds operational overhead and can produce false positives. Where feasible, restrict access to the application to trusted internal networks to remove the network attack surface. The public POC at https://github.com/zzzxc643/CVE1/blob/main/online-shopping-system/vul3.md should be used to validate the effectiveness of any applied mitigations.
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 /homeaction.php in code-projects Online Shopping System 1.0, a PHP-based web application distributed through code-projects.org as a demo/educational project. The cat_id request parameter is interpolated directly into a backend SQL query without sanitization, parameterization, or prepared-statement protection. This maps to CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - Injection), the parent class encompassing SQL injection: attacker-controlled input structurally alters the intended SQL query, allowing query logic manipulation. No CPE string was supplied in the intelligence data; the only confirmed version is 1.0.
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 PHP endpoint, low complexity, PR:L because authenticated session is required; limited and scoped CIA impact consistent with a contained SQL injection in a small application.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was identified in code-projects Online Shopping System 1.0. Affected by this vulnerability is an unknown functionality of the file /homeaction.php. Such manipulation of the argument cat_id leads to sql injection. It is possible to launch the attack remotely. The exploit is publicly available and might 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.
Related Vulnerabilities in Online Shopping System Injection and XSS Flaws
View all 5In 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-59811
GHSA-4r63-9hmp-wx4v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB