Adminer multi_query Incorrect Check of Function Return Value Remote Code Execution Vulnerability
The multi_query method in Adminer incorrectly checks a function's return value, allowing an authenticated attacker to execute arbitrary code on the web server. The flaw requires authentication to exploit.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Adminer. Authentication is required to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an incorrect check of a function return value in the multi_query method, which fails to prevent unsafe execution.
Impact
An authenticated attacker could execute arbitrary code in the context of the web server.
What the attacker needed
Authentication required
The fix
Adminer has issued an update to correct this vulnerability.
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 report has not been written yet. The Original tab links to the source.
Adminer is a database management tool. A function in its code did not properly check whether an operation succeeded, and an attacker who is already logged in could abuse this to run their own commands on the server. This is serious because it can lead to full control of the machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.