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. |
| Impact | The CVSS 6.3 score reflects moderate risk with specific concerning factors: the attack vector is network-based (AV:N), requires low complexity (AC:L), and demands low privileges (PR:L), indicating a relatively straightforward exploitation path for authenticated users. The CVSS vector shows confidentiality, integrity, and availability impacts are all present (C:L/I:L/A:L). The evidence parameter (E:P) indicates public exploit availability, significantly elevating practical risk. A GitHub proof-of-concept URL is publicly accessible (https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-UpdateCustomerDetails-sid.md), confirming reproducible exploitation. The requirement for prior authentication (PR:L) somewhat limits attack surface compared to unauthenticated SQL injection, but this remains a significant priority as authenticated users are typically common in business inventory systems. The combination of public POC, disclosed exploit code, and straightforward attack complexity makes this a real and immediate threat requiring prompt remediation. |
| Exploit ScenarioDerived | An authenticated user (requiring valid credentials to access the system per PR:L requirement) crafts a malicious HTTP GET request to update_customer_details.php with a specially crafted 'sid' parameter containing SQL injection payload, such as '1 OR 1=1--' or UNION-based queries. The vulnerable PHP code directly concatenates this user input into a SQL query without sanitization, allowing the attacker to extract sensitive customer data, modify records, or potentially achieve database compromise. The public GitHub proof-of-concept provides ready-made attack payloads, substantially lowering the barrier to exploitation for attackers with system access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 24, 2026
SQL injection in SourceCodester Sales and Inventory System 1.0 via the sid parameter in update_customer_details.php allows authenticated remote attackers to execute arbitrary SQL commands. Public exploit code exists for this vulnerability, and no patch is currently available. Affected organizations using PHP-based deployments of this system should restrict access to the vulnerable component until a fix is released.
Earlier versions of this analysis (1)
A SQL injection vulnerability exists in SourceCodester Sales and Inventory System version 1.0 within the update_customer_details.php file, specifically in the HTTP GET parameter 'sid'. An authenticated attacker can manipulate this parameter to execute arbitrary SQL queries, potentially allowing unauthorized data access, modification, or deletion. A public proof-of-concept exploit is available on GitHub, and the vulnerability has CVSS 6.3 severity with evidence of public disclosure.
RemediationAI
The primary remediation is to upgrade SourceCodester Sales and Inventory System to a patched version released after this disclosure; check the vendor website at https://www.sourcecodester.com/ for available updates. Immediate mitigation pending patches includes implementing parameterized queries or prepared statements for all database interactions, particularly in update_customer_details.php, and enforcing strict input validation on the 'sid' parameter using whitelist validation. Additionally, restrict database user permissions to the minimum required scope, implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in GET parameters, and isolate the application behind a reverse proxy with HTTPS enforcement. Monitor database query logs for suspicious activity patterns indicative of exploitation attempts.
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 vulnerability is a classic SQL injection flaw (CWE-89) in a PHP-based web application. The update_customer_details.php component fails to properly sanitize or parameterize the 'sid' HTTP GET parameter before incorporating it into SQL queries. According to CPE designation (cpe:2.3:a:sourcecodester:sales_and_inventory_system:*:*:*:*:*:*:*:*), this affects the Sales and Inventory System product line. The root cause is insufficient input validation on user-controlled parameters passed directly to database query construction, a fundamental PHP/web application security flaw that bypasses database access controls.
Know when Sales And Inventory 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A security vulnerability has been detected in SourceCodester Sales and Inventory System 1.0. This issue affects some unknown processing of the file update_customer_details.php of the component HTTP GET Parameter Handler. Such manipulation of the argument sid leads to sql injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.
Executive ViewAI
Organizations using A security vulnerability should be aware of moderate risk from CVE-2026-4779, a SQL injection vulnerability rated CVSS 5.3. Exploitation could allow attackers to execute code or inject malicious input. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.
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 Sales And Inventory System
View allSQL injection vulnerability in SourceCodester Sales and Inventory System v 1.0 allows remote attackers to execute arbitr
A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium severity
A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical.php. Rated medium sever
A vulnerability has been found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium seve
Reflected cross-site scripting (XSS) in SourceCodester Sales and Inventory System 1.0 allows remote attackers to inject
SQL injection in itsourcecode Sales and Inventory System 1.0 exposes the login endpoint to unauthenticated remote exploi
A vulnerability, which was classified as critical, was found in Campcodes Sales and Inventory System 1.0. Rated medium s
CVE-2025-7538 is a critical unrestricted file upload vulnerability in Campcodes Sales and Inventory System version 1.0,
SQL injection in Campcodes Sales and Inventory System 1.0 allows remote attackers to execute arbitrary SQL commands via
CVE-2025-6311 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0 affecting th
A security vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
SQL injection in Campcodes Sales and Inventory System 1.0 allows remote unauthenticated attackers to inject malicious SQ
EUVD-2026-15029
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB