🇰🇷 한글 설명
phpMyBackupPro 2.1~2.5의 get_file.php에서 view 파라미터에 대한 입력 검증 부재로 발생하는 디렉토리 순회 취약점. 원격 공격자가 '..' 시퀀스를 사용하여 서버 상의 임의 파일을 읽을 수 있으며, CVE-2015-4180의 불완전한 수정에서 비롯됨.
💡 쉬운 설명
phpMyBackupPro 프로그램의 파일 접근 검증 부재로, 공격자가 '..' 경로 트릭을 사용하여 설정파일, 데이터베이스 자격증명 등 의도하지 않은 파일에 접근 가능합니다. 상위 디렉토리로 이동하면서 시스템 전체의 민감 정보가 노출될 수 있습니다.
🇺🇸 원문 (English)
Directory traversal vulnerability in get_file.php in phpMyBackupPro 2.1 through 2.5 allows remote attackers to read arbitrary files via a .. (dot dot) in the view parameter. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information. NOTE: this vulnerability exists due to an incomplete fix to CVE-2015-4180.
📍 영향받는 시스템
phpMyBackupPro 버전 2.1, 2.2, 2.3, 2.4, 2.5
⚔️ 공격 벡터
HTTP GET 요청: /get_file.php?view=../../../etc/passwd (또는 다른 임의 파일 경로)
🛡️ 대응 방법
phpMyBackupPro를 2.6 이상으로 업그레이드하거나 get_file.php의 입력 경로 검증 강화 (../제거 및 realpath 사용)
🔧 검증 코드
phpMyBackupPro 설치 디렉토리 확인 후 내부 버전 정보(config.php 또는 README)에서 2.1~2.5 버전 확인 시 취약함
find / -name 'phpMyBackupPro' -type d 2>/dev/null | xargs -I {} sh -c 'test -f {}/get_file.php && echo {} || true' | head -1