🔍 CVE-2011-0419

4.3
CVSS Score
MEDIUM
2011-05-16
2026-06-16 23:27
✅ 완료

🇰🇷 한글 설명

Apache Portable Runtime(APR) 라이브러리의 fnmatch 함수에서 스택 소비 취약점이 발견되었습니다. '*?' 시퀀스를 포함한 특정 패턴을 통해 공격자가 과도한 CPU와 메모리 사용을 유발할 수 있습니다. 이는 Apache HTTP Server의 mod_autoindex 등 패턴 매칭을 사용하는 서비스를 거부시킬 수 있습니다.

💡 쉬운 설명

파일 검색 기능에서 특정 문자 조합(*?)을 악용하면 서버가 과도하게 일하게 되어 응답 불가 상태가 됩니다. 정상 사용자들도 웹 서버에 접속할 수 없게 되는 서비스 거부 공격입니다.

🇺🇸 원문 (English)

Stack consumption vulnerability in the fnmatch implementation in apr_fnmatch.c in the Apache Portable Runtime (APR) library before 1.4.3 and the Apache HTTP Server before 2.2.18, and in fnmatch.c in libc in NetBSD 5.1, OpenBSD 4.8, FreeBSD, Apple Mac OS X 10.6, Oracle Solaris 10, and Android, allows context-dependent attackers to cause a denial of service (CPU and memory consumption) via *? sequences in the first argument, as demonstrated by attacks against mod_autoindex in httpd.

📍 영향받는 시스템

APR 1.4.3 이전, Apache HTTP Server 2.2.18 이전, NetBSD 5.1, OpenBSD 4.8, FreeBSD, macOS 10.6, Solaris 10, Android

⚔️ 공격 벡터

mod_autoindex 또는 fnmatch 함수를 사용하는 웹 서비스에 '*?' 패턴이 포함된 특수 문자열을 요청하여 스택 소비 유발

🛡️ 대응 방법

APR을 1.4.3 이상, Apache HTTP Server를 2.2.18 이상으로 업그레이드하거나 mod_autoindex 모듈 비활성화

🔧 검증 코드

설치된 패키지 버전이 APR 1.4.3 이상, Apache 2.2.18 이상인지 확인합니다

Shell / Script
dpkg -l | grep -E 'libapr1|apache2' && echo 'Check version numbers' || rpm -qa | grep -E 'apr|httpd'

📊 CVSS Vector String

CVSS Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P

💻 영향받는 소프트웨어

Apache HTTP Server