CWE-434 危险类型文件的不加限制上传 类弱点 2053 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-434 属于不安全的文件上传漏洞,指系统允许上传并自动处理危险类型的文件。攻击者通常利用此缺陷上传恶意脚本或可执行文件,进而通过服务器自动执行功能获取系统控制权或植入后门。开发者应避免仅依赖文件扩展名验证,需结合内容检测、白名单机制及隔离存储策略,严格限制可上传的文件类型,从而有效阻断此类攻击路径。
<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>// 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."; }<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>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| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2024-38734 | WordPress plugin Import Spreadsheets from Microsoft Excel 代码问题漏洞 — Import Spreadsheets from Microsoft Excel | 9.1 | Critical | 2024-07-12 |
| CVE-2024-5911 | Palo Alto Networks Panorama 安全漏洞 — PAN-OS | 6.5AI | MediumAI | 2024-07-10 |
| CVE-2024-6647 | Croogo 代码问题漏洞 — Croogo | 4.7 | Medium | 2024-07-10 |
| CVE-2023-7061 | WordPress plugin Advanced File Manager Shortcodes 安全漏洞 — Advanced File Manager Shortcodes | 8.8 | High | 2024-07-10 |
| CVE-2024-39865 | Siemens SINEMA Remote Connect Server 代码问题漏洞 — SINEMA Remote Connect Server | 8.8 | High | 2024-07-09 |
| CVE-2024-37424 | WordPress plugin Newspack Blocks 安全漏洞 — Newspack Blocks | 9.9 | Critical | 2024-07-09 |
| CVE-2024-37420 | WordPress plugin Zita Elementor Site Library 代码问题漏洞 — Zita Elementor Site Library | 9.9 | Critical | 2024-07-09 |
| CVE-2024-37418 | WordPress plugin Church Admin 代码问题漏洞 — Church Admin | 9.9 | Critical | 2024-07-09 |
| CVE-2024-6313 | WordPress plugin Gutenberg Forms 安全漏洞 — Gutenberg Forms – WordPress Form Builder Plugin | 9.8 | Critical | 2024-07-09 |
| CVE-2024-6314 | WordPress plugin IQ Testimonials 安全漏洞 — IQ Testimonials | 9.8 | Critical | 2024-07-09 |
| CVE-2024-6123 | WordPress plugin Bit Form 安全漏洞 — Bit Form – Custom Contact Form, Multi Step, Conversational Form & Payment Form builder | 7.2 | High | 2024-07-09 |
| CVE-2024-6161 | WordPress plugin Default Thumbnail Plus 安全漏洞 — Default Thumbnail Plus | 8.8 | High | 2024-07-09 |
| CVE-2024-37555 | WordPress plugin Generate PDF using Contact Form 代码问题漏洞 — Generate PDF using Contact Form 7 | 9.6 | Critical | 2024-07-09 |
| CVE-2024-5441 | WordPress Plugin Modern Events Calendar 安全漏洞 — Modern Events Calendar | 8.8 | High | 2024-07-09 |
| CVE-2024-34692 | SAP Enable Now 代码问题漏洞 — SAP Enable Now | 3.3 | Low | 2024-07-09 |
| CVE-2024-6319 | WordPress plugin IMGspider 安全漏洞 — IMGspider – 图片采集抓取插件 | 8.8 | High | 2024-07-04 |
| CVE-2024-6318 | WordPress plugin IMGspider 安全漏洞 — IMGspider – 图片采集抓取插件 | 8.8 | High | 2024-07-04 |
| CVE-2024-6439 | SourceCodester Home Owners Collection Management System 代码问题漏洞 — Home Owners Collection Management System | 6.3 | Medium | 2024-07-02 |
| CVE-2024-36987 | 部分Splunk产品 安全漏洞 — Splunk Enterprise | 4.3 | Medium | 2024-07-01 |
| CVE-2024-3123 | CHANGING Mobile One Time Password 代码问题漏洞 — Mobile One Time Password | 7.2 | High | 2024-07-01 |
| CVE-2024-6373 | Online Food Ordering System 代码问题漏洞 — Online Food Ordering System | 7.3 | High | 2024-06-27 |
| CVE-2024-6054 | WordPress Plugin Auto Featured Image 安全漏洞 — Auto Featured Image | 8.8 | High | 2024-06-27 |
| CVE-2024-5008 | Progress Software WhatsUp Gold 安全漏洞 — WhatsUp Gold | 8.8 | High | 2024-06-25 |
| CVE-2024-4197 | Avaya IP Office 安全漏洞 — IP Office | 9.9 | Critical | 2024-06-25 |
| CVE-2024-37228 | WordPress Plugin InstaWP Connect 代码注入漏洞 — InstaWP Connect | 10.0 | Critical | 2024-06-24 |
| CVE-2024-6280 | Simple Online Bidding System 代码问题漏洞 — Simple Online Bidding System | 6.3 | Medium | 2024-06-24 |
| CVE-2024-35767 | WordPress plugin Squeeze 代码问题漏洞 — Squeeze | 9.1 | Critical | 2024-06-21 |
| CVE-2023-45197 | AdminerEvo 安全漏洞 — Adminer | 9.8 | - | 2024-06-21 |
| CVE-2024-28147 | edu-sharing 安全漏洞 — edu-sharing | 8.2AI | HighAI | 2024-06-20 |
| CVE-2024-5853 | WordPress plugin Sirv 安全漏洞 — Image Optimizer, Resizer and CDN – Sirv | 9.9 | Critical | 2024-06-19 |
CWE-434(危险类型文件的不加限制上传) 是常见的弱点类别,本平台收录该类弱点关联的 2053 条 CVE 漏洞。