🔍 CVE-2008-6849

6.8
CVSS Score
MEDIUM
2009-07-07
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

phpGreetCards 3.7의 index.php에서 업로드된 파일의 확장자를 검증하지 않아 공격자가 실행 가능한 PHP 파일을 업로드할 수 있는 무제한 파일 업로드 취약점입니다. userfiles/number_shell.php를 통해 업로드된 파일에 접근하여 임의의 PHP 코드를 실행할 수 있습니다.

💡 쉬운 설명

웹사이트에 원하는 어떤 파일이든 업로드할 수 있는 보안 구멍이 있습니다. 공격자가 이를 이용해 악성 프로그램을 심고 실행할 수 있습니다.

🇺🇸 원문 (English)

Unrestricted file upload vulnerability in index.php in phpGreetCards 3.7 allows remote attackers to execute arbitrary PHP code by uploading a file with an executable extension, then accessing it via a via a link that is listed by userfiles/number_shell.php.

📍 영향받는 시스템

phpGreetCards 3.7 이하

⚔️ 공격 벡터

파일 업로드 폼을 통해 PHP 파일을 업로드한 후 업로드된 파일 경로에 접근하여 코드 실행

🛡️ 대응 방법

phpGreetCards를 최신 버전으로 업그레이드하거나 파일 업로드 기능을 제거하고, 업로드 디렉토리에 대한 PHP 실행을 비활성화합니다.

🔧 검증 코드

phpGreetCards 설치 경로가 표시되면 해당 버전을 확인하여 3.7 이하인지 검증하고, number_shell.php 존재 여부로 취약점 노출 여부를 판단합니다.

Shell / Script
find / -name 'phpGreetCards' -o -name 'number_shell.php' 2>/dev/null | head -5

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP