🔍 CVE-2006-6042

6.8
CVSS Score
MEDIUM
2006-11-22
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

phpWebThings 1.5.2 이하에서 register_globals 활성화 시 core/editor.php의 editor_insert_bottom 파라미터를 통한 원격 파일 포함(RFI) 취약점. 인증 없이 원격 공격자가 임의의 PHP 코드를 실행할 수 있습니다.

💡 쉬운 설명

웹사이트의 PHP 설정이 잘못되었을 때, 해커가 인터넷의 다른 파일을 불러와서 웹서버에서 실행시킬 수 있는 문제입니다. 보안 설정을 변경하면 막을 수 있습니다.

🇺🇸 원문 (English)

PHP remote file inclusion vulnerability in core/editor.php in phpWebThings 1.5.2 and earlier, when register_globals is enabled, allows remote attackers to execute arbitrary PHP code via a URL in the editor_insert_bottom parameter.

📍 영향받는 시스템

phpWebThings 1.5.2 이하 (register_globals=On 설정된 환경)

⚔️ 공격 벡터

editor_insert_bottom 파라미터에 원격 PHP 파일 URL을 삽입하여 코드 실행

🛡️ 대응 방법

phpWebThings 업그레이드, register_globals 비활성화, 입력값 검증 및 필터링 추가

🔧 검증 코드

register_globals가 On으로 설정되어 있으면 취약한 상태. Off로 설정되어 있거나 결과가 없으면 보호됨.

Shell / Script
grep -r 'register_globals' /etc/php* 2>/dev/null | grep -v '^#'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP