.. / CVE-2023-31446

Exploit for Cassia Gateway Firmware - Remote Code Execution (CVE-2023-31446)

Description:

In Cassia Gateway firmware XC1000_2.1.1.2303082218 and XC2000_2.1.1.2303090947, the queueUrl parameter in /bypass/config is not sanitized. This leads to injecting Bash code and executing it with root privileges on device startup.

Nuclei Template

View the template here CVE-2023-31446.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2023/CVE-2023-31446.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2023-31446
https://www.cassianetworks.com
https://vuldb.com/?id.250210
https://blog.kscsc.online/cves/202331446/md.html
https://github.com/advisories/GHSA-89ph-wr9x-hcfc
https://github.com/Dodge-MPTC/CVE-2023-31446-Remote-Code-Execution