WordPress Plugin Vulnerabilities
WP-DBManager < 2.80.8 - Admin+ Remote Command Execution
Description
The plugin does not prevent administrators from running arbitrary commands on the server in multisite installations, where only super-administrators should.
Proof of Concept
# Use any WordPress plugin that allows the users to upload files with extension - ".php" is not required - for example: .jpg (usually many plugins allows such extensions) # Upload your malicious file, for example: test_rce.jpg with the following content: <?php system("COMMAND"); ?> # Go to "DB Options" under WP-DBManager plugin # Define the below payload as "Path To mysqldump" parameter's value: /usr/bin/php /var/www/blog/test_rce.jpg # Go to "Backup DB" and click on "Backup" button # Command will get executed without any issues
Affects Plugins
References
CVE
Classification
Type
RCE
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Raad Haddad of Cloudyrion GmbH
Submitter
Raad Haddad of Cloudyrion GmbH
Submitter twitter
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2022-07-25 (about 1 years ago)
Added
2022-07-25 (about 1 years ago)
Last Updated
2022-08-25 (about 1 years ago)