🇰🇷 한글 설명
myBloggie 2.1.5의 원격 파일 포함(RFI) 취약점으로, bloggie_root_path 파라미터를 통해 공격자가 악성 PHP 파일을 포함시켜 임의의 PHP 코드를 실행할 수 있습니다. includes/ 디렉토리의 여러 PHP 파일과 viewmode.php, blog_body.php 등이 영향을 받습니다.
💡 쉬운 설명
myBloggie 애플리케이션의 파일 경로 설정을 조작하여 인터넷 어디서나 악성 코드를 실행하도록 만들 수 있는 결함입니다. 웹사이트 전체가 장악될 수 있는 매우 위험한 취약점입니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in myBloggie 2.1.5 allow remote attackers to execute arbitrary PHP code via a URL in the bloggie_root_path parameter to (1) config.php; (2) db.php, (3) template.php, (4) functions.php, and (5) classes.php in includes/; (6) viewmode.php; and (7) blog_body.php. NOTE: another researcher disputes the vulnerability because the files are protected against direct requests, contain no relevant include statements, or do not exist
📍 영향받는 시스템
myBloggie 2.1.5 및 이전 버전의 PHP 파일들 (config.php, db.php, template.php, functions.php, classes.php, viewmode.php, blog_body.php)
⚔️ 공격 벡터
bloggie_root_path 파라미터에 외부 URL을 주입하여 원격 파일 포함(RFI) 공격 수행
🛡️ 대응 방법
myBloggie를 최신 버전으로 업그레이드하거나, bloggie_root_path 입력값 검증을 추가하여 로컬 경로만 허용하도록 제한
🔧 검증 코드
myBloggie 설치 경로에서 bloggie_root_path 파라미터가 include 함수와 함께 사용되는 코드를 찾습니다. 결과가 있으면 취약 구간이 존재함을 의미합니다.
grep -r 'bloggie_root_path' /var/www/html/ 2>/dev/null | grep -i include | head -3