Skip to content
RCE Advisory Intermediate

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.

ghsecuritylab Follow

Originally disclosed on GitHub Security Lab

A Command Injection vulnerability has been found in Open Modeling Framework (OMF)

ghsecuritylab, on GitHub Security Lab

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

  1. Log in to the application with a valid account.
  2. Send a POST request to /rawImport/<owner> where <owner> is the attacker's username.
  3. 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.

More by ghsecuritylab

View all

132 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.