CVE-2023–30258: When MagnusBilling Goes Rogue — Hunting Down Vulnerable Devices on Shodan
MagnusBilling versions 6 and 7 contain a command injection flaw that lets an unauthenticated attacker run arbitrary OS commands on the host with the web server's privileges. The text describes finding exposed instances via Shodan and testing them with Nuclei and Metasploit.
Published on systemweakness.com
Welcome, cybersecurity enthusiasts and curious minds! Today, we’re going to embark on an adventure into the thrilling world of cybersecurity vulnerabilities, specifically the command injection vulnerability known as CVE-2023–30258.
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 improper input validation: the software does not adequately check data before passing it to the operating system.
Impact
An unauthenticated attacker could run arbitrary OS commands with the web server's privileges, potentially gaining significant control over the system.
What the attacker needed
Internet-exposed MagnusBilling 6 or 7; no authentication needed
The fix
Users should upgrade MagnusBilling to the latest version to mitigate the vulnerability.
How it was found
- Search Shodan for pages containing the MagnusBilling string.
- Run Nuclei against the candidate hosts to filter out vulnerable ones.
- Use a public exploit, for example through Metasploit, to run a system information command on a vulnerable device.
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.
Command injection is when a program takes input from a user and passes it to the operating system without checking it properly, so an attacker can sneak in extra commands. Here, anyone on the internet could send such input to a billing server and make it run their commands, without even logging in.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.