🔍 CVE-2007-1741

6.2
CVSS Score
MEDIUM
2007-04-13
2026-06-16 22:38
✅ 완료

🇰🇷 한글 설명

Apache HTTP Server 2.2.3의 suexec에서 디렉토리 및 파일 검증과 실행 사이의 경합 조건 취약점으로, 로컬 사용자가 심볼릭 링크 공격이나 디렉토리 이름 변경을 통해 권한을 상승시킬 수 있습니다. 특히 문서 루트에 쓰기 권한이 있는 환경에서 임의 코드 실행이 가능합니다.

💡 쉬운 설명

Apache 웹 서버의 권한 변경 기능에서 파일 확인과 실행 사이의 순간에 파일을 바꾸는 방식으로 공격할 수 있습니다. 로컬 사용자가 파일/디렉토리를 조작하여 높은 권한으로 원치 않은 코드를 실행시킬 수 있습니다.

🇺🇸 원문 (English)

Multiple race conditions in suexec in Apache HTTP Server (httpd) 2.2.3 between directory and file validation, and their usage, allow local users to gain privileges and execute arbitrary code by renaming directories or performing symlink attacks. NOTE: the researcher, who is reliable, claims that the vendor disputes the issue because "the attacks described rely on an insecure server configuration" in which the user "has write access to the document root."

📍 영향받는 시스템

Apache HTTP Server 2.2.3 이전 버전 (suexec 기능 사용)

⚔️ 공격 벡터

로컬 사용자가 suexec 검증과 실행 사이의 시간차를 이용하여 심볼릭 링크 공격 또는 디렉토리 이름 변경 수행

🛡️ 대응 방법

Apache HTTP Server를 최신 패치된 버전으로 업그레이드하고 문서 루트의 접근 권한을 최소한으로 제한

🔧 검증 코드

Apache 2.2.0~2.2.3 버전이 출력되면 취약하고, 2.2.4 이상이면 패치됨

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

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server