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

目标: 1000 元 · 已筹: 1336

100%

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

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

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

MITRE CWE 官方描述
CWE:CWE-434 不受限制的危险类型文件上传 英文:该产品允许上传或传输危险的文件类型,这些文件会在其环境中被自动处理。
常见影响 (1)
Integrity, Confidentiality, AvailabilityExecute 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 DesignGenerate 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 DesignWhen 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 DesignConsider storing the uploaded files outside of the web document root entirely. Then, use other mechanisms to deliver the files dynamically. [REF-423]
ImplementationAssume 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 DesignDefine 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-19383 saigroup SaiAdmin 插件上传端点未限制上传漏洞 — SaiAdmin 4.7 Medium2026-08-10
CVE-2026-19210 SourceCodester Photo Share ajax.php 上传漏洞 — Photo Share Website 6.3 Medium2026-08-07
CVE-2022-4995 泛微 E-cology 9.0 uploaderOperate.jsp 文件上传导致远程代码执行 — E-cology 9.0 9.8 Critical2026-08-07
CVE-2026-71434 Statamic CMS 任意文件上传漏洞 — cms 5.3 Medium2026-08-06
CVE-2026-70558 Dinky 未授权任意文件写入漏洞 — Dinky 9.8 Critical2026-08-06
CVE-2026-19065 SourceCodester Online Examination & Learning Management System 权限许可和访问控制问题漏洞 — Online Examination & Learning Management System 6.3 Medium2026-08-06
CVE-2026-3418 WSO2 API Manager 任意文件上传漏洞 — WSO2 API Manager 9.1 Critical2026-08-06
CVE-2026-66665 WordPress Type Hub插件<=2.0.6任意文件上传漏洞 — Type Hub 10.0 Critical2026-08-06
CVE-2026-18969 Rongzhitong Visual Integrated Command and Dispatch Platform 权限许可和访问控制问题漏洞 — Visual Integrated Command and Dispatch Platform 7.3 High2026-08-05
CVE-2026-18927 MD. Imran Hossen Student Management System 权限许可和访问控制问题漏洞 — Student-Management-System 6.3 Medium2026-08-05
CVE-2026-18933 WordPress WP-DownloadManager 任意文件上传漏洞 — wp-downloadmanager 7.2 High2026-08-05
CVE-2026-54416 Pluck CMS 任意文件上传漏洞 — Pluck CMS 7.2 High2026-08-05
CVE-2026-6147 WordPress LightSync Pro 任意文件上传漏洞 — LightSync Pro – Connect & Sync Cloud Assets | Lightroom, Canva, Figma, Dropbox & Shutterstock 8.8 High2026-08-05
CVE-2026-18788 Alberto Peripolli Responsive FileManager 权限许可和访问控制问题漏洞 — ResponsiveFilemanager 7.3 High2026-08-04
CVE-2026-14175 Bilin Software and Informatics Consultancy HUMANIST Digital Human Resources 任意文件上传漏洞 — HUMANIST Digital Human Resources 9.8 Critical2026-08-04
CVE-2026-67243 refirio freo2 任意文件上传漏洞 — freo2 8.6 High2026-08-04
CVE-2026-61524 WebsiteBaker CMS 任意文件上传漏洞 — WebsiteBaker CMS 7.2 High2026-08-03
CVE-2026-39931 OpenEMR 任意文件上传漏洞 — openemr 7.2 High2026-08-03
CVE-2026-53599 REDAXO 任意文件上传漏洞 — core 7.5 High2026-07-31
CVE-2026-21662 Johnson Controls FM Systems Employee 任意文件上传漏洞 — FM Systems Employee 4.8 Medium2026-07-31
CVE-2026-14483 Realtyna Organic IDX/WPL <=5.2.0 未认证文件上传漏洞 — Realtyna Organic IDX plugin + WPL Real Estate 9.8 Critical2026-07-31
CVE-2026-16236 WordPress Realtyna Organic IDX plugin + WPL Real Estate 任意文件上传漏洞 — Realtyna Organic IDX plugin + WPL Real Estate 8.8 High2026-07-31
CVE-2026-63223 CodeIgniter is_image和mime_in规则绕过上传文件扩展名验证漏洞 — CodeIgniter4 9.8 Critical2026-07-31
CVE-2026-67206 Wolf CMS 0.8.3.1 文件管理控制器远程代码执行漏洞 — wolfcms 8.8 High2026-07-30
CVE-2026-44103 PHOENIX CONTACT CHARX SEC-3150 任意文件上传漏洞 — CHARX SEC-3150 5.3 Medium2026-07-30
CVE-2026-44097 PHOENIX CONTACT CHARX SEC-3150 任意文件上传漏洞 — CHARX SEC-3150 7.1 High2026-07-30
CVE-2026-16610 ASE Admin and Site Enhancements Pro 任意文件上传漏洞 — Admin and Site Enhancements (ASE) Pro 9.8 Critical2026-07-30
CVE-2026-65885 Balbooa Gridbox extension for Joomla 任意文件上传漏洞 — Gridbox extension for Joomla 9.4 Critical2026-07-29
CVE-2026-14270 WordPress Extra Checkout Options 任意文件上传漏洞 — Extra Checkout Options - addon for Extra Product Options plugin 8.8 High2026-07-29
CVE-2026-12476 WordPress Easy Digital Downloads 任意文件上传漏洞 — Easy Digital Downloads – eCommerce Payments and Subscriptions made easy 7.2 High2026-07-29

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