🔍 CVE-2006-4651

5.0
CVSS Score
MEDIUM
2006-09-09
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

threesquared.net(Ben Speakman)의 PHP 다운로드 스크립트 내 download/index.php 및 download.php에서 디렉토리 트래버설 취약점이 발견되었습니다. 공격자는 file 파라미터에 '..' 시퀀스를 삽입하여 서버 내의 임의의 로컬 파일을 덮어쓸 수 있습니다.

💡 쉬운 설명

웹사이트의 파일 다운로드 기능에서 경로를 조작해 서버의 중요한 파일을 마음대로 수정할 수 있는 약점이 있습니다. 해커가 특수 문자를 이용해 원래 접근해서는 안 될 파일에 접근하고 내용을 바꿀 수 있는 위험한 상태입니다.

🇺🇸 원문 (English)

Directory traversal vulnerability in download/index.php, and possibly download.php, in threesquared.net (aka Ben Speakman) Php download allows remote attackers to overwrite arbitrary local files via .. (dot dot) sequence in the file parameter.

📍 영향받는 시스템

threesquared.net (Ben Speakman) Php download script

⚔️ 공격 벡터

HTTP 요청의 file 파라미터에 ../ 경로 조작 문자열을 삽입하여 임의 파일 덮어쓰기 수행

🛡️ 대응 방법

사용자 입력값에서 '..' 및 '/'와 같은 경로 조작 문자를 필터링하는 입력값 검증 로직을 추가하십시오.

🔧 검증 코드

해당 파일들이 존재한다면 취약한 스크립트가 설치된 것이므로 소스 코드의 경로 검증 여부를 확인해야 합니다.

Shell / Script
ls -l download/index.php download.php 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP