🇰🇷 한글 설명
Maian Gallery 1.0의 index.php에서 path_to_folder 파라미터를 통해 원격 PHP 파일을 포함할 수 있는 취약점입니다. 공격자가 악의적인 PHP 코드를 실행하여 서버를 완전히 제어할 수 있습니다. 벤더에 의해 확인되었으며 초기 버전에만 존재합니다.
💡 쉬운 설명
Maian Gallery라는 사진 관리 프로그램의 초기 버전에서 공격자가 악의적인 파일을 원격에서 실행할 수 있는 구멍이 있었습니다. 이를 통해 해커가 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in index.php in Maian Gallery 1.0 allows remote attackers to execute arbitrary PHP code via a URL in the path_to_folder parameter. NOTE: this issue was disputed by a third party researcher, but confirmed by the vendor, stating "this problem existed only briefly in v1.0."
📍 영향받는 시스템
Maian Gallery 1.0
⚔️ 공격 벡터
HTTP GET/POST 요청의 path_to_folder 파라미터에 원격 파일 URL을 주입하여 PHP 코드 실행
🛡️ 대응 방법
Maian Gallery를 1.0.1 이상으로 업그레이드하거나 사용 중단
🔧 검증 코드
Maian Gallery가 설치되었다면 파일 경로가 출력되며, 해당 파일의 소스코드를 확인하여 버전 정보와 path_to_folder 파라미터 사용 여부를 검증
find /var/www -name index.php -type f 2>/dev/null | xargs grep -l 'Maian Gallery' 2>/dev/null