Skip to content
RCE Write-up Intermediate

Kramer VIA GO² – Multiple issues

The Kramer VIA GO² device had an unauthenticated file upload that allowed a PHP script to be uploaded and executed, leading to remote code execution. An attacker could also read arbitrary files and perform SQL injection without authentication, and by chaining with a sudo misconfiguration, completely take over the device.

ZX Security Follow

Published on zxsecurity.co.nz

By chaining with previously discovered privilege escalation through misconfigured Sudo rules (CVE-2021-35064), it was possible to completely take over a device from an unauthenticated standpoint.

ZX Security, on zxsecurity.co.nz

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 the web application included PHP handlers that lacked authentication and input validation, allowing file read, SQL injection, and unrestricted file upload.

Impact

An unauthenticated attacker could completely compromise the device, either via remote code execution or by obtaining user passwords through SQL injection.

What the attacker needed

Network access to the device; no authentication required

The fix

The issues were fixed by updating to version 4.0 and then applying version 4.0.1.1326 or later, which removes the vulnerable endpoints.

How it was found

  1. Access the device with default credentials (su:supass).
  2. Upload a font file with an arbitrary extension and no content restrictions, such as a PHP script.
  3. Find the path on disk and visit the uploaded PHP file in a browser to execute commands.
  4. Dump the web application/PHP source code, bypassing IONCube protection.
  5. Review the handlers and discover the three high severity vulnerabilities.
  6. Exploit the unauthenticated file read, SQL injection, and file upload RCE.

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 several security holes in a wireless presentation device. An attacker who can reach the device over the network could upload a malicious file that runs commands, read sensitive files, or steal data from the database. The worst case is full control of the device without needing any login.

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 ZX Security

View all

6 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.