Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via phishing or brute force
-
DeliveryAuthenticate to /admin panel
-
ExploitCraft HTTP POST with PHP web shell as image payload
-
ExecutionUpload shell via /admin/addproduct.php image parameter
-
PersistRequest uploaded file URL to trigger execution
-
ImpactExecute arbitrary OS commands as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authentication to the admin panel is required - the CVSS PR:L (Low Privileges) vector confirms that a valid account with access to the /admin/ section must be obtained before exploitation is possible; unauthenticated remote exploitation is not supported by the available data. The vulnerable /admin/addproduct.php endpoint must be network-accessible, and the product image upload feature must be active (appears to be default functionality). For maximum impact (remote code execution via web shell), the web server must permit PHP or script execution within the upload directory - if execution is disabled in the upload path, the uploaded file can be stored but not triggered. SSVC Automatable: no is consistent with the authentication prerequisite limiting mass scanning attacks. The flaw affects only version 1.0 of the application; no other versions are confirmed affected. |
| Impact | The CVSS 4.0 base score of 2.1 (Low) with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L reflects network-reachable exploitation requiring low privilege and no user interaction, but with only partial confidentiality, integrity, and availability impact and no scope change to secondary systems. This low numerical score is potentially misleading for a CWE-434 flaw - unrestricted upload vulnerabilities routinely enable full remote code execution if upload directories permit script execution, which would imply higher real-world impact than the partial scoring suggests. SSVC rates Technical Impact as partial and Automatable as no, consistent with the authentication barrier (PR:L). EPSS at 0.04% (11th percentile) and absence from CISA KEV indicate low current exploitation probability, though the publicly available POC on GitHub lowers the barrier for opportunistic attackers. The discrepancy between the low CVSS score and the serious potential of CWE-434 should be noted: defenders should evaluate whether the actual server configuration permits PHP execution in the upload path, as that determines real-world severity. |
| Exploit ScenarioDerived | An attacker who has obtained valid low-privileged admin credentials - through phishing, credential stuffing, or brute force against the admin panel - navigates to /admin/addproduct.php and submits a product creation request with a PHP web shell renamed to bypass any client-side extension checks, uploading it via the image parameter. A public proof-of-concept demonstrating this exact technique is available at the GitHub gist referenced in the CVE. If the upload directory permits PHP execution, the attacker then requests the uploaded file's URL directly, gaining an interactive shell on the server under the web server process account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Unrestricted file upload in SourceCodester Simple POS and Inventory System 1.0 allows authenticated remote attackers to upload arbitrary files through the image argument of /admin/addproduct.php, potentially enabling web shell deployment and remote code execution. A publicly available proof-of-concept exploit exists (GitHub gist), and SSVC confirms exploitation: poc status. Despite the severe nature of CWE-434 unrestricted upload flaws, EPSS sits at 0.04% (11th percentile) and CISA has not added this to KEV, indicating limited observed exploitation in the wild at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - no fix version appears in any referenced source including VulDB, NVD, or the SourceCodester vendor site. Defenders should pursue compensating controls immediately. The highest-priority mitigation is configuring the web server (Apache or nginx) to deny execution of PHP and other scripting languages within the upload directory, which prevents uploaded web shells from being invoked even if malicious files are stored - this can be done via an .htaccess rule (Apache: 'php_flag engine off') or nginx location block with 'deny all' for script types. Restricting access to the /admin/ directory to known IP ranges or requiring VPN access eliminates remote exploitation entirely, at the cost of administrative flexibility. Additionally, implementing server-side MIME type and file extension validation to whitelist only safe image types (JPEG, PNG, GIF) before storage addresses the root cause. Monitor https://vuldb.com/vuln/365426 and https://www.sourcecodester.com/ for patch availability.
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 resides in a PHP-based point-of-sale and inventory management web application developed by SourceCodester, identified by CPE cpe:2.3:a:sourcecodester:simple_pos_and_inventory_system:*:*:*:*:*:*:*:*. CWE-434 (Unrestricted Upload of File with Dangerous Type) occurs when server-side code fails to validate or sanitize uploaded file extensions and MIME types before storing them. In this case, the /admin/addproduct.php endpoint processes a product image parameter without properly enforcing an allowlist of safe file types, permitting an attacker to submit PHP scripts or other executable content. If the web server is configured to execute scripts within the upload directory - a common misconfiguration - the attacker can subsequently trigger code execution by requesting the uploaded file's URL. The CVSS 4.0 E:P modifier confirms a working proof-of-concept has been published.
Know when Simple Pos 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 Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A flaw has been found in SourceCodester Simple POS and Inventory System 1.0. Impacted is an unknown function of the file /admin/addproduct.php of the component File Extension Handler. This manipulation of the argument image causes unrestricted upload. Remote exploitation of the attack is possible. The exploit has been published 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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
SQL injection in SourceCodester Simple POS and Inventory System 1.0 exposes the application to unauthenticated remote da
SQL injection in SourceCodester Simple POS and Inventory System 1.0 allows remote authenticated administrators to manipu
SQL injection in SourceCodester Simple POS and Inventory System 1.0 allows a remote, high-privileged (admin-level) attac
EUVD-2026-31656
GHSA-c697-c22x-55qg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB