Share
## https://sploitus.com/exploit?id=FCB3B7AE-2582-58EC-992E-B1E3440DBC8C
# POC - CVE-2025-2539 File Away <= 3.9.9.0.1 - Missing Authorization to Unauthenticated Arbitrary File Read

[![My Shop](https://img.shields.io/badge/My%20Shop-verylazytech-%23FFDD00?style=flat&logo=buy-me-a-coffee&logoColor=yellow)](http://shop.verylazytech.com/)
[![Medium](https://img.shields.io/badge/Medium-%40verylazytech-%231572B6?style=flat&logo=medium&logoColor=white)](https://medium.com/@verylazytech)
[![Github](https://img.shields.io/badge/Github-verylazytech-%23181717?style=flat&logo=github&logoColor=white)](https://github.com/verylazytech)

## Overview

The File Away plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the ajax() function in all versions up to, and including, 3.9.9.0.1. This makes it possible for unauthenticated attackers, leveraging the use of a reversible weak algorithm, to read the contents of arbitrary files on the server, which can contain sensitive information.

**Read about it** โ€” [CVE-2025-2539](https://nvd.nist.gov/vuln/detail/CVE-2025-2539)

> **Disclaimer**: This Proof of Concept (POC) is made for educational and ethical testing purposes only. Usage of this tool for attacking targets without prior mutual consent is illegal. It is the end userโ€™s responsibility to obey all applicable local, state, and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

[Full POC](https://youtu.be/aM96mW9dVNI)

## Getting Started

### Finding Targets

To find potential targets, use Fofa (similar to Shodan.io):

- **Fofa Dork**: (body="/wp-content/plugins/file-away/" || (body="http://gmpg.org/xfn/11" && body="/wp-content/plugins/sparklethemes-shortcodes") && icon_hash="1198047028")
![Fofa-2025-2539](https://github.com/user-attachments/assets/223ec7a4-3815-4f6a-a96b-80745ebaefb8)



### Cloning the Repository

First, clone the repository:

```bash
git clone https://github.com/verylazytech/CVE-2025-2539

```

Run the Exploit:

```bash
./CVE-2025-2539.sh <Target:port> <File>
```
![Screenshot_2025-05-26_08_10_41](https://github.com/user-attachments/assets/fdcbeead-9e39-49d2-a82b-f1730e7d5efb)