
Arbitrary file read in Ghost-CMS allows an attacker to upload a malicious ZIP file with a symlink.
A vulnerability in Ghost CMS (CVE-2023-40028) that allows an authenticated attacker to read arbitrary files from the server. By leveraging the symlink functionality within a ZIP file, the exploit bypasses restrictions in Ghost CMS's import mechanism to access sensitive files on the system.
[!] Valid credentials required
Python 3.7+
Dependencies: requests, argparse, and standard Python libraries.
python3 exploit.py --user [email protected] --password Strongpassword123! --url http://example.com
--user <username>: The username/email for the target Ghost CMS.
--password <password>: The password for the target Ghost CMS.
--url <host_url>: The URL of the target Ghost CMS (e.g., http://website.com).

Disclaimer This script is for educational purposes.