Document Management System
CVE-2025-8171
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid DMS user credentials
-
DeliveryAuthenticate to DMS
-
ExploitCraft malicious PHP file with document extension
-
InstallPOST to /insert.php with crafted uploaded_file parameter
-
C2Server stores file in accessible location
-
ExecuteAccess uploaded PHP file via HTTP
-
ImpactExecute arbitrary code as web user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires valid authentication credentials (PR:L in CVSS vector confirms authenticated access is mandatory). The attacker must have access to the upload functionality, typically restricted to registered users or document managers. No special system configuration is explicitly required beyond a standard PHP-based deployment of Document Management System 1.0. The vulnerability does NOT affect unauthenticated visitors. Exploitation is limited by the default file upload permissions and server-side execution policy; if the upload directory has PHP execution disabled by the administrator, file upload alone will not achieve code execution. |
| Impact | CVSS 4.0 vector (AV:N/AC:L/PR:L) indicates network-accessible vulnerability requiring low complexity but authenticated access (PR:L), with limited confidentiality, integrity, and availability impact (VC:L/VI:L/VA:L). EPSS 0.06% (17th percentile) signals very low exploitation probability despite public POC availability, suggesting the vulnerability requires specific deployment conditions or low practical incentive for attackers. The authenticated prerequisite significantly reduces real-world risk compared to unauthenticated file upload flaws. Discrepancy noted: CVE description classifies as 'critical' but CVSS score 2.1 and EPSS 0.06% indicate low priority - this classification mismatch suggests the reporter may have misunderstood severity ratings; actual risk appears limited to authenticated users with upload privileges in relatively isolated document management instances. |
| Exploit ScenarioDerived | An authenticated user with document upload privileges crafts a POST request to /insert.php with a malicious PHP shell disguised as a document by manipulating the uploaded_file parameter to contain executable code. The server accepts and stores the PHP file in a web-accessible directory. The attacker accesses the uploaded PHP file via HTTP, triggering code execution on the server with the privileges of the web application user, enabling full system compromise or lateral movement. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Unrestricted file upload in code-projects Document Management System 1.0 via the /insert.php endpoint allows authenticated remote attackers to upload arbitrary files by manipulating the uploaded_file parameter, potentially enabling remote code execution or data exfiltration. Publicly available exploit code exists, though EPSS score of 0.06% suggests limited real-world exploitation likelihood due to low attack impact and authenticated access requirement.
RemediationAI
Apply a patched version from the vendor if available via https://code-projects.org/. If no vendor patch is released, immediately implement server-side file type validation by maintaining a whitelist of allowed file extensions (e.g., .pdf, .docx, .txt) and verifying MIME types server-side rather than relying on user-supplied headers. Rename uploaded files to remove executable extensions and store them outside the web root to prevent direct access. Restrict write permissions on the upload directory to prevent PHP/CGI execution by configuring the web server (Apache: php_flag engine off; nginx: deny .php execution in upload path). Additionally, implement rate limiting on /insert.php to mitigate automated exploitation, and audit existing uploads for suspicious files. If unavoidable, restrict access to /insert.php to specific IP ranges or require additional authentication factors.
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 resides in the /insert.php file of Document Management System 1.0, which handles file uploads. The uploaded_file parameter lacks proper validation or restrictions on file types, sizes, or naming conventions, permitting attackers to bypass intended upload controls. CWE-284 (Improper Access Control) indicates the root cause is inadequate authorization checks or missing file type validation. The PHP-based application processes user-supplied file input without sanitization or server-side enforcement of allowed file extensions or MIME types.
Know when Document Management 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
DescriptionCVE.org
A vulnerability, which was classified as critical, has been found in code-projects Document Management System 1.0. This issue affects some unknown processing of the file /insert.php. The manipulation of the argument uploaded_file leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public 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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)CVE.org
More in Document Management System
View allSQL injection in itsourcecode Document Management System 1.0 login functionality allows unauthenticated remote attackers
SQL injection in itsourcecode Document Management System 1.0 via the field1 parameter in /edtlbls.php enables unauthenti
Document Management System versions up to 1.0 contains a vulnerability that allows attackers to sql injection (CVSS 7.3)
SQL injection in itsourcecode Document Management System 1.0 via the Username parameter in /register.php allows unauthen
A vulnerability has been found in itsourcecode Document Management System 1.0 and classified as critical. Rated medium s
A vulnerability was found in code-projects Document Management System 1.0 and classified as critical.php. Rated medium s
Unauthenticated attackers can manipulate unvalidated URL parameters in S4core, Document Management System, and ERP appli
Document Management System versions up to 600 is affected by url redirection to untrusted site (open redirect) (CVSS 6.1
code-projects Document Management System 1.0 has a Cross Site Scripting (XSS) vulnerability, where attackers can leak ad
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB