Wiz가 Google Cloud에 합류: 함께 마법을 만드는 것

CVE-2026-61512: 
NixOS 취약점 분석 및 완화

개요

CVE-2026-61512 is an OS command injection vulnerability in VeraCrypt's CoreUnix::CheckFilesystem function on Linux that allows a local attacker with same-UID access and an active elevated CoreService session to execute arbitrary commands as root. It affects all VeraCrypt versions before 1.26.30 on Linux (vendor: IDRIX). The vulnerability was reported privately on July 12, 2026 by researcher Haitam Lazaar, with a 120-day embargo expiring November 9, 2026, and publicly disclosed on November 24, 2026. It carries a CVSS v3.1 base score of 7.0 (High) and a CVSS v4.0 base score of 7.3 (High) (GitHub Advisory, Feedly).

기술적 세부사항

The root cause (CWE-78: Improper Neutralization of Special Elements used in an OS Command) lies in CoreUnix::CheckFilesystem, where the VirtualDevice field from a CheckFilesystemRequest is concatenated unsanitized into a shell command string passed to a terminal emulator via sh -c. The vulnerable code constructs a string such as fsck -n <VirtualDevice>; echo '[Done]'; read W, which is then evaluated by a root-owned shell when a terminal (e.g., urxvt, xterm) is launched by the elevated CoreService. An attacker exploits this by reopening the VeraCrypt GUI process's writable pipe descriptor via /proc/<pid>/fd/<n> — accessible because the pipe is not protected against same-UID inspection — and writing a crafted serialized CheckFilesystemRequest with a payload like /dev/null; <command> as the VirtualDevice value (PoC Repo, GitHub Advisory). Exploitation requires: (1) local access as the same UID as the running VeraCrypt GUI process, (2) an active elevated CoreService session (i.e., a volume mount operation in progress or recently completed), (3) a suitable terminal emulator installed and a usable display connection.

영향

Successful exploitation grants the attacker arbitrary command execution with root privileges via the VeraCrypt CoreService. This results in full confidentiality, integrity, and availability compromise of the affected Linux system — an attacker can read or exfiltrate any file, modify system configuration (e.g., write a passwordless sudoers entry to /etc/sudoers.d/), install persistent backdoors, or disrupt system operation. The scope is limited to the local system (no subsequent system impact per CVSS v4.0), but root access enables lateral movement within the environment and full control over any encrypted volumes managed by VeraCrypt (GitHub Advisory, PoC Repo).

악용 가능성

A public proof-of-concept exploit written in C (exploit/poc_checkfs_inject.c) is available on GitHub, with build and run instructions; its default payload writes a passwordless sudoers entry to /etc/sudoers.d/vc_pwned and then spawns a root shell via sudo su - (PoC Repo). As of the disclosure date, there is no evidence of in-the-wild exploitation, and no threat actor attribution has been reported. The EPSS score is approximately 1.003% (62nd percentile), and the vulnerability is not listed in the CISA KEV catalog. NVD classifies exploitation status as "poc" with non-automatable exploitation (GitHub Advisory).

착취 단계

  1. Reconnaissance: Confirm the target Linux system is running VeraCrypt before version 1.26.30 with an active elevated CoreService session (i.e., a volume is mounted or a mount operation is in progress). Verify you are running as the same UID as the VeraCrypt GUI process.
  2. Locate the VeraCrypt process: Enumerate /proc/<pid>/status for the Uid field and /proc/<pid>/exe to identify VeraCrypt processes owned by the same UID (as implemented in is_veracrypt_pid() in the PoC).
  3. Identify the writable pipe: Parse /proc/<pid>/fdinfo/<fd> for O_WRONLY flags and confirm the file descriptor target begins with pipe:, then open /proc/<pid>/fd/<fd> with O_WRONLY to gain access to the IPC pipe between the GUI and the root CoreService (find_veracrypt_pipe() in the PoC).
  4. Craft the malicious request: Serialize a CheckFilesystemRequest with ElevateUserPrivileges=1 and set the VolumeInfo.VirtualDevice field to an injected payload such as /dev/null; echo '<user> ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/vc_pwned; chmod 440 /etc/sudoers.d/vc_pwned (build_checkfs_req() and build_volume_info() in the PoC).
  5. Write the payload to the pipe: Use write_all() to send the serialized packet to the opened pipe file descriptor, then close it. The root CoreService reads the request and passes the unsanitized VirtualDevice value into a shell command string executed via a terminal emulator.
  6. Achieve root shell: Poll for the creation of /etc/sudoers.d/vc_pwned (up to 10 seconds), then execute sudo su - to obtain an interactive root shell (PoC Repo).

