🇰🇷 한글 설명
phpXplorer 0.9.33의 workspaces.php에서 디렉토리 트래버설 취약점이 발견되었습니다. 공격자는 sShare 파라미터에 '..'와 널 바이트(%00)를 사용하여 원격에서 임의의 파일을 읽을 수 있습니다. 다만, 일부에서는 해당 프로그램의 기본 기능이 PHP 파일 업로드를 지원하므로 권한 경계를 넘는 취약점이 아니라는 의견도 있습니다.
💡 쉬운 설명
웹사이트 주소창에 특수 문자를 입력하여 서버의 관리자 파일이나 비밀 설정 파일을 몰래 훔쳐볼 수 있는 취약점입니다. 마치 금지된 구역의 뒷문을 통해 들어가는 것과 같습니다.
🇺🇸 원문 (English)
Directory traversal vulnerability in workspaces.php in phpXplorer 0.9.33 allows remote attackers to include arbitrary files via a .. (dot dot) and trailing null byte (%00) in the sShare parameter. NOTE: a followup post claims that this is not a vulnerability since the functionality of phpXplorer supports the upload of PHP files, which would not cross privilege boundaries since the PHP functionality would support read access outside the web root
📍 영향받는 시스템
phpXplorer 0.9.33
⚔️ 공격 벡터
sShare 파라미터에 '../' 및 '%00' 문자열을 삽입하여 상위 디렉토리 파일에 접근하는 디렉토리 트래버설 공격
🛡️ 대응 방법
최신 버전으로 업데이트하거나, 입력값에서 '..' 및 널 바이트(%00)와 같은 특수 문자를 제거하는 필터링 로직을 적용하십시오.
🔧 검증 코드
결과 값에 '0.9.33'이 출력되면 해당 취약점에 노출된 버전이 설치된 것입니다.
grep -r "0.9.33" /var/www/html/phpxplorer/version.php 2>/dev/null || echo "Not found"