Vulnerability record · CVE-2019-5127 · published 25 October 2019
CVE-2019-5127: YouPHPTube Encoder unauthenticated OS command injection via base64Url
YYouphptube · Youphptube Encoder
YouPHPTube Encoder 2.3, a plugin adding encoder functionality to YouPHPTube, contains an OS command injection flaw in the base64Url parameter of /objects/getImage.php. Because the injection is reachable without authentication, any network attacker who can reach the endpoint can run arbitrary commands on the server. This is a critical-severity issue given the complete loss of confidentiality, integrity and availability implied by the CVSS vector.
Description
A command injection have been found in YouPHPTube Encoder. A successful attack could allow an attacker to compromise the server. Exploitable unauthenticated command injections exist in YouPHPTube Encoder 2.3 a plugin for providing encoder functionality in YouPHPTube. The parameter base64Url in /objects/getImage.php is vulnerable to a command injection attack.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityUnauthenticated remote command execution with CVSS 9.8 and a high EPSS percentile, plus public exploit references, makes this an urgent patch-or-remove case.
What it is
YouPHPTube Encoder 2.3, a plugin adding encoder functionality to YouPHPTube, contains an OS command injection flaw in the base64Url parameter of /objects/getImage.php. Because the injection is reachable without authentication, any network attacker who can reach the endpoint can run arbitrary commands on the server. This is a critical-severity issue given the complete loss of confidentiality, integrity and availability implied by the CVSS vector.
Impact
An attacker gains arbitrary OS command execution in the context of the web server, allowing full server compromise including data theft, modification and service disruption. No privileges are required beyond network reachability.
Attack surface
Reached over the network via HTTP requests to /objects/getImage.php with a crafted base64Url parameter. The CVSS vector (AV:N/AC:L/PR:N/UI:N) and the description both indicate no authentication and no user interaction are needed.
Exploitation
Not listed in CISA KEV and no ransomware associations are documented, but the EPSS 30-day probability is 0.453 (98.7th percentile) and both references are tagged Exploit, indicating public exploit material exists and exploitation is plausible.
What to do
- Apply the vendor fix for YouPHPTube Encoder or upgrade to a version that resolves the command injection; if no patch is available, remove or disable the Encoder plugin.
- Restrict network access to /objects/getImage.php and the Encoder plugin endpoints using a reverse proxy or WAF rule that blocks untrusted callers.
- Validate and sanitize the base64Url parameter server-side, rejecting any input that is not a strict base64-encoded URL before it reaches shell execution.
- Run the web service under a low-privilege account with no shell access and confine it with container or filesystem isolation to limit command execution impact.
Detection
- Monitor web server logs for requests to /objects/getImage.php with unusual or shell-metacharacter-laden base64Url values.
- Alert on outbound network connections or child processes spawned by the web server user that are inconsistent with normal PHP-FPM/Apache behavior.
- Use endpoint detection to flag shell command execution (e.g., sh, bash, curl, wget) originating from the web server process tree.
- Review file integrity and new files written under the web root or /tmp by the web server account.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://talosintelligence.com/vulnerability_reports/TALOS-2019-0917 | ExploitThird Party Advisory |
| https://talosintelligence.com/vulnerability_reports/TALOS-2019-0917 | ExploitThird Party Advisory |
Track CVE-2019-5127 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-5127), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.