cbcvebase.
CVE-2019-5129
published 2019-10-25

CVE-2019-5129: 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
38.53%
98.4th 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/getSpiritsFromVideo.php is vulnerable to a command injection attack.

Affected

2 ranges
VendorProductVersion rangeFixed in
youphptubeyouphptube_encoder
youphptubeyouphptube_encoder

Detection & IOCsextracted from sources · hover to see the quote

path/objects/getSpiritsFromVideo.php
path/objects/getImageMP4.php
url/objects/getSpiritsFromVideo.php?base64Url={{payload}}&format=jpg
commandpayload: '{{base64(concat("`", content, " > ", file_name, "`"))}}'
  • Monitor HTTP GET requests to /objects/getSpiritsFromVideo.php and /objects/getImageMP4.php with a base64Url parameter; base64-decoded values containing backtick-wrapped shell commands (e.g., `id > file.txt`) indicate active exploitation.
  • The exploit writes command output (e.g., `id`) to a randomly named .txt file under /objects/; subsequent GET requests to /objects/<random>.txt retrieving uid/gid output confirm successful RCE.
  • Response body containing the pattern uid=[0-9]+.*gid=[0-9]+.* from a file served under /objects/ is a strong indicator of successful command injection exploitation.
  • The attack is unauthenticated; no session cookie or authentication header is required. Any request to the vulnerable endpoints from an unauthenticated source should be treated as suspicious.
  • FOFA fingerprint icon_hash="-276846707" can be used to identify exposed YouPHPTube Encoder instances on the internet for proactive scanning.
  • ·The vulnerable parameter 'base64Url' accepts a base64-encoded value; the injected payload wraps shell commands in backticks (e.g., `id > file.txt`), meaning WAF/IDS rules must decode base64 before matching command injection patterns.
  • ·Both /objects/getSpiritsFromVideo.php and /objects/getImageMP4.php are independently vulnerable; detection and blocking rules must cover both endpoints.
  • ·The output file name used in exploitation is randomized (rand_text_alpha(4).txt), so static filename-based detection will not catch all exploitation attempts; focus on the base64Url parameter content instead.

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.