WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Download Monitor < 4.5.98 - Admin+ Arbitrary File Download

Description

The plugin does not ensure that files to be downloaded are inside the blog folders, and not sensitive, allowing high privilege users such as admin to download the wp-config.php or /etc/passwd even in an hardened environment or multisite setup.

Proof of Concept

Create a new download on:
https://target-site/wp-admin/post-new.php?post_type=dlm_download

Add the following payload to the "File URL(s); note: only enter multiple URLs in here if you want to use file mirrors" field when creating a new Download:
php://filter/convert.base64-encode/resource=/var/www/vhosts/developerspace.de/httpdocs/blog/wp-config.php

Navigate to the newly created download page. 

Affects Plugins

download-monitor
Fixed in version 4.5.98

References

CVE
CVE-2022-2981

Classification

Type

FILE DOWNLOAD

OWASP top 10
A1: Injection
CWE
CWE-552

Miscellaneous

Original Researcher

Raad Haddad of Cloudyrion GmbH

Submitter

Raad Haddad of Cloudyrion GmbH

Submitter twitter
raadfhaddad
Verified

Yes

WPVDB ID
30ce32ce-161c-4388-8d22-751350b7b305

Timeline

Publicly Published

2022-09-19 (about 6 months ago)

Added

2022-09-19 (about 6 months ago)

Last Updated

2022-09-19 (about 6 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us