🔍 CVE-2017-1000363

7.8
CVSS Score
HIGH
2017-07-17
2026-05-13 00:24
✅ 완료

🇰🇷 한글 설명

Linux 커널의 drivers/char/lp.c 파일에서 bounds check 누락으로 인한 Out-of-Bounds Write 취약점입니다. Secure boot 우회 또는 bootloader 취약점을 통해 kernel command line을 제어하는 공격자가 많은 'lp=none' 인자를 추가하여 parport_nr 배열을 오버플로우시킬 수 있습니다.

💡 쉬운 설명

Linux 운영체제의 병렬 포트 드라이버에서 입력값 검증이 부족하여 특수하게 조작된 부팅 명령으로 메모리 초과 쓰기가 가능합니다. 이를 통해 시스템 권한 상승이나 커널 코드 실행이 가능할 수 있습니다.

🇺🇸 원문 (English)

Linux drivers/char/lp.c Out-of-Bounds Write. Due to a missing bounds check, and the fact that parport_ptr integer is static, a 'secure boot' kernel command line adversary (can happen due to bootloader vulns, e.g. Google Nexus 6's CVE-2016-10277, where due to a vulnerability the adversary has partial control over the command line) can overflow the parport_nr array in the following code, by appending many (>LP_NO) 'lp=none' arguments to the command line.

📍 영향받는 시스템

Linux kernel 2.6.30 ~ 4.11.x 버전의 drivers/char/lp.c

⚔️ 공격 벡터

Bootloader 취약점이나 보안 설정 우회를 통해 kernel command line을 제어하고, 수백 개의 'lp=none' 인자를 추가하여 parport_nr 배열 오버플로우

🛡️ 대응 방법

Linux kernel을 4.12 이상으로 업데이트하거나 공식 CVE 패치 적용

🔧 검증 코드

커널 버전이 4.12 미만이면 취약할 수 있으므로, uname -r 출력값을 확인하여 4.12 이상으로 업데이트 필요성 판단

Shell / Script
uname -r | grep -E '^[0-3]\.|^4\.[0-9]\.|^4\.1[0-1]\.' && echo 'Potentially vulnerable' || echo 'Likely patched'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel