Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-24 (路径遍历:’../filedir’) — Vulnerability Class 100

100 vulnerabilities classified as CWE-24 (路径遍历:’../filedir’). AI Chinese analysis included.

CWE-24 represents a critical input validation weakness where software fails to properly sanitize user-supplied data before constructing file paths. Attackers typically exploit this vulnerability by injecting directory traversal sequences, such as "../", into input fields to manipulate the resulting pathname. This manipulation allows the application to resolve paths outside the intended restricted directory, enabling unauthorized access to sensitive system files, configuration data, or source code. To mitigate this risk, developers must implement robust input validation strategies that strictly whitelist allowed characters and reject any path components containing traversal sequences. Additionally, employing canonicalization techniques to normalize paths before validation ensures that encoded or double-encoded attacks are detected. Restricting file system access through chroot jails or containerization further limits the potential impact of successful exploitation, ensuring that even if validation fails, the attacker cannot escape the designated secure boundary.

MITRE CWE Description
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory. This allows attackers to traverse the file system to access files or directories that are outside of the restricted directory. The "../" manipulation is the canonical manipulation for operating systems that use "/" as directory separators, such as UNIX- and Linux-based systems. In some cases, it is useful for bypassing protection schemes in environments for which "/" is supported but not the primary separator, such as Windows, which uses "\" but can also accept "/".
Common Consequences (1)
Confidentiality, Integrity Read Files or Directories, Modify Files or Directories
Mitigations (2)
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…
Implementation Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
CVE ID Title CVSS Severity Published
CVE-2024-0989 Sichuan Yougou Technology KuERP Service.php del_sn_db path traversal — KuERP 5.4 Medium 2024-01-29
CVE-2024-0882 qwdigital LinkWechat Universal Download Interface resource path traversal — LinkWechat 4.3 Medium 2024-01-25
CVE-2023-52076 Remote Code Execution Vulnerability in Atril's EPUB ebook parsing — atril 8.5 High 2024-01-25
CVE-2024-0465 code-projects Employee Profile Management System download.php path traversal — Employee Profile Management System 3.5 Low 2024-01-12
CVE-2024-0417 DeShang DSShop MemberAuth.php path traversal — DSShop 5.4 Medium 2024-01-11
CVE-2024-0416 DeShang DSMall MemberAuth.php path traversal — DSMall 5.4 Medium 2024-01-11
CVE-2023-6699 WP Compress – Image Optimizer [All-In-One] <= 6.10.33 - Unauthenticated Directory Traversal via css — WP Compress – Instant Performance & Speed Optimization 9.1 Critical 2024-01-11
CVE-2024-0354 unknown-o download-station index.php path traversal — download-station 5.3 Medium 2024-01-09
CVE-2024-0341 Inis GET Request File.php path traversal — Inis 3.5 Low 2024-01-09
CVE-2023-7134 SourceCodester Medicine Tracking System path traversal — Medicine Tracking System 6.3 Medium 2023-12-28
CVE-2023-7098 icret EasyImages hide.php path traversal — EasyImages 3.1 Low 2023-12-25
CVE-2023-7058 SourceCodester Simple Student Attendance System path traversal — Simple Student Attendance System 6.3 Medium 2023-12-22
CVE-2023-7041 codelyfe Stupid Simple CMS rename.php path traversal — Stupid Simple CMS 5.4 Medium 2023-12-21
CVE-2023-7040 codelyfe Stupid Simple CMS rename.php path traversal — Stupid Simple CMS 4.3 Medium 2023-12-21
CVE-2023-6900 rmountjoy92 DashMachine delete_file path traversal — DashMachine 4.6 Medium 2023-12-17
CVE-2018-25094 ระบบบัญชีออนไลน์ Online Accounting System image.php path traversal — Online Accounting System 3.5 Low 2023-12-03
CVE-2023-4171 Chengdu Flash Flood Disaster Monitoring and Warning System FileDownload.ashx path traversal — Flash Flood Disaster Monitoring and Warning System 4.3 Medium 2023-08-05
CVE-2023-3240 OTCMS usersNews_deal.php path traversal — OTCMS 3.5 Low 2023-06-14
CVE-2023-3239 OTCMS path traversal — OTCMS 3.5 Low 2023-06-14
CVE-2023-3098 KylinSoft youker-assistant restore_all_sound_file path traversal — youker-assistant 4.4 Medium 2023-06-05
CVE-2023-3057 YFCMF Ajax.php path traversal — YFCMF 4.3 Medium 2023-06-02
CVE-2023-3056 YFCMF index.php path traversal — YFCMF 4.3 Medium 2023-06-02
CVE-2023-20166 Cisco Identity Services Engine Path Traversal Vulnerabilities — Cisco Identity Services Engine Software 6.0 Medium 2023-05-18
CVE-2023-20167 Cisco Identity Services Engine Path Traversal Vulnerabilities — Cisco Identity Services Engine Software 6.0 Medium 2023-05-18
CVE-2023-20098 Cisco SD-WAN vManage 路径遍历漏洞 — Cisco SD-WAN vManage 4.4 Medium 2023-05-09
CVE-2023-1800 sjqzhang go-fastdfs File Upload uploa upload path traversal — go-fastdfs 7.3 High 2023-04-02
CVE-2023-1398 XiaoBingBy TeaCMS upload path traversal — TeaCMS 6.3 Medium 2023-03-14
CVE-2014-125033 rails-cv-app uploaded_files_controller.rb path traversal — rails-cv-app 3.5 Low 2023-01-02
CVE-2019-25087 RamseyK httpserver URI ResourceHost.cpp getResource path traversal — httpserver 5.3 Medium 2022-12-27
CVE-2022-36065 GrowthBook account creation and file upload vulnerability in self-hosted configurations — growthbook 7.5 High 2022-09-06

Vulnerabilities classified as CWE-24 (路径遍历:’../filedir’) represent 100 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.