X.Org Server CheckKeyActions Out-Of-Bounds Read Information Disclosure Vulnerability
The X.Org Server mishandles key actions because it does not properly validate user-supplied data, so a read can go past the end of an allocated data structure. A local attacker who can already run low-privileged code could disclose sensitive information and, combined with other flaws, potentially execute code as root.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to disclose sensitive information 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 full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the key-action handling code fails to validate the length or bounds of user-supplied data before reading it, allowing an out-of-bounds read.
Impact
A local attacker with low-privileged code execution could disclose sensitive information and, chained with other vulnerabilities, could execute arbitrary code as root.
What the attacker needed
Local low-privileged code execution
The fix
X.Org issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
X.Org Server handles key actions. It does not check the size of the data it is given, so it reads memory beyond the area it should. That leaked memory can contain secrets, and a local attacker who can already run code may use it as one step towards taking over the system.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.