🔍 CVE-2006-1078

8.4
CVSS Score
HIGH
2006-03-09
2026-06-16 22:21
✅ 완료

🇰🇷 한글 설명

htpasswd 유틸리티의 버퍼 오버플로우 취약점으로, 긴 명령행 인자나 파일 내 긴 줄을 통해 로컬 공격자가 권한 상승을 획득할 수 있습니다. 주로 Apache와 같은 웹 서버에서 사용되는 비밀번호 관리 도구의 입력 검증 부족으로 인한 문제입니다.

💡 쉬운 설명

웹 서버의 비밀번호 파일 생성 도구(htpasswd)에 버그가 있어서, 특정한 방식으로 긴 텍스트를 입력하면 시스템 제어권을 빼앗을 수 있습니다. 이 버그는 주로 관리자 권한으로 실행되는 환경에서 위험합니다.

🇺🇸 원문 (English)

Multiple buffer overflows in htpasswd, as used in Acme thttpd 2.25b, and possibly other products such as Apache, might allow local users to gain privileges via (1) a long command line argument and (2) a long line in a file. NOTE: since htpasswd is normally installed as a non-setuid program, and the exploit is through command line options, perhaps this issue should not be included in CVE. However, if there are some typical or recommended configurations that use htpasswd with sudo privileges, or common products that access htpasswd remotely, then perhaps it should be included.

📍 영향받는 시스템

Acme thttpd 2.25b, Apache htpasswd 및 이를 사용하는 유사 제품

⚔️ 공격 벡터

로컬 공격자가 매우 긴 명령행 인자나 파일 내용을 전달하여 메모리 버퍼를 오버플로우 시키는 방식

🛡️ 대응 방법

htpasswd를 최신 버전으로 업데이트하고, sudo 권한으로 실행되지 않도록 설정 검토

🔧 검증 코드

htpasswd의 설치 위치와 버전 정보를 확인하고, 현재 시스템에 영향받는 버전이 있는지 검토합니다.

Shell / Script
which htpasswd && htpasswd -v 2>/dev/null || echo 'htpasswd not installed'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Sudo