🔍 CVE-2006-2828

6.4
CVSS Score
MEDIUM
2006-06-05
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

PHP-Nuke의 전역 변수 덮어쓰기 취약점으로, 공격자가 phpbb_root_path 파라미터를 조작하여 원격 PHP 파일 포함(RFI) 공격을 수행할 수 있습니다. 이는 import_request_variables 함수가 이미 초기화된 전역 변수 값을 외부 입력값으로 덮어쓰기 때문에 발생합니다.

💡 쉬운 설명

웹사이트의 내부 설정값을 외부에서 마음대로 바꿀 수 있는 약점이 있습니다. 해커가 이 점을 이용해 외부의 악성 코드를 서버에서 실행시켜 서버를 제어할 수 있습니다.

🇺🇸 원문 (English)

Global variable overwrite vulnerability in PHP-Nuke allows remote attackers to conduct remote PHP file inclusion attacks via a modified phpbb_root_path parameter to the admin scripts (1) index.php, (2) admin_ug_auth.php, (3) admin_board.php, (4) admin_disallow.php, (5) admin_forumauth.php, (6) admin_groups.php, (7) admin_ranks.php, (8) admin_styles.php, (9) admin_user_ban.php, (10) admin_words.php, (11) admin_avatar.php, (12) admin_db_utilities.php, (13) admin_forum_prune.php, (14) admin_forums.php, (15) admin_mass_email.php, (16) admin_smilies.php, (17) admin_ug_auth.php, and (18) admin_users.php, which overwrites $phpbb_root_path when the import_request_variables function is executed after $phpbb_root_path has been initialized to a static value.

📍 영향받는 시스템

PHP-Nuke (취약한 버전의 관리자 스크립트 포함 버전)

⚔️ 공격 벡터

조작된 phpbb_root_path 파라미터를 포함한 HTTP 요청을 관리자 페이지에 전송

🛡️ 대응 방법

전역 변수 덮어쓰기를 방지하는 보안 패치를 적용하거나 최신 버전으로 업데이트하십시오.

🔧 검증 코드

명령어 실행 결과 해당 함수와 변수가 함께 사용되는 코드 라인이 출력되면 취약한 상태입니다.

Shell / Script
grep -r "import_request_variables" . | grep "phpbb_root_path"

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP