BaseDraftTop 25 #10
CWE-434Unrestricted Upload of File with Dangerous Type
Category: other
Description
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Common consequences· 1
- Integrity / Confidentiality / Availability — Execute Unauthorized Code or CommandsArbitrary code execution is possible if an uploaded file is interpreted and executed as code by the recipient. This is especially true for web-server extensions such as .asp and .php because these file types are often treated as automatically executable, even when file system permissions do not specify execution. For example, in Unix environments, programs typically cannot run unless the execute bit is set, but PHP programs may be executed by the web server without directly invoking them on the operating system.
Potential mitigations· 5
- [Architecture and Design]Generate a new, unique filename for an uploaded file instead of using the user-supplied filename, so that no external input is used at all.[REF-422] [REF-423]
- [Architecture and Design]When the set of acceptable objects, such as filenames or URLs, is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames or URLs, and reject all other inputs.
- [Architecture and Design]Consider storing the uploaded files outside of the web document root entirely. Then, use other mechanisms to deliver the files dynamically. [REF-423]
- [Implementation]
- [Architecture and Design]Define a very limited set of allowable extensions and only generate filenames that end in these extensions. Consider the possibility of XSS (CWE-79) before allowing .html or .htm file types.
Related CAPEC attack patterns· 1
References
Exploits (incoming)1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| AttackPattern | Accessing Functionality Not Properly Constrained by ACLscapec-1 | 100% | live |
Compliance frameworks addressing this (incoming)11
| Type | Target | Confidence | Tier |
|---|---|---|---|
| ComplianceControl | ai_act-art73 | 100% | live |
| ComplianceControl | iso27001-a.8.28 | 100% | live |
| ComplianceControl | dora-art6 | 100% | live |
| ComplianceControl | iso27001-a.8.29 | 100% | live |
| ComplianceControl | ai_act-art9 | 100% | live |
| ComplianceControl | nis2-art21d | 100% | live |
| ComplianceControl | cra-annexi-2 | 100% | live |
| ComplianceControl | nis2-art21b | 100% | live |
| ComplianceControl | pci_dss_v4-r5 | 100% | live |
| ComplianceControl | owasp_llm_top10-llm08 | 100% | live |
| ComplianceControl | cis_v8-2 | 100% | live |
(incoming)138
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-0213cve-2025-0213 | 0% | live |
| Vulnerability | CVE-2025-0335cve-2025-0335 | 0% | live |
| Vulnerability | CVE-2025-0341cve-2025-0341 | 0% | live |
| Vulnerability | CVE-2025-0357cve-2025-0357 | 0% | live |
| Vulnerability | CVE-2025-0394cve-2025-0394 | 0% | live |
| Vulnerability | CVE-2025-0402cve-2025-0402 | 0% | live |
| Vulnerability | CVE-2025-0463cve-2025-0463 | 0% | live |
| Vulnerability | CVE-2025-0471cve-2025-0471 | 0% | live |
| Vulnerability | CVE-2025-0702cve-2025-0702 | 0% | live |
| Vulnerability | CVE-2025-0928cve-2025-0928 | 0% | live |
| Vulnerability | CVE-2025-0984cve-2025-0984 | 0% | live |
| Vulnerability | CVE-2025-10041cve-2025-10041 | 0% | live |
| Vulnerability | CVE-2025-10083cve-2025-10083 | 0% | live |
| Vulnerability | CVE-2025-10085cve-2025-10085 | 0% | live |
| Vulnerability | CVE-2025-10147cve-2025-10147 | 0% | live |
| Vulnerability | CVE-2025-1028cve-2025-1028 | 0% | live |
| Vulnerability | CVE-2025-10398cve-2025-10398 | 0% | live |
| Vulnerability | CVE-2025-10412cve-2025-10412 | 0% | live |
| Vulnerability | CVE-2025-10424cve-2025-10424 | 0% | live |
| Vulnerability | CVE-2025-10425cve-2025-10425 | 0% | live |
| Vulnerability | CVE-2025-10427cve-2025-10427 | 0% | live |
| Vulnerability | CVE-2025-10428cve-2025-10428 | 0% | live |
| Vulnerability | CVE-2025-10447cve-2025-10447 | 0% | live |
| Vulnerability | CVE-2025-10465cve-2025-10465 | 0% | live |
| Vulnerability | CVE-2025-10480cve-2025-10480 | 0% | live |
| Vulnerability | CVE-2025-10600cve-2025-10600 | 0% | live |
| Vulnerability | CVE-2025-10615cve-2025-10615 | 0% | live |
| Vulnerability | CVE-2025-10616cve-2025-10616 | 0% | live |
| Vulnerability | CVE-2025-10647cve-2025-10647 | 0% | live |
| Vulnerability | CVE-2025-1070cve-2025-1070 | 0% | live |
Showing top 30 of 138 by confidence. Click any target to see the full neighbourhood.
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.