ASUS RCE vulnerability on rma.asus-europe.eu
The file upload on ASUS's RMA site only checked file types in the browser, so an attacker could upload a malicious ASP script and run commands on the server. The author used a null byte trick to bypass the weak checks and then accessed the uploaded file in a predictable directory.
Published on mustafakemalcan.com
Hello folks! Today I want to talk about ASUS RCE vulnerability on rma.asus-europe.eu domain.
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 arbitrary commands on the server, potentially compromising the system and data.
What the attacker needed
Access to the service form; ability to intercept and modify requests
The fix
The issues were fixed by ASUS after the author reported them.
How it was found
- The author found an upload form for warranty documents.
- They tried to bypass upload restrictions by editing the request.
- They used a null byte technique to bypass the restrictions.
- They guessed the upload directory as /uploads.
- They uploaded a basic ASP script and accessed it to execute commands.
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.
The website let people upload documents, but it only checked the file type in the browser, not on the server. By tampering with the upload request, someone could upload a script that the server would run, giving them control of the server.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.