CVE-2026-135625

Simple Download Monitor <= 4.1.5 - Unauthenticated Path Traversal to File Read via 'sdm_upload' Parameter

Published Dec 1, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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 the file types listed above, and no authentication or capability check is enforced at the download-streaming endpoint.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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 the file types listed above, and no authentication or capability check is enforced at the download-streaming endpoint.
Title Simple Download Monitor <= 4.1.5 - Unauthenticated Path Traversal to File Read via 'sdm_upload' Parameter
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Dec 1, 2026, 5:30 AM
Reserved
Nov 23, 2026, 9:03 PM
Status
Deferred
Published
Dec 1, 2026, 6:17 AM
Modified
Dec 1, 2026, 6:17 AM