🔍 CVE-2007-1743

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

🇰🇷 한글 설명

Apache suexec이 커맨드 라인의 사용자와 그룹 ID 조합을 검증하지 않아 발생하는 취약점입니다. 로컬 사용자가 /proc이 마운트된 시스템에서 이를 악용하여 임의의 UID/GID 소유 파일을 생성할 수 있습니다. 다만 이는 추가 취약점과 불안전한 서버 설정(document root 쓰기 권한)에 의존합니다.

💡 쉬운 설명

Apache 웹 서버의 suexec이 파일 소유자를 확인하지 않아, 로컬 사용자가 다른 사용자 권한으로 임의의 파일을 생성할 수 있습니다. 웹 문서 디렉토리의 쓰기 권한이 제한되어 있으면 문제가 없습니다.

🇺🇸 원문 (English)

suexec in Apache HTTP Server (httpd) 2.2.3 does not verify combinations of user and group IDs on the command line, which might allow local users to leverage other vulnerabilities to create arbitrary UID/GID owned files if /proc is mounted. 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." In addition, because this is dependent on other vulnerabilities, perhaps this is resultant and should not be included in CVE.

📍 영향받는 시스템

Apache HTTP Server (httpd) 2.2.3 및 suexec이 활성화된 이전 버전

⚔️ 공격 벡터

로컬 공격자가 document root에 쓰기 권한을 가지고 /proc 파일시스템 접근이 가능한 시스템에서 suexec의 검증 부재를 악용

🛡️ 대응 방법

Apache httpd를 패치된 버전으로 업그레이드하고, document root의 쓰기 권한을 제한하며, /proc 접근 제한 또는 보안 구성 검토

🔧 검증 코드

Apache 버전 2.2.0-2.2.3이 감지되면 취약하고, 그 이상의 버전이면 패치됨. 추가로 suexec 설정 파일과 document root 권한(ls -ld) 확인 권장

Shell / Script
httpd -v 2>/dev/null | grep -E 'Apache/2\.2\.[0-3]' && echo 'Vulnerable version detected' || echo 'Version appears patched or not found'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server