Adtran SR400ac ping Command Injection Remote Code Execution Vulnerability
Exploit: This is a POC for a bug that I found in SmartRG router (CVE-2023-38120) It's already fixed by the manufacturer
This vulnerability allows remote malicious users to execute arbitrary code on affected installations of Adtran SR400ac routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the ping command, which is available over JSON-RPC. A crafted host parameter can trigger execution of a system call composed from a user-supplied string. An attacker can leverage this vulnerability to execute code in the context of root.