POC — CVE-2025–2539 File Away <= 3.9.9.0.1
The File Away WordPress plugin lacks a capability check in its AJAX function, allowing unauthenticated users to read arbitrary files. Attackers can exploit a weak reversible encoding to access sensitive files like wp-config.php.
medium.com
Published on medium.com
✨ Free link
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the plugin's AJAX handler fails to verify user capabilities and uses a reversible encoding to protect file paths, enabling unauthenticated file read.
Impact
Unauthenticated attackers could read arbitrary files, including the WordPress configuration file, leading to complete disclosure of sensitive server-side files.
What the attacker needed
WordPress with File Away plugin ≤ 3.9.9.0.1; no authentication required
How it was found
- Clone the exploit repository from GitHub.
- Run the exploit script with the target URL and file path as arguments.
- The script attempts to access and display the file contents if the target is vulnerable.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A WordPress plugin called File Away has a security hole: it doesn't check if a user is allowed to perform certain actions. This means anyone can send a special request to read files on the server, like configuration files that contain passwords. The plugin uses a simple encoding that can be reversed, so the attacker can see the file contents.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.