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

Summary

CVECVE-2026-135625
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-01 06:17:26 UTC
Updated2026-12-01 06:17:27 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types: CWE-22 | CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
3.1CNADECLARED7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Mra13 Simple Download Monitor affected 4.1.5 semver Not specified

References

ReferenceSourceLinkTags
plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/file-prot... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/admin-sid... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/file-prot... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/sdm-downl... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/sdm-utili... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/file-prot... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/changeset [email protected] plugins.trac.wordpress.org
www.wordfence.com/threat-intel/vulnerabilities/id/4337295d-24bc-4d69-9b97-d9849... [email protected] www.wordfence.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Wordfence PRISM (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-11-30T17:26:01.000ZDisclosed

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report