Exploiting Webmin RCE (CVE-2019–15107) on Void
Webmin 1.890 contains a backdoor in password_change.cgi that allows unauthenticated remote command execution as root. An attacker can send a crafted POST request to execute arbitrary commands.
medium.com
Published on medium.com
CVE-2019–15107, Linux tabanlı sistem yönetimi için dünya çapında kullanılan Webmin (özellikle 1.890 ve öncesi sürümleri) üzerinde keşfedilen kritik bir Remote Code Execution (RCE) zafiyetidir.
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 a malicious backdoor was inserted into the password_change.cgi file, allowing command injection via the 'old' parameter.
Impact
An unauthenticated attacker could execute arbitrary commands as root, leading to full system compromise.
What the attacker needed
Webmin 1.890 or earlier; Network access to port 10000
The fix
Upgrade Webmin to a version after 1.890 that does not contain the backdoor.
How it was found
- Scan the target with nmap to find open ports and service versions.
- Identify Webmin 1.890 on port 10000.
- Use Metasploit module for CVE-2019-15107, set RHOSTS and LHOST, and run the exploit.
- Obtain a shell and interact with the system.
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.
Webmin is a tool for managing Linux servers. Version 1.890 had a hidden backdoor in its password change page. Anyone could send a special request to run commands on the server as the all-powerful root user, without needing to log in.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.