Lucene search

K
zdiJan-Niklas SohnZDI-20-1421
HistoryDec 09, 2020 - 12:00 a.m.

X.Org Server XkbSetDeviceInfo Heap-based Buffer Overflow Privilege Escalation Vulnerability

2020-12-0900:00:00
Jan-Niklas Sohn
www.zerodayinitiative.com
10

0.001 Low

EPSS

Percentile

26.7%

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of XkbSetDeviceInfo requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.