🇰🇷 한글 설명
MediaSlash Gallery의 index.php에서 rub 매개변수를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 공격자가 악의적인 URL을 입력하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
MediaSlash Gallery 사이트의 특정 입력 필드에서 외부 파일을 잘못 로드할 수 있는 문제가 있습니다. 공격자가 이를 이용해 악성 코드를 실행할 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in index.php in MediaSlash Gallery allows remote attackers to execute arbitrary PHP code via a URL in the rub parameter (part of the $page_menu variable).
📍 영향받는 시스템
MediaSlash Gallery (영향받는 정확한 버전은 공개되지 않음)
⚔️ 공격 벡터
index.php의 rub 파라미터에 원격 PHP 파일 URL 입력 후 포함시켜 코드 실행
🛡️ 대응 방법
MediaSlash Gallery 패치 버전 적용 또는 rub 파라미터 입력값에 대한 엄격한 검증 및 필터링 구현
🔧 검증 코드
index.php에서 rub 파라미터를 사용하는 include/require 구문이 있으면 취약하며, 입력값 검증이 없으면 위험
grep -n 'rub' /path/to/mediagallery/index.php && grep -n 'include\|require' /path/to/mediagallery/index.php | grep -i 'rub'