Buffer Overflow Vulnerability in D-Link DIR-816 Router Firmware
CVE-2022-37134
9.8CRITICAL
What is CVE-2022-37134?
The D-Link DIR-816 router has a buffer overflow vulnerability that allows attackers to exploit the /goform/form2Wan.cgi interface. When the 'wantype' parameter is set to 3, the L2TP username is processed and decrypted using base64, which is then stored without sufficient size checks. This oversight can lead to a stack overflow, potentially allowing attackers to execute arbitrary code or take control of the device. It is crucial for users to apply necessary patches or updates to mitigate the risk associated with this vulnerability.