🔍 CVE-2008-4928

4.3
CVSS Score
MEDIUM
2008-11-04
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

MyBB 1.4.2의 functions.php redirect 함수에 존재하는 XSS 취약점으로, moderation.php의 removesubscriptions 액션에서 url 파라미터를 검증하지 않아 악의적인 스크립트를 주입할 수 있다. AJAX redirect를 악용하여 PHP 코드 실행 및 CSRF 보호 우회가 가능하다.

💡 쉬운 설명

MyBB 게시판 소프트웨어 1.4.2 버전에서 조작된 링크를 통해 악성 스크립트를 실행할 수 있는 결함입니다. 이를 통해 사용자의 쿠키 탈취, 계정 권한 남용, 또는 관리자 권한으로 명령 실행이 가능합니다.

🇺🇸 원문 (English)

Cross-site scripting (XSS) vulnerability in the redirect function in functions.php in MyBB (aka MyBulletinBoard) 1.4.2 allows remote attackers to inject arbitrary web script or HTML via the url parameter in a removesubscriptions action to moderation.php, related to use of the ajax option to request a JavaScript redirect. NOTE: this can be leveraged to execute PHP code and bypass cross-site request forgery (CSRF) protection.

📍 영향받는 시스템

MyBulletinBoard (MyBB) 1.4.2 이전 버전

⚔️ 공격 벡터

moderation.php의 removesubscriptions 액션에 인코딩되지 않은 url 파라미터를 전송하여 JavaScript 리다이렉트 트리거

🛡️ 대응 방법

MyBB를 1.4.3 이상으로 업데이트하고 모든 사용자 입력에 대해 HTML 인코딩 및 URL 검증 적용

🔧 검증 코드

MyBB 설치 경로에서 removesubscriptions 함수 확인 후, inc/version.php의 버전이 1.4.2 이하이면 취약함

Shell / Script
grep -r 'removesubscriptions' /path/to/mybb 2>/dev/null && cat /path/to/mybb/inc/version.php 2>/dev/null | grep VERSION

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP