CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's WEP shared-key authentication handler, where an attacker can exploit a lack of length validation on the challenge-text element, potentially leading to buffer overflows or stale memory exposure. This flaw can be triggered by a malicious access point during the shared-key authentication process, allowing for unauthorized access or data leakage. Organizations using Linux systems with wireless capabilities, particularly those relying on WEP authentication, should prioritize addressing this vulnerability to mitigate potential security risks.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix missing shared-key auth challenge length check The WEP shared-key authentication handler uses the challenge-text element's attacker-controlled length without checking it against the fixed 128-byte chg_txt buffer. In OnAuthClient() the length from rtw_get_ie() - up to 255 - is used to perform memcpy() into the 128-byte pmlmeinfo->chg_txt, so a malicious AP sending a malformed WLAN_EID_CHALLENGE element can overflow/underfill chg_txt by up to 127 bytes. It is reachable over the air, before association, during shared-key authentication. In the case of an overflow, the driver can write out of bounds. In the case of an underfill, the driver can echo stale buffer memory. The challenge text is defined to be exactly 128 octets, which is already provided as the WLAN_AUTH_CHALLENGE_LEN define; require the element to be exactly that length before use.