🔍 CVE-2004-2343

7.2
CVSS Score
HIGH
2004-12-31
2026-06-16 22:09
✅ 완료

🇰🇷 한글 설명

Apache HTTP Server 2.0.47 이전 버전에서 ErrorDocument 지시어를 악용하여 .htaccess 파일의 접근 제한(Deny From All 등)을 우회할 수 있는 취약점입니다. 로컬 사용자가 httpd.conf에서 설정한 보안 정책을 무시하고 제한된 리소스에 접근할 수 있습니다.

💡 쉬운 설명

Apache 웹 서버의 오류 페이지 설정을 이용하면, 관리자가 금지한 파일들을 접근할 수 있게 되는 문제입니다. 로컬 사용자만 악용 가능합니다.

🇺🇸 원문 (English)

Apache HTTP Server 2.0.47 and earlier allows local users to bypass .htaccess file restrictions, as specified in httpd.conf with directives such as Deny From All, by using an ErrorDocument directive. NOTE: the vendor has disputed this issue, since the .htaccess mechanism is only intended to restrict external web access, and a local user already has the privileges to perform the same operations without using ErrorDocument

📍 영향받는 시스템

Apache HTTP Server 2.0.47 이전 버전

⚔️ 공격 벡터

ErrorDocument 지시어를 .htaccess 파일에 추가하여 Deny From All 등의 접근 제한 우회

🛡️ 대응 방법

Apache HTTP Server 2.0.48 이상으로 업그레이드 또는 ErrorDocument 지시어 사용 제한

🔧 검증 코드

Apache 버전이 2.0.48 이상인지 확인. 2.0.47 이하면 취약함

Shell / Script
httpd -v 2>/dev/null | grep -oE 'Apache/[0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

CVSS Vector
AV:L/AC:L/Au:N/C:C/I:C/A:C

💻 영향받는 소프트웨어

Apache HTTP Server