🇰🇷 한글 설명
phpProfiles 2.1.1 이전 버전에서 image_data, graphics/comm, users 디렉토리에 index.php 또는 인덱스 파일이 없어서 원격 공격자가 디렉토리 내용을 나열할 수 있습니다. 이로 인해 민감한 파일 정보가 노출되거나 추가 공격에 악용될 수 있습니다.
💡 쉬운 설명
phpProfiles 프로그램이 특정 폴더를 보호하지 않아서 누구나 웹을 통해 그 폴더의 파일 목록을 볼 수 있습니다. 이는 프로그램의 구조와 파일 이름이 외부에 노출되는 정보 공개 문제입니다.
🇺🇸 원문 (English)
phpProfiles before 2.1.1 does not have an index.php or other index file in the (1) image_data, (2) graphics/comm, or (3) users read/write directories, which might allow remote attackers to list directory contents or have other unknown impacts.
📍 영향받는 시스템
phpProfiles 2.1.1 이전 모든 버전
⚔️ 공격 벡터
웹 브라우저에서 보호되지 않은 디렉토리(image_data, graphics/comm, users)에 직접 접근하여 디렉토리 내용 조회
🛡️ 대응 방법
phpProfiles를 2.1.1 이상으로 업그레이드하거나, 각 디렉토리에 index.php 파일을 추가하여 디렉토리 목록 표시 차단
🔧 검증 코드
'VULNERABLE' 출력 시 디렉토리 목록 표시가 활성화된 취약 상태이고, 'OK' 출력 시 보호되고 있는 상태입니다.
curl -s http://target-url/image_data/ | grep -iE '(index of|directory listing)' && echo 'VULNERABLE' || echo 'OK'