CWE-434 危险类型文件的不加限制上传 类弱点 2034 条 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-2023-3486 | PaperCut NG 代码问题漏洞 — PaperCut NG | 8.2 | High | 2023-07-25 |
| CVE-2023-3852 | OpenRapid RapidCMS 代码问题漏洞 — RapidCMS | 4.7 | Medium | 2023-07-23 |
| CVE-2023-3836 | Dahua Smart Parking Management 代码问题漏洞 — Smart Park Management | 6.3 | Medium | 2023-07-22 |
| CVE-2023-3806 | House Rental and Property Listing 代码问题漏洞 — House Rental and Property Listing System | 6.3 | Medium | 2023-07-21 |
| CVE-2023-3804 | Chengdu Flash Flood Disaster Monitoring and Warning System 代码问题漏洞 — Flash Flood Disaster Monitoring and Warning System | 5.5 | Medium | 2023-07-21 |
| CVE-2023-3802 | Chengdu Flash Flood Disaster Monitoring and Warning System 代码问题漏洞 — Flash Flood Disaster Monitoring and Warning System | 5.5 | Medium | 2023-07-21 |
| CVE-2023-3800 | EasyAdmin8 代码问题漏洞 — EasyAdmin8 | 3.9 | Low | 2023-07-20 |
| CVE-2023-3798 | Chengdu Flash Flood Disaster Monitoring and Warning System 代码问题漏洞 — Flash Flood Disaster Monitoring and Warning System | 5.5 | Medium | 2023-07-20 |
| CVE-2023-3797 | Mountain Torrent Disaster Prevention and Control of Monitoring and Early Warning System 代码问题漏洞 — Four Mountain Torrent Disaster Prevention and Control of Monitoring and Early Warning System | 5.5 | Medium | 2023-07-20 |
| CVE-2023-3796 | Bug Finder Foody Friend 代码问题漏洞 — Foody Friend | 4.3 | Medium | 2023-07-20 |
| CVE-2023-37289 | InfoDoc Document On-line Submission and Approval System 代码问题漏洞 — Document On-line Submission and Approval System | 9.8 | Critical | 2023-07-20 |
| CVE-2023-3722 | Avaya Aura Device Services 代码问题漏洞 — Aura Device Services | 8.6 | High | 2023-07-19 |
| CVE-2023-35189 | Iagona ScrutisWeb 代码问题漏洞 — ScrutisWeb | 10.0 | Critical | 2023-07-18 |
| CVE-2023-3692 | Admidio 代码问题漏洞 — admidio/admidio | 8.8 | - | 2023-07-16 |
| CVE-2023-30791 | Plane 代码问题漏洞 — Plane | 7.1 | High | 2023-07-15 |
| CVE-2023-34136 | SonicWALL Analytics和GMS 代码问题漏洞 — GMS | 7.5 | - | 2023-07-13 |
| CVE-2023-3342 | WordPress plugin User Registration 代码问题漏洞 — User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder | 9.9 | Critical | 2023-07-13 |
| CVE-2023-34126 | SonicWALL Analytics和GMS 代码问题漏洞 — GMS | 8.8 | - | 2023-07-13 |
| CVE-2023-3626 | Suncreate Mountain Flood Disaster Prevention Monitoring and Early Warning System 代码问题漏洞 — Mountain Flood Disaster Prevention Monitoring and Early Warning System | 6.3 | Medium | 2023-07-11 |
| CVE-2023-3625 | Suncreate Mountain Flood Disaster Prevention Monitoring and Early Warning System 代码问题漏洞 — Mountain Flood Disaster Prevention Monitoring and Early Warning System | 6.3 | Medium | 2023-07-11 |
| CVE-2023-3623 | Suncreate Mountain Flood Disaster Prevention Monitoring and Early Warning System 代码问题漏洞 — Mountain Flood Disaster Prevention Monitoring and Early Warning System | 6.3 | Medium | 2023-07-11 |
| CVE-2023-3504 | SmartWeb Infotech Job Board 代码问题漏洞 — Job Board | 6.3 | Medium | 2023-07-04 |
| CVE-2023-3503 | SourceCodester Shopping Website 代码问题漏洞 — Shopping Website | 6.3 | Medium | 2023-07-04 |
| CVE-2023-3491 | fossbilling 代码问题漏洞 — fossbilling/fossbilling | 8.0 | - | 2023-06-30 |
| CVE-2023-1721 | Yoga Class Registration System 代码问题漏洞 — Yoga Class Registration System | 9.1 | Critical | 2023-06-23 |
| CVE-2023-3295 | WordPress plugin Unlimited Elements For Elementor 代码问题漏洞 — Unlimited Elements For Elementor | 8.8 | High | 2023-06-17 |
| CVE-2023-32753 | ITPison OMICARD EDM 代码问题漏洞 — Contact ITPison | 9.8 | Critical | 2023-06-16 |
| CVE-2023-32752 | L7 Networks InstantScan 和 InstantQoS 代码问题漏洞 — InstantScan | 9.8 | Critical | 2023-06-16 |
| CVE-2023-3274 | Supplier Management System 代码问题漏洞 — Supplier Management System | 6.3 | Medium | 2023-06-15 |
| CVE-2022-33166 | IBM Security Directory Suite 代码问题漏洞 — Security Directory Suite VA | 7.2 | High | 2023-06-15 |
CWE-434(危险类型文件的不加限制上传) 是常见的弱点类别,本平台收录该类弱点关联的 2034 条 CVE 漏洞。