🔍 CVE-2017-9798

7.5
CVSS Score
HIGH
2017-09-18
2026-06-17 01:28
✅ 완료

🇰🇷 한글 설명

Apache httpd의 use-after-free 취약점으로, 원격 공격자가 인증 없이 OPTIONS HTTP 요청을 통해 프로세스 메모리에서 민감한 데이터를 읽을 수 있습니다. .htaccess 파일의 Limit 지시문이나 httpd.conf의 오류 설정으로 인해 발생하며, Optionsbleed로도 알려져 있습니다.

💡 쉬운 설명

Apache 웹 서버가 특정 조건에서 메모리에 저장된 암호나 토큰 같은 비밀 정보를 인터넷을 통해 노출시킬 수 있는 버그입니다. 누구나 특별한 요청을 보내서 이 정보를 빼낼 수 있습니다.

🇺🇸 원문 (English)

Apache httpd allows remote attackers to read secret data from process memory if the Limit directive can be set in a user's .htaccess file, or if httpd.conf has certain misconfigurations, aka Optionsbleed. This affects the Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27. The attacker sends an unauthenticated OPTIONS HTTP request when attempting to read secret data. This is a use-after-free issue and thus secret data is not always sent, and the specific data depends on many factors including configuration. Exploitation with .htaccess can be blocked with a patch to the ap_limit_section function in server/core.c.

📍 영향받는 시스템

Apache httpd 2.2.0~2.2.34, 2.4.0~2.4.27

⚔️ 공격 벡터

unauthenticated OPTIONS HTTP request to read process memory via Limit directive misconfiguration

🛡️ 대응 방법

Apache httpd를 2.2.35 이상 또는 2.4.28 이상으로 업그레이드하거나 ap_limit_section 함수 패치 적용

🔧 검증 코드

Apache 버전이 2.2.34 이하 또는 2.4.27 이하이면 취약함; 2.2.35+ 또는 2.4.28+이면 패치됨

Shell / Script
apache2 -v 2>/dev/null || httpd -v 2>/dev/null | grep -oP 'Apache/\K[\d.]+' || dpkg -l 2>/dev/null | grep -i apache2 | awk '{print $3}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server