GHSL-2020-339: Command Injection vulnerability in OMF
A command injection vulnerability was found in the Open Modeling Framework (OMF) where an authenticated attacker could send a POST request to a specific endpoint and control a form field to inject arbitrary shell commands. This could lead to remote code execution.
Originally disclosed on GitHub Security Lab
A Command Injection vulnerability has been found in Open Modeling Framework (OMF)
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
Impact
An attacker could execute arbitrary commands on the server, leading to remote code execution.
What the attacker needed
A valid user account; attacker is logged in
How it was found
- Log in to the application with a valid account.
- Send a POST request to /rawImport/<owner> where <owner> is the attacker's username.
- Include a malicious payload in the networkNameR form field to inject a shell command.
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.
This report describes a security flaw in a web application called OMF. An attacker who has a normal user account could trick the application into running harmful commands on the server by typing special text into a form field. This is dangerous because it could let the attacker take full control of the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.