🔍 CVE-2012-10036

0.0
CVSS Score
UNKNOWN
2025-08-08
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

Project Pier 0.8.8 이전 버전의 tools/upload_file.php에서 인증 및 파일 타입 검증이 없어 원격 공격자가 악의적인 PHP 파일을 웹 접근 가능 디렉토리에 업로드할 수 있습니다. 업로드된 파일은 예측 가능한 이름으로 저장되며 URL로 요청하여 실행 가능하여 원격 코드 실행이 발생합니다.

💡 쉬운 설명

Project Pier라는 파일 관리 프로그램의 구버전에서 누구나 악성 파일을 서버에 업로드할 수 있는 보안 문제가 있습니다. 업로드된 파일을 웹에서 직접 실행시켜 서버를 완전히 제어할 수 있게 됩니다.

🇺🇸 원문 (English)

Project Pier 0.8.8 and earlier contains an unauthenticated arbitrary file upload vulnerability in tools/upload_file.php. The upload handler fails to validate the file type or enforce authentication, allowing remote attackers to upload malicious PHP files directly into a web-accessible directory. The uploaded file is stored with a predictable suffix and can be executed by requesting its URL, resulting in remote code execution.

📍 영향받는 시스템

Project Pier version 0.8.8 and earlier

⚔️ 공격 벡터

Unauthenticated HTTP POST request to tools/upload_file.php with malicious PHP file, exploiting missing file type validation and authentication enforcement

🛡️ 대응 방법

Upgrade to Project Pier 0.8.9+ or implement strict file validation (whitelist extensions), enforce MIME type checks, require authentication, and store uploads outside webroot

🔧 검증 코드

200/201 응답 시 인증 없이 업로드 가능(취약), 401/403 응답 시 인증 검증 구현됨(안전)

Shell / Script
curl -X POST -F '[email protected]' http://target/tools/upload_file.php -v 2>&1 | grep -E '(200|201|400|401|403)' | head -1

💻 영향받는 소프트웨어

PHP