🛡️ CVE-2022-46604: Exploring a Path Traversal Vulnerability in Responsive File Manager
Responsive File Manager 9.13.4 mishandles the path parameter, allowing an unauthenticated attacker to read arbitrary files on the server. This exposes sensitive files but does not lead to remote code execution.
Published on osintteam.blog
Security research often begins with a simple curiosity about how systems work and how they can be broken. In this post, I explore a known path traversal vulnerability in Responsive File Manager and demonstrate how it can be safely reproduced in a private lab environment using a slightly modified exploit.
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 application failed to validate or sanitise the user-supplied path parameter before using it to read files.
Impact
An unauthenticated attacker could read arbitrary files on the server, potentially exposing sensitive information, though the vulnerability does not provide remote code execution.
What the attacker needed
Vulnerable Responsive File Manager 9.13.4; network access to the target
The fix
The plugin should be upgraded to the latest version, which presumably fixes the path handling.
How it was found
- Provide the target URL and the file path to read to the exploit script.
- The script fetches or accepts a session cookie.
- The script sends the request and returns the contents of the specified file.
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 path traversal bug lets someone trick a program into reading files outside the folder it is supposed to use, by putting special characters like '../' in a file path. Here, the file manager did not check the path properly, so anyone could ask it to read any file on the server, such as a password file. This is dangerous because those files can contain secrets, but it does not let the attacker run their own code.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.