Skip to content
RCE Advisory Beginner CVE-2019-5127CVE-2019-5129

YouPHPTube Encoder base64Url multiple command injections

Multiple command injection vulnerabilities exist in YouPHPTube Encoder 2.3 via the base64Url parameter in several PHP scripts. An unauthenticated attacker could execute arbitrary commands on the server, potentially leading to database or credential exfiltration and full system compromise.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Critical 10.0 View original

Exploitable unauthenticated command injections exist in YouPHPTube Encoder 2.3 a plugin for providing encoder functionality in YouPHPTube. Specially crafted web requests can cause commands to be executed on the server.

Yuri Kramarz, 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

Likely, the application passes the base64Url parameter directly into a shell command without sanitisation, allowing command injection.

Impact

An unauthenticated attacker could execute arbitrary commands, potentially exfiltrating the database or user credentials or compromising the underlying operating system.

What the attacker needed

No authentication required; network access to the server

The fix

The vulnerabilities were fixed by the vendor on 2019-10-16.

How it was found

  1. Send a GET request to /objects/getImage.php with a crafted base64Url parameter.
  2. Send a GET request to /objects/getImageMP4.php with a crafted base64Url parameter.
  3. Send a GET request to /objects/getSpiritsFromVideo.php with a crafted base64Url parameter.

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.

Command injection is when a program passes user input to a system shell without proper filtering, letting an attacker run their own commands. Here, the base64Url parameter is used in a shell command, so an attacker can include extra commands that the server executes. This can give an attacker control over 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 Yuri Kramarz

View all

57 more disclosed reports, best first.

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.