CVE-2019-5128
published 2019-10-25CVE-2019-5128: A command injection have been found in YouPHPTube Encoder. A successful attack could allow an attacker to compromise the server. Exploitable unauthenticated…
PriorityP186critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
30.17%
98.0th percentile
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/getImageMP4.php is vulnerable to a command injection attack.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| youphptube | youphptube_encoder | — | — |
| youphptube | youphptube_encoder | — | — |
Detection & IOCsextracted from sources · hover to see the quote
url/objects/getImageMP4.php?base64Url={{payload}}&format=jpg
- →Detect command injection attempts targeting the `base64Url` parameter in GET requests to `/objects/getImageMP4.php`; the parameter value is a base64-encoded string wrapping a shell command (e.g., backtick-wrapped `id` redirected to a file). ↗
- →The exploit payload is constructed as base64(concat("`", <cmd>, " > ", <filename>, "`")), e.g. base64 of `id > <rand>.txt`. Monitor for base64-encoded strings containing backtick shell metacharacters in the `base64Url` query parameter.
- →Regex match on HTTP response body for `uid=[0-9]+.*gid=[0-9]+.*` to confirm command injection / RCE success on YouPHPTube Encoder endpoints.
- ·The vulnerability is unauthenticated — no credentials or session tokens are required to exploit the command injection via the `base64Url` parameter. ↗
- ·The `format` query parameter is also present in the exploit request (`format=jpg`); its role in triggering the vulnerable code path should be accounted for in detection signatures.
- ·The Nuclei template uses a random 4-character alpha filename for the output file (`{{rand_text_alpha(4)}}.txt`), so the specific filename will vary per exploit attempt; detection should focus on the pattern (short alpha name + `.txt` extension under `/objects/`) rather than a fixed filename.
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv3.010.0CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-7gh9-pp96-5wvx: A command injection have been found in YouPHPTube Encoder
ghsa_unreviewed·2022-05-24
CVE-2019-5128 [CRITICAL] CWE-78 GHSA-7gh9-pp96-5wvx: A command injection have been found in YouPHPTube Encoder
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/getImageMP4.php is vulnerable to a command injection attack.
VulnCheck
youphptube youphptube_encoder Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
vulncheck·2019·CVSS 9.8
CVE-2019-5128 [CRITICAL] youphptube youphptube_encoder Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
youphptube youphptube_encoder Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
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/getImageMP4.php is vulnerable to a command injection attack.
Affected: youphptube youphptube_encoder
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-15&
No detection rules found.
Nuclei
YouPHPTube Encoder - Arbitrary File Write
nuclei·CVSS 9.8
CVE-2019-5128 [CRITICAL] YouPHPTube Encoder - Arbitrary File Write
YouPHPTube Encoder - Arbitrary File Write
Exploitable unauthenticated command injections exist in YouPHPTube Encoder 2.3 a plugin for providing encoder functionality in YouPHPTube.The parameter base64Url in /objects/getImageMP4.php is vulnerable to a command injection attack.
Template:
id: CVE-2019-5128
info:
name: YouPHPTube Encoder - Arbitrary File Write
author: pussycat0x
severity: critical
description: |
Exploitable unauthenticated command injections exist in YouPHPTube Encoder 2.3 a plugin for providing encoder functionality in YouPHPTube.The parameter base64Url in /objects/getImageMP4.php is vulnerable to a command injection attack.
impact: |
Unauthenticated attackers can execute arbitrary system commands through command injection, leading to complete server compromise and potent
No writeups or analysis indexed.
2019-10-25
Published
Exploited in the wild