Skip to content
RCE Advisory Beginner CVE-2019-5029

Exhibitor UI command injection vulnerability

The Exhibitor web UI's Config editor allows unauthenticated users to inject shell commands into the java.env script field, which are executed when ZooKeeper is launched. An attacker can run arbitrary commands as the user running Exhibitor.

Logan Sanderson Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

An exploitable command injection vulnerability exists in the Config editor of the Exhibitor Web UI versions 1.0.9 to 1.7.1. Arbitrary shell commands surrounded by backticks or $() can be inserted into the editor and will be executed by the Exhibitor process when it launches ZooKeeper.

Logan Sanderson, on Cisco Talos

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

Root cause

The java.env script field is passed unmodified as arguments to the Java command that launches ZooKeeper, allowing shell metacharacters to be interpreted.

Impact

An attacker can execute any command as the user running the Exhibitor process, potentially leading to full system compromise.

What the attacker needed

Exhibitor web UI accessible; no authentication required

The fix

The text does not state a fix; mitigation suggests limiting network access or adding authentication via a reverse proxy, or replacing Exhibitor with a simpler supervisor.

How it was found

  1. Open the Exhibitor Web UI and click on the Config tab, then flip the Editing switch to ON
  2. In the java.env script field, enter any command surrounded by $() or backticks
  3. Click Commit > All At Once > OK
  4. The command may take up to a minute to execute.

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.

Exhibitor is a tool that manages ZooKeeper, a service used in distributed systems. Its web interface has a settings page where you can edit configuration, and one field is passed directly to a shell command without any filtering. This means someone can type a command like 'run this program' and it will be executed on the server, giving them control over the machine.

What is RCE?

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

More from Cisco Talos

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.