🔍 CVE-2013-10070

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

🇰🇷 한글 설명

PHP-Charts v1.0의 wizard/url.php에서 GET 매개변수명이 eval() 함수에 직접 전달되어 PHP 코드 실행 취약점이 발생합니다. 원격 공격자는 임의의 PHP 코드를 주입하여 웹 서버 컨텍스트에서 코드를 실행할 수 있으며, Base64 인코딩된 페이로드를 통해 시스템 명령어를 실행할 수 있습니다.

💡 쉬운 설명

PHP-Charts 프로그램의 특정 부분에서 사용자가 보낸 명령어를 검증하지 않고 바로 실행해버리는 문제입니다. 누구나 인터넷을 통해 악의적인 명령어를 보내 웹 서버를 완전히 장악할 수 있습니다.

🇺🇸 원문 (English)

PHP-Charts v1.0 contains a PHP code execution vulnerability in wizard/url.php, where user-supplied GET parameter names are passed directly to eval() without sanitization. A remote attacker can exploit this flaw by crafting a request that injects arbitrary PHP code, resulting in command execution under the web server's context. The vulnerability allows unauthenticated attackers to execute system-level commands via base64-encoded payloads embedded in parameter names, leading to full compromise of the host system.

📍 영향받는 시스템

PHP-Charts v1.0

⚔️ 공격 벡터

HTTP GET 요청의 매개변수명에 PHP 코드를 삽입하여 서버에서 실행

🛡️ 대응 방법

PHP-Charts를 최신 버전으로 업그레이드하거나 eval() 함수 제거 및 입력값 검증 추가

🔧 검증 코드

결과가 표시되면 해당 경로의 파일에서 eval() 함수가 사용되고 있어 취약점이 존재할 가능성이 있습니다.

Shell / Script
find / -name 'url.php' -path '*/wizard/*' 2>/dev/null | xargs grep -l 'eval(' 2>/dev/null

💻 영향받는 소프트웨어

PHP