🔍 CVE-2025-68803

8.0
CVSS Score
HIGH
2026-01-13
2026-10-19 19:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 NFSD에서 NFSv4 파일 생성 시 ACL(액세스 제어 목록) 설정이 누락되는 취약점이 발견되었습니다. nfsd_attrs_valid() 함수가 POSIX ACL 변경 사항을 확인하지 않아, 클라이언트가 요청한 ACL 대신 파일 모드 비트에 기반한 기본 ACL만 적용됩니다. 이는 RFC 8881 표준을 위반하며 보안 설정이 의도와 다르게 적용될 수 있음을 의미합니다.

💡 쉬운 설명

파일을 만들 때 특정 사용자에게만 권한을 주려고 설정해도, 시스템이 이를 무시하고 일반적인 권한으로만 파일을 만들어버리는 문제입니다. 이로 인해 보안 설정이 제대로 적용되지 않아 권한 관리에 허점이 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: NFSD: NFSv4 file creation neglects setting ACL An NFSv4 client that sets an ACL with a named principal during file creation retrieves the ACL afterwards, and finds that it is only a default ACL (based on the mode bits) and not the ACL that was requested during file creation. This violates RFC 8881 section 6.4.1.3: "the ACL attribute is set as given". The issue occurs in nfsd_create_setattr(), which calls nfsd_attrs_valid() to determine whether to call nfsd_setattr(). However, nfsd_attrs_valid() checks only for iattr changes and security labels, but not POSIX ACLs. When only an ACL is present, the function returns false, nfsd_setattr() is skipped, and the POSIX ACL is never applied to the inode. Subsequently, when the client retrieves the ACL, the server finds no POSIX ACL on the inode and returns one generated from the file's mode bits rather than returning the originally-specified ACL.

📍 영향받는 시스템

Linux kernel (NFSv4를 사용하는 시스템)

⚔️ 공격 벡터

NFSv4 클라이언트를 통해 파일을 생성할 때 특정 ACL을 요청하여 서버의 권한 설정 미비 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel