Skip to main content

Document Management System CVE-2025-8171

LOW
Improper Access Control (CWE-284)
2025-07-25 cna@vuldb.com
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain valid DMS user credentials
  2. Delivery
    Authenticate to DMS
  3. Exploit
    Craft malicious PHP file with document extension
  4. Install
    POST to /insert.php with crafted uploaded_file parameter
  5. C2
    Server stores file in accessible location
  6. Execute
    Access uploaded PHP file via HTTP
  7. Impact
    Execute 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 83% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:fabian:document_management_system:1.0:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy