CVE-2024-2389: Command Injection Vulnerability In Progress Flowmon
An unauthenticated command injection vulnerability in Progress Flowmon allows an attacker to execute arbitrary commands as the flowmon user, and with privilege escalation, gain root access. The flaw exists because user-supplied parameters are passed unsanitised to a shell command.
rhinosecuritylabs.com
Published on rhinosecuritylabs.com
After our initial research into other Progress products we decided to take a look at another Progress product, Flowmon. This led to the discovery of an unauthenticated command injection vulnerability, which when coupled with a privilege escalation allows full compromise as root of the Flowmon server.
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, user-controlled input is concatenated into a shell command string without proper escaping, allowing command injection.
Impact
An unauthenticated attacker could execute arbitrary commands as the flowmon user and, by abusing sudo permissions, escalate to root, leading to full compromise of the Flowmon server.
What the attacker needed
Network access to the Flowmon web interface; No authentication required
The fix
The vulnerability was fixed in a patch release, as indicated by the disclosure timeline.
How it was found
- Identify the unauthenticated route /service.pdfs/confluence.
- Send a request to that route with a crafted pluginPath or file parameter containing shell metacharacters.
- The command executes blindly, but a webshell can be written to /var/www/shtml/.
- Access the webshell to run commands as the flowmon user.
- Use sudo permissions to escalate to root via various methods.
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.
This report describes a security flaw in a network monitoring tool called Flowmon. An attacker who can reach the login page can send a specially crafted request that makes the server run commands of the attacker's choosing, without needing any password. Because the server runs with high privileges, the attacker can then take full control of the system.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.