CVE-2023-40041 Memory corruption in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code on TOTOLINK T10 routers by sending crafted MQTT packets to trigger a stack-based buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-40041?

CVE-2023-40041 is a critical memory corruption vulnerability in n/a, published on 8 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

TOTOLINK T10_v2 5.9c.5061_B20200511 has a stack-based buffer overflow in setWiFiWpsConfig in /lib/cste_modules/wps.so. Attackers can send crafted data in an MQTT packet, via the pin parameter, to control the return address and execute code.

Weakness: CWE-787

Which versions are affected by CVE-2023-40041?

It affects 1 product.

Products include Totolink T10 V2 Firmware.

How do I fix CVE-2023-40041?

No fix has been published for CVE-2023-40041 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-2023-40041 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-40041 exists.

Sources

Also known as GHSA-7vq9-fjvg-mm59.

Is CVE-2023-40041 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free