CVE-2022-37134

D-link DIR-816 A2_v1.10CNB04.img is vulnerable to Buffer Overflow via /goform/form2Wan.cgi

published August 22, 2022

CVSS
—
EPSS
22%
Percentile
97.6
In the wild
Unconfirmed
What it is

⚠️ A sneaky buffer overflow is lurking in the D-Link DIR-816 firmware! An attacker can exploit /goform/form2Wan.cgi, risking a stack overflow with just the right input. 🔥 Think of this vulnerability like an overflowing suitcase at an airport check-in — if you stuff in too many items without checking the weight limit, it spills everywhere! In this case, the 'suitcase' is the l2tp_usrname, which gets packed without a size check, causing a mess in the stack. If exploited, an attacker could potentially take control of the device, leading to unauthorized access or even a complete system crash. This could allow them to alter settings, intercept data, or disrupt network connectivity for users.

Put simply

Think of this vulnerability like an overflowing suitcase at an airport check-in — if you stuff in too many items without checking the weight limit, it spills everywhere! In this case, the 'suitcase' is the l2tp_usrname, which gets packed without a size check, causing a mess in the stack. This buffer overflow occurs because the size of the l2tp_usrname is not validated when it is processed by form2Wan.cgi. The username gets decrypted via base64 and is stored in a variable that doesn’t check for size, leading to a stack overflow condition.

What to do

If exploited, an attacker could potentially take control of the device, leading to unauthorized access or even a complete system crash. This could allow them to alter settings, intercept data, or disrupt network connectivity for users. To mitigate this vulnerability, update the D-Link DIR-816 firmware to the latest version available from D-Link. Regularly check for firmware updates and ensure proper configurations are in place to limit unauthorized access. You’ve got this! Stay proactive with security updates, and you’ll keep your devices safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.21700 · 97.6th percentile
Published
2022-08-22T14:41Z
EPSS history
Timeline
  • 22 AUG 14:41Z
    D-link DIR-816 A2_v1.10CNB04.img is vulnerable to Buffer Overflow via /goform/form2Wan.cgi
    cvelistv5