(CVE-2024-1837) Singtel RT5703W Unauthenticated Command Injection RCE via Login Vulnerability
An unauthenticated attacker on the local network can execute arbitrary operating system commands with root privileges on the Singtel RT5703W router via the /cgi-bin/Login endpoint. The vulnerability is an OS command injection in net.cgi.
starlabs.sg
Published on starlabs.sg
Singtel WI-FI 6 ROUTER RT5703W is a router provided by Singtel to their customers, manufactured by Askey Computer Corp.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, user-supplied input to the /cgi-bin/Login endpoint is passed to a system shell without proper sanitisation, allowing command injection.
Impact
An attacker on the local network could execute arbitrary commands with root privileges, potentially compromising the router completely.
What the attacker needed
Attacker on the local network
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This router has a flaw in its login page that lets someone on the same local network run commands on the device without logging in. Those commands run with the highest level of permission, so the attacker could take full control of the router.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.