🔍 CVE-2006-4156

7.5
CVSS Score
HIGH
2006-08-16
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

Pearlabs Mafia Moblog의 big.php 파일에서 pathtotemplate 매개변수를 통해 원격 파일을 포함시킬 수 있는 취약점입니다. 공격자는 악의적인 URL을 제공하여 임의의 PHP 코드를 실행할 수 있습니다. 이는 완전한 서버 제어로 이어질 수 있습니다.

💡 쉬운 설명

웹사이트가 사용자가 제공한 URL에서 파일을 다운로드하여 실행하는 문제입니다. 해커가 악의적인 코드가 담긴 파일 URL을 보내면 서버가 그것을 실행해버립니다.

🇺🇸 원문 (English)

PHP remote file inclusion vulnerability in big.php in pearlabs mafia moblog 6 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the pathtotemplate parameter. NOTE: a third party claims that the researcher is incorrect, because template.php defines pathtotemplate before big.php uses pathtotemplate. CVE has not verified either claim, but during August 2006, the original researcher made several significant errors regarding this bug type

📍 영향받는 시스템

Pearlabs Mafia Moblog 6.0 이하 버전

⚔️ 공격 벡터

pathtotemplate 파라미터에 외부 URL 주입을 통한 원격 파일 포함(RFI) 공격

🛡️ 대응 방법

최신 버전으로 업그레이드하거나, 사용자 입력값 검증 및 파일 포함 함수 제한 구현

🔧 검증 코드

big.php 파일을 찾아 pathtotemplate 매개변수 사용 여부를 확인합니다. 결과가 나오면 해당 시스템이 영향을 받을 수 있습니다.

Shell / Script
find /var/www -name 'big.php' 2>/dev/null | xargs grep -l 'pathtotemplate' 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP