🔍 CVE-2007-2777

7.5
CVSS Score
HIGH
2007-05-21
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

AlstraSoft Template Seller Pro의 admin/addsptemplate.php에서 zip 파라미터를 통해 임의의 PHP 파일을 sptemplates/ 디렉토리에 업로드할 수 있는 무제한 파일 업로드 취약점입니다. 인증 없이 PHP 코드를 실행할 수 있어 서버 완전 장악이 가능합니다.

💡 쉬운 설명

웹사이트 관리 도구의 업로드 기능이 PHP 파일 필터링을 제대로 하지 않아, 공격자가 악성 PHP 파일을 서버에 업로드하고 실행할 수 있습니다. 이를 통해 공격자가 서버를 완전히 제어할 수 있습니다.

🇺🇸 원문 (English)

Unrestricted file upload vulnerability in admin/addsptemplate.php in AlstraSoft Template Seller Pro 3.25 and earlier allows remote attackers to execute arbitrary PHP code via an arbitrary .php filename in the zip parameter, which is created under sptemplates/.

📍 영향받는 시스템

AlstraSoft Template Seller Pro 3.25 이하

⚔️ 공격 벡터

admin/addsptemplate.php의 zip 파라미터에 .php 파일명을 포함하여 POST 요청 전송 후 sptemplates/ 디렉토리에서 실행

🛡️ 대응 방법

3.26 이상으로 업그레이드하거나 파일 업로드 기능 비활성화 및 .php 파일 확장자 필터링 추가

🔧 검증 코드

addsptemplate.php 파일이 발견되면 해당 버전 확인 필요, sptemplates 디렉토리 발견 시 권한 및 내용 검증 (실행 권한 제거 및 .php 파일 삭제)

Shell / Script
find /var/www -name 'addsptemplate.php' 2>/dev/null && find / -name 'sptemplates' -type d 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP