Simple Download Monitorに認証不要でファイルを読み取られる脆弱性
Summary
Simple Download Monitorの4.1.5以前では、パス・トラバーサルの脆弱性により、認証なしでサーバー上のファイルを読み取られるおそれがあります。対象はwp-config.php のバックアップやデータベースのダンプ、ログなどで、CVSSは7.5です。修正版の情報は現時点で確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Simple Download Monitorの4.1.5以前では、パス・トラバーサルの脆弱性により、認証なしでサーバー上のファイルを読み取られるおそれがあります。対象はwp-config.php のバックアップやデータベースのダンプ、ログなどで、CVSSは7.5です。修正版の情報は現時点で確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mra13Simple Download Monitor |
≤ 4.1.5→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The Simple Download Monitor plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 4.1.5 via the sdm_upload parameter. The vulnerability exists because SDM_Utils_File_System_Related::get_uploaded_file_path_from_url() strips a fixed number of characters from the stored download URL without verifying the URL begins with the expected $wp_content_url prefix, performs no post-realpath() containment check to confirm the resolved path stays within the sdm-uploads directory, and relies on SDM_File_Protection_Handler::contains_protected_dirname() — a substring regex that matches uploads/sdm-uploads anywhere in the URL rather than enforcing a structural prefix — while esc_url_raw() on the save path leaves ../ sequences intact. This makes it possible for authenticated attackers with Administrator-level access (or lower, if the site owner has reduced the plugin's "Admin Dashboard Access Permission" setting) to store a crafted traversal URL in an sdm_downloads post's sdm_upload field, enabling any unauthenticated visitor to subsequently stream non-PHP server files outside the uploads directory — including .bak, .log, .sql, .sqlite, .conf, .ini, .inc, and .zip files such as wp-config.php backups, database dumps, and debug logs — via a single GET request to /?sdm_process_download=1&download_id=N. PHP, CGI, and executable file extensions are blocked by the plugin's extension blocklist, but that blocklist does not cover t…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory