X.Org Server ChangeDrawableAttributes Out-Of-Bounds Read Information Disclosure Vulnerability
The X.Org Server fails to properly validate the numAttribs field when handling user-supplied data, causing a read 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.
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 numAttribs field is used to size or index a memory read without being validated against the actual buffer length.
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 this 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 is the software that manages screens and windows on many Linux systems. A part of it reads a number supplied by a program and trusts it without checking, so it can read memory beyond the area it was meant to look at. That leaked memory may contain secrets, and a local attacker who can already run a program on the machine could use this.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.