타협의 징후

  • File System: Presence of /etc/sudoers.d/vc_pwned or other unexpected files in /etc/sudoers.d/ with NOPASSWD:ALL entries; unexpected new files in /tmp or system directories created by the VeraCrypt service account.
  • Process: Unusual child processes spawned by the VeraCrypt CoreService (e.g., /bin/bash, sudo, su, xterm, urxvt) with root privileges; sudo su - invocations immediately following VeraCrypt activity.
  • Logs: Entries in /var/log/auth.log or /var/log/sudo.log showing sudo su executed by a non-root user without password authentication; unexpected fsck invocations with anomalous device arguments containing semicolons or shell metacharacters.
  • Network: Outbound connections from the system initiated by processes running as root shortly after VeraCrypt CoreService activity (potential reverse shell indicator).
  • File System: Unexpected executables or scripts written to world-writable directories by a process running as root during or after a VeraCrypt mount operation (PoC Repo).

완화 및 우회 방법

Upgrade VeraCrypt to version 1.26.30 or later, which introduces a Linux CheckFilesystem override that verifies volume ownership against auxiliary mount metadata and validates the underlying device-mapper/loop device before delegating to the Unix checker, blocking the original injection vector (VeraCrypt Releases, Patch Commit). Version 1.26.31 additionally prevents programs launched by VeraCrypt from inheriting the pipes between its interface and service, extending the protection. As a workaround where immediate upgrade is not possible: restrict access to /proc/<pid>/fd/ for VeraCrypt processes (e.g., via kernel hardening settings such as kernel.yama.ptrace_scope), limit which users can run VeraCrypt, and avoid leaving elevated CoreService sessions active when not in use. Note that as of 1.26.31, the underlying shell command construction in shared Unix code remains, and the draft IPC authentication and process hardening (prctl(PR_SET_DUMPABLE, 0)) changes have not yet been fully integrated into public releases (PoC Repo).

커뮤니티 반응

The VeraCrypt maintainer engaged in coordinated disclosure with the researcher, sharing a private draft patch on July 20, 2026 that proposed two defenses: disabling process dumpability via prctl(PR_SET_DUMPABLE, 0) and adding per-instance IPC authentication tokens. The researcher confirmed these protections would effectively close the attack surface, though the full draft changes were not included in the public 1.26.30 or 1.26.31 releases (PoC Repo). No significant broader media coverage or notable social media reactions have been identified beyond the technical disclosure.

추가 리소스


소스: 이 보고서는 AI를 사용해 생성되었습니다

관련 NixOS 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 악용

수정 사항이 있습니다

출판일

CVE-2026-136716CRITICAL9.8
  • NixOS logoNixOS
  • drupal
네네Nov 26, 2026
CVE-2026-132165CRITICAL9.8
  • NixOS logoNixOS
  • drupal
네네Nov 26, 2026
CVE-2026-61513HIGH7.3
  • NixOS logoNixOS
  • veracrypt
아니요아니요Nov 24, 2026
CVE-2026-61512HIGH7.3
  • NixOS logoNixOS
  • veracrypt
아니요네Nov 24, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-headers-more
아니요네Nov 18, 2026

무료 취약점 평가

클라우드 보안 포세를 벤치마킹하세요

9개 보안 영역에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 파악하세요.

요청 평가

추가 Wiz 리소스

맞춤형 데모를 받아보세요

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭CISO
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자