🔍 CVE-2006-2842

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

🇰🇷 한글 설명

SquirrelMail 1.4.6 이하 버전의 functions/plugin.php에서 발생하는 PHP 원격 파일 포함(RFI) 취약점입니다. register_globals가 활성화되고 magic_quotes_gpc가 비활성화된 환경에서 공격자가 plugins 파라미터를 통해 악의적인 URL을 주입하여 임의의 PHP 코드를 실행할 수 있습니다.

💡 쉬운 설명

SquirrelMail 웹메일에서 잘못된 PHP 설정으로 인해 공격자가 악의적인 코드를 주입할 수 있습니다. 이를 통해 웹 서버 권한으로 임의의 명령어를 실행하고 시스템을 장악할 수 있습니다.

🇺🇸 원문 (English)

PHP remote file inclusion vulnerability in functions/plugin.php in SquirrelMail 1.4.6 and earlier, if register_globals is enabled and magic_quotes_gpc is disabled, allows remote attackers to execute arbitrary PHP code via a URL in the plugins array parameter. NOTE: this issue has been disputed by third parties, who state that Squirrelmail provides prominent warnings to the administrator when register_globals is enabled. Since the varieties of administrator negligence are uncountable, perhaps this type of issue should not be included in CVE. However, the original developer has posted a security advisory, so there might be relevant real-world environments under which this vulnerability is applicable

📍 영향받는 시스템

SquirrelMail 1.4.6 이하 (register_globals=on, magic_quotes_gpc=off 환경)

⚔️ 공격 벡터

plugins 배열 파라미터를 통해 원격 파일을 로드하는 PHP 코드 실행 유도

🛡️ 대응 방법

SquirrelMail을 1.4.7 이상으로 업그레이드하고 PHP에서 register_globals 비활성화

🔧 검증 코드

register_globals가 'Off', magic_quotes_gpc가 'On'으로 나타나거나 SquirrelMail이 1.4.7 이상이면 취약점이 해소됨

Shell / Script
php -i | grep -E 'register_globals|magic_quotes_gpc'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP