CVE-2021-31535 LookupCol.c in X.Org X through X11R7.7 and libX11 before 1.7.1 might allow remote attackers to exec…
설명
LookupCol.c in X.Org X through X11R7.7 and libX11 before 1.7.1 might allow remote attackers to execute arbitrary code. The libX11 XLookupColor request (intended for server-side color lookup) contains a flaw allowing a client to send color-name requests with a name longer than the maximum size allowed by the protocol (and also longer than the maximum packet size for normal-sized packets). The user-controlled data exceeding the maximum size is then interpreted by the server as additional X protocol requests and executed, e.g., to disable X server authorization completely. For example, if the victim encounters malicious terminal control sequences for color codes, then the attacker may be able to take full control of the running graphical session.
X.Org X에서 X11R7.7과 libX11을 1.7.1 이전부터 LookupCol.c를 사용하면 원격 공격자가 임의 코드를 실행할 수 있습니다. libX11 XLookupColor 요청(서버 쪽 색상 조회를 위한)에는 클라이언트가 프로토콜에서 허용하는 최대 크기보다 긴(그리고 일반 크기의 패킷에 대한 최대 패킷 크기보다 긴) 이름으로 색상 이름 요청을 보낼 수 있는 결함이 포함되어 있습니다. 그 후, 최대 크기를 초과하는 사용자 제어 데이터는 서버에 의해 추가적인 X 프로토콜 요청으로 해석되고, 예를 들어, X 서버 인증을 완전히 비활성화하기 위해 실행된다. 예를 들어, 피해자가 컬러 코드에 대한 악성 터미널 제어 시퀀스를 접하게 되면, 공격자는 실행 중인 그래픽 세션을 완전히 제어할 수 있습니다.
영향 받는 제품 제품 3개
-
NVD 기준
fedoraproject
fedora
영향 받는 버전
- 33
해결 버전
해결된 버전 정보가 없습니다.
-
NVD 기준 해결 버전 있음
x.org
libx11
영향 받는 버전
- 1.7.1 미만
해결 버전
- 1.7.1 이상
-
NVD 기준
x.org
x window system
영향 받는 버전
- x11r7.7 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 19건
- packetstormsecurity.com http://packetstormsecurity.com/files/162737/libX11-Insufficient-Length-Check-Injection.html (새 창)
- seclists.org http://seclists.org/fulldisclosure/2021/May/52 (새 창)
- gitlab.freedesktop.org https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/8d2e02ae650f00c4a53deb625211a0527126c605 (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E (새 창)
- lists.debian.org https://lists.debian.org/debian-lts-announce/2021/05/msg00021.html (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEOT4RLB76RVPJQKGGTIKTBIOLHX2NR6/ (새 창)
- lists.freedesktop.org https://lists.freedesktop.org/archives/xorg/ (새 창)
- lists.x.org https://lists.x.org/archives/xorg-announce/2021-May/003088.html (새 창)
- security.gentoo.org https://security.gentoo.org/glsa/202105-16 (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20210813-0001/ (새 창)
- unparalleled.eu https://unparalleled.eu/blog/2021/20210518-using-xterm-to-navigate-the-huge-color-space/ (새 창)
- unparalleled.eu https://unparalleled.eu/publications/2021/advisory-unpar-2021-1.txt (새 창)
- debian.org https://www.debian.org/security/2021/dsa-4920 (새 창)
- openwall.com https://www.openwall.com/lists/oss-security/2021/05/18/2 (새 창)
- openwall.com https://www.openwall.com/lists/oss-security/2021/05/18/3 (새 창)
- openwall.com http://www.openwall.com/lists/oss-security/2021/05/18/2 (새 창)