
CVE-2025-2539 - WordPress File Away <= 3.9.9.0.1 - Arbitrary File Read
🔥 Vulnerability Summary
The WordPress plugin File Away version <= 3.9.9.0.1 is vulnerable to an unauthenticated arbitrary file read vulnerability.
This allows attackers to read any file on the server, such as wp-config.php, through a crafted request to the plugin's AJAX endpoint.
The vulnerability stems from improper nonce validation and lack of path restriction when using the fileaway-stats action via admin-ajax.php.
Attackers can leverage this to retrieve sensitive files and extract credentials, potentially leading to full compromise.
🔍 Affected Plugin
🧪 Exploit Features
nonce automatically from the target pagewp-config.php)DB_USER, DB_PASSWORD, DB_HOST)/phpmyadmin or /phpMyAdminresult_database.txtresult_phpmyadmin_dan_config_valid.txtresult_databaseremotevalid.txt🧠 Researcher
Credit: https://github.com/RootHarpy/CVE-2025-2539
🚀 Usage
Prepare your list.txt file with a list of target domains (one per line, without http or https).
Example list.txt:
example.com
victimsite.org
target123.net
Run the script:
python3 mass_cve_2539.py
📁 Output
result_database.txt → List of extracted DB credentialsresult_phpmyadmin_and_config_valid.txt → List of phpMyAdmin URLs foundresult_databaseremotevalid.txt → List of valid remote DB credentials🔒 Disclaimer:
This tool is intended for educational purposes only and should only be used on systems you own or are explicitly authorized to test. Misuse of this code may lead to legal consequences.