Privilege escalation in wpa_supplicant



Published: 2021-06-22 | Updated: 2022-01-17
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-0535
CWE-ID CWE-416
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
wpa_supplicant
Server applications / Encryption software

Vendor Jouni Malinen

Security Bulletin

This security bulletin contains information about 1 vulnerabilities.

Updated 17.01.2022

Added fixed version.

1) Use-after-free

EUVDB-ID: #VU59105

Risk: Low

CVSSv3.1: 5.8 [CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-0535

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error in the wpas_ctrl_msg_queue_timeout() function of ctrl_iface_unix.c file in wpa_supplicant. A local user can pass specially crafted data to the application, trigger a use-after-free error and execute arbitrary code with elevated privileges.


Mitigation

Install update from vendor's website.

Vulnerable software versions

wpa_supplicant: 2.0 - 2.9

External links

http://source.android.com/security/bulletin/pixel/2021-06-01


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###