메뉴
BL
Ars Technica 49일 전

리눅스 치명적 취약점의 원인은 단 하나의 오타

IMP
8/10
핵심 요약

리눅스 커널의 핵심 방화벽 하위 시스템인 nf_tables에서 단 한 글자의 잘못된 기호로 인해 심각한 권한 상승 취약점(CVE-2026-23111)이 발생했습니다. 이 취약점은 메모리 use-after-free 문제를 유발하여, 권한이 없는 일반 사용자가 시스템 제어권을 최고 수준인 root 권한으로 쉽게 탈취할 수 있게 만듭니다. 해당 문제는 최신 커널 업데이트를 통해 이미 패치되었으나, 시스템 보안을 위협하는 매우 강력한 결함으로 평가받고 있습니다.

번역된 본문

연구원들이 리눅스에서 높은 심각도를 가진 취약점을 분석했습니다. 이 취약점은 커널 내부의 단 하나의 잘못된 문자를 악용해 신뢰할 수 없는 사용자를 root 권한으로 끌어올릴 수 있습니다. 흔히 볼 수 없는 종류의 버그입니다.

CVE-2026-23111로 추적되는 이 취약점은 패킷 필터링 기능을 제공하는 리눅스 커널의 하위 시스템인 nf_tables에 위치해 있습니다. 이 시스템은 방화벽 규칙을 관리하는 데 사용되며 iptables, ip6tables, arptables, ebtables와 같은 구형 하위 시스템을 대체합니다.

nf_tables를 구현하는 코드에 단 하나의 잘못 배치된 느낌표(!)가 존재하여 Use-after-free(해제 후 사용) 취약점이 발생했습니다. 이 클래스의 취약점은 이전 내용이 제대로 해제되지 않은 메모리 주소에 악성 코드를 배치하여 메모리를 손상시킵니다.

CVE-2026-23111은 권한이 없는 사용자나 프로세스에 의해 악용되어 시스템 권한을 root로 상승시킬 수 있습니다. 이 익스플로잇은 nf_tables 프레임워크 내에서 특정 패킷이 규칙과 일치하여 수행할 동작을 결정하는 '판결(verdict)'의 삭제 과정을 방해하는 방식으로 작동합니다. 이 과정에서는 조회 시 세트의 다른 요소와 일치하지 않는 경우 와일드카드 역할을 하는 'catchall 요소'를 사용할 수 있습니다.

판결 맵(verdict map)이 메모리에서 삭제될 때, catchall 요소는 비활성화되고 체인의 참조 카운터(reference counter)가 감소합니다. 오류 발생 시 삭제는 되돌려지고 카운터가 다시 증가할 수 있습니다. CVE-2026-23111은 이 과정을 변조하는 것을 가능하게 합니다. 그 결과, 익스플로잇은 해당 변수를 임의의 횟수만큼 감소시킨 다음, 일부 객체가 여전히 이를 가리키고 있을 때 체인을 삭제하고 메모리에서 해제할 수 있습니다.

보안 업체 Exodus Intelligence의 연구원들은 월요일에 다음과 같이 밝혔습니다. "이 블로그 게시물에서는 잘못된 느낌표 하나가 어떻게 Use-after-free 취약점을 초래하여 Debian 및 Ubuntu에서 권한 없는 사용자가 root로 권한을 상승시키는 데 악용될 수 있는지 보여주었습니다. 이 익스플로잇은 커널 베이스 주소를 유출하고, 힙 주소를 유출하며, 제어 흐름을 가로채기 위해 Use-after-free 취약점을 여러 번 트리거하지만, 안정성 테스트 결과 유휴 상태의 시스템에서 99% 이상의 안정성을 보였습니다."

이 취약점은 2월에 커널에서 수정되었습니다. 보안 업체 FuzzingLabs는 4월에 개념 증명(PoC) 익스플로잇을 시연했습니다. 이 버그를 발견한 Exodus Intelligence는 월요일 게시물에 자체적인 PoC 익스플로잇을 포함시켰습니다. 이는 Debian 및 Ubuntu에서 작동했습니다.

CVE-2026-23111은 최근 몇 주 동안 리눅스를 강타한 최소 세 가지 강력한 권한 상승 취약점 중 하나입니다. 이러한 취약점은 다른 공격과 연계(chained)될 경우 OS에 내장된 보안 방어 기능을 우회하는 데 사용될 수 있기 때문에 매우 심각한 것으로 간주됩니다.

원문 보기
원문 보기 (영어)
Text settings Story text Size Small Standard Large Width * Standard Wide Links Standard Orange * Subscribers only Learn more Minimize to nav Researchers have analyzed a high-severity vulnerability in Linux that’s able to escalate untrusted users to root by exploiting a bug you don’t often see: a single errant character inside the kernel. The vulnerability, tracked as CVE-2026-23111 , is located in nf_tables, a subsystem of the Linux kernel that provides packet filtering capabilities. It’s used to manage firewall rules and replaces older subsystems such as iptables, ip6tables, arptables, and ebtables. !!!WTF!!! The presence of a single mis-issued exclamation point in code implementing nf_tables introduced a use-after-free, a class of vulnerability that corrupts memory by placing malicious code at memory addresses that haven’t been properly freed of their previous contents. CVE-2026-23111 can be exploited by an unprivileged user or process to elevate system rights to root. The exploit works by disrupting the deletion of verdicts—a determination within the nf_tables framework that determines if a packet matches a rule calling for a certain action to be performed. This process can use what are known as catchall elements, which act as a wildcard in the event a lookup doesn’t match any other element in the set. When a verdict map is deleted from memory, catchall elements are deactivated and a chain’s reference counter is decremented. When errors occur the deletion can be reversed and the counter incremented. CVE-2026-53111 allows for that process to be altered. As a result, the exploit can decrement the variable an arbitrary number of times and then delete and free the chain when some objects still point to it. “In this blog post, we have seen how one incorrect exclamation mark introduced a use-after-free vulnerability which can be exploited by an unprivileged user on Debian and Ubuntu to escalate privileges to root,” researchers from security firm Exodus Intelligence wrote Monday . “Although the exploit triggers the use-after-free vulnerability multiple times to leak the kernel base address, leak heap addresses, and hijack the control flow, the stability tests resulted in a stability of >99% on an idle system.” The vulnerability was fixed in the kernel in February. Security firm FuzzingLabs demonstrated a proof of concept exploit in April. Exodus Intelligence, which discovered the bug, included its own PoC exploit in Monday’s post. It worked on Debian and Ubuntu. CVE-2026-53111 is one of at least three potent elevation-of-privilege vulnerabilities to hit Linux in recent weeks. The vulnerabilities are serious, because, when chained to a separate exploit, they can be used to evade security defenses baked into the OS. Dan Goodin Senior Security Editor Dan Goodin Senior Security Editor Dan Goodin is Senior Security Editor at Ars Technica, where he oversees coverage of malware, computer espionage, botnets, hardware hacking, encryption, and passwords. In his spare time, he enjoys gardening, cooking, and following the independent music scene. Dan is based in San Francisco. Follow him at here on Mastodon and here on Bluesky. Contact him on Signal at DanArs.82. 14 Comments