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

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

개요

CVE-2026-61513 is a local privilege escalation (LPE) vulnerability in VeraCrypt's Linux elevated CoreService, caused by an improper path restriction in the SetFileOwner IPC handler. The vulnerability affects VeraCrypt through version 1.26.31 on Linux; Windows and macOS are not affected (macOS includes a validation branch absent on Linux). It was discovered by researcher Haitam Lazaar and reported privately on July 12, 2026, with coordinated disclosure reaching its 120-day embargo deadline on November 9, 2026, and public CVE publication on November 24, 2026. The CVE carries a CVSS v3.1 base score of 7.0 (High) and a CVSS v4.0 base score of 7.3 (High) (GitHub Advisory, PoC Repository).

기술적 세부사항

The root cause is classified as CWE-73 (External Control of File Name or Path). VeraCrypt's elevated CoreService on Linux accepts serialized SetFileOwnerRequest IPC messages containing a target file path and owner UID, passing both values directly to chown() via CoreUnix::SetFileOwner without any path validation. The macOS code path includes a ValidateMacOSXSetFileOwnerTarget() call, but no equivalent guard exists for Linux. An attacker who shares the same UID as a running VeraCrypt process with an active elevated session can reopen the service's writable request pipe via /proc/<pid>/fd/<n> and inject a crafted SetFileOwnerRequest targeting arbitrary system files such as /etc/passwd or /etc/shadow. Exploitation requires: (1) an active elevated CoreService session (i.e., a volume is mounted and administrator authentication has completed), (2) a process running as the same UID as the VeraCrypt process, and (3) the kernel allowing same-UID /proc fd access (affected by process dumpability settings) (PoC Repository, GitHub Advisory).

영향

Successful exploitation grants the attacker ownership of arbitrary privileged system files, enabling full root compromise. The demonstrated attack path changes ownership of /etc/passwd and /etc/shadow to the attacker's UID, allowing them to append a UID-0 backdoor account and obtain an interactive root shell via su. This results in complete loss of confidentiality, integrity, and availability on the affected Linux system, with potential for persistent access and lateral movement within the environment (PoC Repository, GitHub Advisory).

악용 가능성

A functional proof-of-concept exploit (exploit/poc_pipe_inject.c) is publicly available on GitHub, written in C and assessed with high confidence as a real, working exploit by Feedly threat intelligence. The PoC enumerates VeraCrypt process pipe descriptors, injects serialized SetFileOwnerRequest messages, and creates a UID-0 backdoor account. There is no evidence of in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.283% (13th percentile), reflecting low but non-negligible near-term exploitation probability. Exploitation is not automatable and requires specific local preconditions (PoC Repository, GitHub Advisory).

착취 단계

  1. Prerequisite — Establish same-UID foothold: Obtain local code execution as the same UID as a user who has an active VeraCrypt elevated CoreService session (i.e., a VeraCrypt volume is currently mounted and administrator authentication was completed).
  2. Enumerate VeraCrypt processes: Walk /proc, filter entries by matching UID in /proc/<pid>/status and executable name containing veracrypt via /proc/<pid>/exe.
  3. Identify writable pipe descriptors: For each VeraCrypt process, inspect /proc/<pid>/fdinfo/<fd> for O_WRONLY flag and confirm the /proc/<pid>/fd/<fd> symlink resolves to a pipe: target.
  4. Build and inject SetFileOwnerRequest: Serialize a SetFileOwnerRequest IPC message in the VeraCrypt big-endian, length-prefixed wire format (UTF-32LE for wide strings) with Path=/etc/passwd and Owner=<attacker_UID>. Open /proc/<pid>/fd/<fd> with O_WRONLY and write the serialized request.
  5. Verify ownership change: After a ~450ms delay, call stat() on /etc/passwd to confirm the owner UID has changed to the attacker's UID. Repeat for all candidate pipe descriptors until a hit is confirmed.
  6. Repeat for /etc/shadow: Re-serialize the request with Path=/etc/shadow and write it to the successful pipe descriptor, then verify with stat().
  7. Plant backdoor account: Generate a SHA-512 crypt hash (e.g., via openssl passwd -6 -salt VCpoc2026 toor). Open /etc/passwd and /etc/shadow in append mode and write a UID-0 entry (e.g., haxor:<hash>:0:0:root:/root:/bin/bash).
  8. Obtain root shell: Execute su - haxor and authenticate with the known password (toor) to obtain an interactive root shell.

Build command: gcc -O2 -Wall exploit/poc_pipe_inject.c -o poc_pipe_inject (PoC Repository).

타협의 징후

  • File System:

    • Unexpected ownership change on /etc/passwd or /etc/shadow to a non-root UID
    • New UID-0 entries appended to /etc/passwd (e.g., haxor:...:0:0:root:/root:/bin/bash)
    • Corresponding new entries in /etc/shadow with a recently generated SHA-512 hash
    • Presence of compiled binary poc_pipe_inject or source file poc_pipe_inject.c on disk
  • Process:

    • Unexpected su or su - haxor invocations from a non-root user process
    • Processes opening /proc/<pid>/fd/<n> of a VeraCrypt process (same-UID access)
    • openssl passwd invoked by a non-privileged user process
  • Logs:

    • PAM/auth logs (/var/log/auth.log) showing successful su authentication for an unknown UID-0 account
    • Audit logs (auditd) recording chown syscalls on /etc/passwd or /etc/shadow attributed to the VeraCrypt CoreService process
    • Audit logs showing open() of /proc/<veracrypt_pid>/fd/<n> by a sibling process
  • Network:

    • No network-based IOCs expected; this is a local privilege escalation (PoC Repository).

완화 및 우회 방법

No patched VeraCrypt release has been publicly issued as of the disclosure date; source inspection of versions 1.26.30 and 1.26.31 confirms the Linux SetFileOwner implementation remains unvalidated. During coordinated disclosure, the VeraCrypt maintainer shared a draft patch proposing three mitigations: (1) disabling frontend process dumpability via prctl(PR_SET_DUMPABLE, 0) to prevent same-UID /proc fd inspection, (2) requiring a random per-instance session token on incoming IPC requests before deserialization, and (3) canonicalizing target paths to block devices under /dev/. Until a patched release is available, administrators should restrict VeraCrypt usage to trusted users only, avoid leaving elevated CoreService sessions active longer than necessary, and consider enabling hidepid=2 on the /proc mount to limit cross-process /proc access. Monitor for unauthorized changes to /etc/passwd and /etc/shadow (PoC Repository, GitHub Advisory).

커뮤니티 반응

The vulnerability was assigned by VulnCheck during coordinated disclosure and published to the GitHub Advisory Database on November 24, 2026. The VeraCrypt maintainer engaged during the 120-day coordinated disclosure period and provided a private draft patch, though it had not been merged into public releases as of disclosure. No significant public commentary from major security researchers or media outlets has been identified beyond the PoC repository and standard vulnerability database entries (PoC Repository, GitHub Advisory).

추가 리소스


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

관련 NixOS 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 악용

수정 사항이 있습니다

출판일

CVE-2026-136716CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:drupal: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-http-geoip
아니요네Nov 18, 2026

무료 취약점 평가

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

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

요청 평가

추가 Wiz 리소스

맞춤형 데모를 받아보세요

맞춤형 데모 신청하기

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