Found but a small recong
A parameter named filename on a web page allowed command execution, letting the reporter read sensitive files including recently uploaded data. The issue was reported and fixed by the backend engineer.
A few months ago, I found a web security program through my friend, who is a co-founder of a company. They connected me with the team because the CEO suspected that some data had somehow leaked.
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
Impact
An attacker could execute commands on the server and read sensitive files, including data uploaded the previous day.
What the attacker needed
Access to the web application; knowledge of the filename parameter
The fix
The backend engineer fixed the code after the report.
How it was found
- Discover subdomains using Subfinder.
- Check status codes and titles with httpx.
- Gather old endpoints with waybackurls.
- Manually browse pages and find a filename parameter.
- Test the parameter with payloads and observe command execution.
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 web page had a part that took a file name from the user and used it in a system command without checking it. By putting special characters in that file name, an attacker could make the server run their own commands and read private files.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.