CVE-2024-7157 TOTOLINK A3100R getSaveConfig buffer overflow
Remote attackers can trigger a buffer overflow in the TOTOLINK A3100R router via the http_host parameter, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-7157?
CVE-2024-7157 is a high-severity memory corruption vulnerability in TOTOLINK A3100R, published on 28 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in TOTOLINK A3100R 4.1.2cu.5050_B20200504. It has been classified as critical. This affects the function getSaveConfig of the file /cgi-bin/cstecgi.cgi?action=save&setting. The manipulation of the argument http_host leads to buffer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-272571. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
Weakness: CWE-120
Which versions are affected by CVE-2024-7157?
It affects 1 product.
Products include Totolink A3100r Firmware.
How do I fix CVE-2024-7157?
No fix has been published for CVE-2024-7157 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-7157 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7157 exists.
Other vulnerabilities in TOTOLINK A3100R
Sources
Also known as GHSA-g7wm-rhw5-7wrp.