目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CWE-434 危险类型文件的不加限制上传 类漏洞列表 2445

CWE-434 危险类型文件的不加限制上传 类弱点 2445 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-434 属于不安全的文件上传漏洞,指系统允许上传并自动处理危险类型的文件。攻击者通常利用此缺陷上传恶意脚本或可执行文件,进而通过服务器自动执行功能获取系统控制权或植入后门。开发者应避免仅依赖文件扩展名验证,需结合内容检测、白名单机制及隔离存储策略,严格限制可上传的文件类型,从而有效阻断此类攻击路径。

MITRE CWE 官方描述
CWE:CWE-434 不受限制的危险类型文件上传 英文:该产品允许上传或传输危险的文件类型,这些文件会在其环境中被自动处理。
常见影响 (1)
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
Arbitrary 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 spec…
缓解措施 (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 Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
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.
代码示例 (2)
The following code intends to allow a user to upload a picture to the web server. The HTML code that drives the form on the user end has an input field of type "file".
<form action="upload_picture.php" method="post" enctype="multipart/form-data"> Choose a file to upload: <input type="file" name="filename"/> <br/> <input type="submit" name="submit" value="Submit"/> </form>
Good · HTML
// Define the target location where the picture being // uploaded is going to be saved. $target = "pictures/" . basename($_FILES['uploadedfile']['name']); // Move the uploaded file to the new location. if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target)) { echo "The picture has been successfully uploaded."; } else { echo "There was an error uploading the picture, please try again."; }
Bad · PHP
The following code demonstrates the unrestricted upload of a file with a Java servlet and a path traversal vulnerability. The action attribute of an HTML form is sending the upload file request to the Java servlet.
<form action="FileUploadServlet" method="post" enctype="multipart/form-data"> Choose a file to upload: <input type="file" name="filename"/> <br/> <input type="submit" name="submit" value="Submit"/> </form>
Good · HTML
public class FileUploadServlet extends HttpServlet { ... protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); String contentType = request.getContentType(); // the starting position of the boundary header int ind = contentType.indexOf("boundary="); String boundary = contentType.substring(ind+9); String pLine = new String(); String uploadLocation = new String(UPLOAD_DIRECTORY_STRING); //Constant value // verify that content type is multipart form data i
Bad · Java
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-16889 应用登录前图片上传存储型 XSS 漏洞 — openEQUELLA 4.8 Medium 2026-10-29
CVE-2026-67073 HCL BigFix AEX 多个安全漏洞 — BigFix AEX 8.6 High 2026-10-28
CVE-2026-109218 Contact Manager 9.1.2 远程文件上传漏洞 — Contact Manager 9.8 Critical 2026-10-28
CVE-2026-109384 Innovative Form Builder 1.5.1 任意文件上传漏洞 — The Innovative Form Builder – IvyForms 8.8 High 2026-10-28
CVE-2026-111255 Affiliate Toolkit 3.9.2 任意文件上传漏洞 — affiliate-toolkit – Multi-Network Affiliate & Amazon Product Display 7.5 High 2026-10-28
CVE-2026-84999 Pie Register Premium 3.8.4.0 未认证文件上传漏洞 — Pie Register Premium 9.8 Critical 2026-10-28
CVE-2026-117607 Xerte Online Toolkits 3.15.5 语言包导入远程代码执行漏洞 — xerteonlinetoolkits 7.2 High 2026-10-28
CVE-2014-125138 qEngine CMS 等三款软件文件上传漏洞 — qEngine CMS 8.8 High 2026-10-28
CVE-2026-117512 php-travel-agency-system 员工上传未限制漏洞 — php-travel-agency-system 7.3 High 2026-10-27
CVE-2026-4337 PuMuKIT 应用不受限制的文件上传漏洞 — PuMuKIT 8.8 High 2026-10-27
CVE-2026-116603 SourceCodester 在线订餐系统 add_food.php 任意文件上传 — Online Food Ordering System 4.7 Medium 2026-10-26
CVE-2026-115188 Mautic 7 活动导入未限制文件上传致远程代码执行 9.9 Critical 2026-10-26
CVE-2026-116236 Oray Pugongying X5 Pro 插件初始化任意文件上传漏洞 — Pugongying X5 Pro 7.2 High 2026-10-26
CVE-2026-116113 GouGuOA Api.php 文件上传漏洞 — GouGuOA 6.3 Medium 2026-10-26
CVE-2026-116057 KodExplorer 任意文件上传漏洞 — KodExplorer 6.3 Medium 2026-10-25
CVE-2026-116044 TinyFileManager 远程文件上传漏洞 — TinyFileManager 6.3 Medium 2026-10-25
CVE-2026-115481 baserCMS BcCustomContent 任意文件上传漏洞 — basercms 8.5 High 2026-10-23
CVE-2026-54630 Part-DB 认证远程代码执行漏洞 — Part-DB-server 9.6 Critical 2026-10-23
CVE-2026-102785 Joomla YOOtheme Pro 5.0.0-5.0.55 未授权远程代码执行漏洞 — YOOtheme Pro extension for Joomla 10.0 Critical 2026-10-22
CVE-2026-114262 文件管理系统 FileController.php 不受限制上传漏洞 — file-management-system 7.3 High 2026-10-21
CVE-2026-114259 oretnom23 文件管理系统 任意文件上传漏洞 — file-management-system-php 7.3 High 2026-10-21
CVE-2026-111832 WordPress WP Mailster <= 1.9.1.0 任意文件上传漏洞 — WP Mailster 10.0 Critical 2026-10-21
CVE-2026-111834 WordPress Mang Board 2.4.4 任意文件上传漏洞 — Mang Board WP 9.9 Critical 2026-10-21
CVE-2026-114398 Trudesk 1.2.11 未限制文件上传漏洞 — trudesk 5.4 Medium 2026-10-21
CVE-2026-87800 IBM Cyber Fraud 组件存在多个已知漏洞 — Cyber Fraud 6.8 Medium 2026-10-20
CVE-2026-113393 DrayTek Vigor2960 任意文件上传漏洞 — Vigor2960 6.3 Medium 2026-10-20
CVE-2026-113382 arizu-id fast-tunnel 插件安装程序任意文件上传漏洞 — fast-tunnel 6.3 Medium 2026-10-20
CVE-2026-107188 Eptura Archibus 任意文件上传导致远程代码执行漏洞 — Archibus 9.6 Critical 2026-10-19
CVE-2026-112149 vraj404 犯罪管理系统 任意文件上传漏洞 — Criminal-Management-System 7.3 High 2026-10-19
CVE-2026-111406 WordPress MapSVG 8.16.1 任意文件上传漏洞 — MapSVG 9.9 Critical 2026-10-19

CWE-434(危险类型文件的不加限制上传) 是常见的弱点类别,本平台收录该类弱点关联的 2445 条 CVE 漏洞。