🔍 CVE-2008-6513

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

🇰🇷 한글 설명

Andy's PHP Knowledgebase (aphpkb) 0.92.9의 saa.php에서 파일 확장자 검증이 부족하여 원격 공격자가 실행 가능한 파일을 업로드할 수 있는 취약점입니다. 업로드된 파일은 authors.php를 통해 접근 가능하여 임의 코드 실행으로 이어집니다.

💡 쉬운 설명

웹사이트의 파일 업로드 기능이 위험한 파일 형식(예: .php)을 제대로 차단하지 못합니다. 공격자가 악의적인 프로그램을 업로드한 후 실행할 수 있게 되는 문제입니다.

🇺🇸 원문 (English)

Unrestricted file upload vulnerability in saa.php in Andy's PHP Knowledgebase (aphpkb) 0.92.9 allows remote attackers to execute arbitrary code by uploading a file with an executable extension, then accessing it via a link that is listed by authors.php.

📍 영향받는 시스템

Andy's PHP Knowledgebase (aphpkb) 버전 0.92.9 이하

⚔️ 공격 벡터

saa.php에 실행 가능한 확장자(.php 등)의 파일을 업로드하고 authors.php 링크를 통해 액세스하여 코드 실행

🛡️ 대응 방법

aphpkb를 최신 버전으로 업그레이드하거나, 파일 업로드 시 확장자 화이트리스트 검증 및 업로드 디렉토리의 PHP 실행 권한 제거

🔧 검증 코드

취약한 aphpkb 파일이 설치되어 있으면 saa.php와 authors.php 경로가 표시됩니다. 결과가 없으면 해당 소프트웨어가 설치되지 않았거나 제거된 상태입니다.

Shell / Script
find /var/www -name 'saa.php' -o -name 'authors.php' 2>/dev/null | head -5

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP