🔍 CVE-2007-5733

7.5
CVSS Score
HIGH
2007-10-30
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

일본 PHP Gallery Hosting의 upload/upload.php에서 파일 업로드 검증이 불충분하여, Open directory 모드 활성화 시 ServerPath 파라미터를 통해 이중 확장자 파일을 업로드할 수 있는 취약점입니다. 공격자가 임의의 PHP 코드를 서버에 업로드하여 원격 실행할 수 있으며, 서버 전체 장악으로 이어질 수 있습니다.

💡 쉬운 설명

파일 업로드 기능에서 보안 검사가 제대로 작동하지 않아 해커가 악성 프로그램 파일을 웹서버에 올릴 수 있는 문제입니다. 해커가 업로드한 파일을 웹으로 접근하면 자동 실행되어 서버를 완전히 제어당할 수 있습니다.

🇺🇸 원문 (English)

Unrestricted file upload vulnerability in upload/upload.php in Japanese PHP Gallery Hosting, when Open directory mode is enabled, allows remote attackers to upload and execute arbitrary PHP code via a ServerPath parameter specifying a filename with a double extension. NOTE: some of these details are obtained from third party information.

📍 영향받는 시스템

Japanese PHP Gallery Hosting (모든 취약한 버전)

⚔️ 공격 벡터

Open directory 모드에서 upload/upload.php의 ServerPath 파라미터를 이용해 이중 확장자 파일 업로드로 PHP 코드 원격 실행

🛡️ 대응 방법

파일 업로드 검증 강화, Open directory 모드 비활성화, 업로드된 PHP 파일 직접 실행 방지, 파일명 검증 및 확장자 화이트리스트 적용

🔧 검증 코드

명령어가 파일을 찾으면 해당 애플리케이션이 설치되어 있는 것이며, CVE-2007-5733 패치 적용 여부를 확인하고 필요시 즉시 업그레이드 또는 보안 설정 변경을 수행해야 합니다.

Shell / Script
find /var/www -name upload.php -path '*/upload/*' -type f 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP