Skip to content
RCE Write-up Advanced

Vocera Report Server Pwnage

The Vocera Report Server had default credentials, a path traversal in task execution, and an unauthenticated websocket interface that allowed arbitrary file write via a zip extraction flaw. An attacker could chain these to achieve unauthenticated remote code execution.

b0yd Follow

Published on securifera.com

The original lives on securifera.com

We do not hold its text, 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 the application used default credentials, failed to properly sanitise file paths (allowing directory traversal), and exposed an unauthenticated websocket interface that accepted file uploads and extracted zip files without validating paths, leading to arbitrary file write and remote code execution.

Impact

An attacker could achieve unauthenticated remote code execution, but the exploit chain required placing a file on disk and avoiding database overwrite by causing a ZipException.

What the attacker needed

Default credentials unchanged; network access to the server; ability to upload a file

The fix

The vulnerabilities were fixed and patched by the vendor.

How it was found

  1. Find default credentials in public documentation and log in.
  2. Use the Task Scheduler to create a task with a crafted execFileName that traverses directories and points to a log file containing injected commands.
  3. Trigger the task to execute the commands from the log file.
  4. Discover an unauthenticated websocket interface with a restoreSqlData operation.
  5. Upload a malicious zip file via a multipart request to a temp directory.
  6. Send a websocket request with a directory traversal path to the uploaded zip file to achieve remote code execution.

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.

The server came with a default password that many people never change, so attackers could log in easily. Once inside, they found ways to make the server run their own commands, and later found a way to do the same without logging in at all. This let them 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 b0yd

View all

4 more disclosed reports, best first.

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.