🔍 CVE-2017-6507

5.9
CVSS Score
MEDIUM
2017-03-24
2026-06-17 01:22
✅ 완료

🇰🇷 한글 설명

AppArmor 2.12 이전 버전에서 알려지지 않은 프로필을 부정확하게 처리하여 AppArmor 제한이 제거될 수 있습니다. /etc/apparmor.d/ 표준 경로 외 다른 위치의 프로필을 삭제하는 init 스크립트 결함으로, Docker와 LXD 같은 비표준 디렉토리에서 프로필을 관리하는 시스템이 영향을 받습니다.

💡 쉬운 설명

AppArmor 보안 도구가 일부 설정 파일을 잘못 처리하여 악의적인 사람이 보안을 우회할 수 있게 됩니다. Docker나 LXD 같은 컨테이너 도구를 사용하는 시스템에서 주로 문제가 발생합니다.

🇺🇸 원문 (English)

An issue was discovered in AppArmor before 2.12. Incorrect handling of unknown AppArmor profiles in AppArmor init scripts, upstart jobs, and/or systemd unit files allows an attacker to possibly have increased attack surfaces of processes that were intended to be confined by AppArmor. This is due to the common logic to handle 'restart' operations removing AppArmor profiles that aren't found in the typical filesystem locations, such as /etc/apparmor.d/. Userspace projects that manage their own AppArmor profiles in atypical directories, such as what's done by LXD and Docker, are affected by this flaw in the AppArmor init script logic.

📍 영향받는 시스템

AppArmor 2.11 이하 버전, LXD, Docker 및 비표준 경로에서 프로필을 관리하는 모든 시스템

⚔️ 공격 벡터

공격자가 AppArmor 프로필을 제거하도록 유도하여 프로세스의 보안 제한을 우회하고 권한을 상승시킬 수 있음

🛡️ 대응 방법

AppArmor를 2.12 이상으로 즉시 업데이트하고 시스템 재부팅

🔧 검증 코드

표시된 버전이 2.12 이상이면 패치됨, 2.11 이하면 업데이트 필요

Shell / Script
dpkg -l apparmor 2>/dev/null | grep apparmor | awk '{print $3}'

📊 CVSS Vector String

CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

💻 영향받는 소프트웨어

Docker