🔍 CVE-2012-3576

10.0
CVSS Score
HIGH
2012-06-16
2026-04-29 01:13
✅ 완료

🇰🇷 한글 설명

WordPress wpStoreCart 플러그인 2.5.30 이전 버전의 php/upload.php에서 파일 업로드 검증이 불충분하여 공격자가 실행 가능한 확장자 파일을 업로드할 수 있습니다. 업로드된 파일에 직접 접근하여 임의의 PHP 코드를 서버에서 실행할 수 있습니다.

💡 쉬운 설명

WordPress 플러그인의 파일 업로드 기능에서 위험한 파일(PHP 등)을 막지 않아서 누구나 서버를 제어하는 파일을 올릴 수 있습니다. 올린 파일을 직접 실행하면 전체 웹사이트를 장악할 수 있습니다.

🇺🇸 원문 (English)

Unrestricted file upload vulnerability in php/upload.php in the wpStoreCart plugin before 2.5.30 for WordPress allows remote attackers to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in uploads/wpstorecart.

📍 영향받는 시스템

WordPress wpStoreCart plugin <= 2.5.29 (모든 버전)

⚔️ 공격 벡터

공격자가 웹 업로드 폼을 통해 PHP 또는 실행 가능한 파일을 uploads/wpstorecart/ 디렉토리에 업로드한 후 직접 URL 접근으로 코드 실행

🛡️ 대응 방법

wpStoreCart 플러그인을 2.5.30 이상으로 즉시 업데이트하거나, 업로드 디렉토리의 PHP 실행 권한을 제거 (.htaccess 또는 nginx 설정으로 차단)

🔧 검증 코드

플러그인이 설치되어 있으면 디렉토리를 출력하고 메인 파일의 Version 줄을 표시합니다. 2.5.30 미만이면 취약하고, 설치되지 않았으면 'Not installed'가 표시됩니다.

Shell / Script
find /var/www/html/wp-content/plugins -type d -iname '*storecart*' 2>/dev/null && head -30 /var/www/html/wp-content/plugins/wpstorecart/wp-store-cart.php 2>/dev/null | grep -i Version || echo 'Not installed'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP