The RCE that AMD won't fix
AMD's AutoUpdate software downloads executable updates over HTTP and runs them without validating signatures. An attacker on the same network could intercept the download and replace it with a malicious executable, leading to remote code execution.
mrbruh.com
Published on mrbruh.com
After being interrupted multiple times by an annoying console window that would pop up periodically on my new gaming PC, I managed to track the offending executable down to AMD’s AutoUpdate software.
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
The update mechanism used HTTP for executable downloads and did not validate the digital signature of the downloaded file before execution.
What the attacker needed
Attacker on the same network; victim runs AMD AutoUpdate
The fix
The update process should use HTTPS for all downloads and verify digital signatures before executing any downloaded file.
How it was found
- Find the update URL in the program's configuration file.
- Open the URL and observe that executable download links use HTTP.
- Perform a man-in-the-middle attack to replace the download with a malicious executable.
- The software downloads and executes the file without validation.
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.
When software updates itself, it downloads a file from the internet. If that download uses an insecure connection (HTTP), someone on the same Wi-Fi or network can secretly swap the file for a harmful program. The software then runs that program without checking if it is genuine, giving the attacker control of the computer.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.