cve/2017/CVE-2017-2624.md

18 lines
918 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2017-2624](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2624)
![](https://img.shields.io/static/v1?label=Product&message=xorg-x11-server&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%201.19.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-385&color=brighgreen)
### Description
It was found that xorg-x11-server before 1.19.0 including uses memcmp() to check the received MIT cookie against a series of valid cookies. If the cookie is correct, it is allowed to attach to the Xorg session. Since most memcmp() implementations return after an invalid byte is seen, this causes a time difference between a valid and invalid byte, which could allow an efficient brute force attack.
### POC
#### Reference
- https://www.x41-dsec.de/lab/advisories/x41-2017-001-xorg/
#### Github
2024-06-07 04:52:01 +00:00
- https://github.com/nediazla/LinuxFundamentals
2024-05-26 14:27:05 +02:00