🇰🇷 한글 설명
kiwilan php-archive 2.3.02 이하 버전의 ArchiveZip::extract 함수에서 경로 탐색(Path Traversal) 취약점이 발견되었습니다. 이 취약점은 원격 공격자가 조작된 파일을 통해 시스템의 의도하지 않은 디렉토리에 접근하거나 파일을 생성할 수 있게 합니다. 현재 공개된 익스플로잇이 존재하며 벤더의 대응이 없는 상태입니다.
💡 쉬운 설명
압축 파일을 푸는 과정에서 파일 경로를 조작하여 컴퓨터의 중요한 폴더에 몰래 파일을 저장할 수 있는 약점입니다. 해커가 멀리서도 이 방법을 이용해 시스템을 공격할 수 있어 주의가 필요합니다.
🇺🇸 원문 (English)
A weakness has been identified in kiwilan php-archive up to 2.3.02. This affects the function ArchiveZip::extract of the file src/Readers/ArchiveZip.php of the component Extraction. This manipulation causes path traversal. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
📍 영향받는 시스템
kiwilan php-archive 2.3.02 및 그 이전 버전
⚔️ 공격 벡터
원격에서 조작된 압축 파일을 업로드하거나 처리하게 하여 경로 탐색 공격 수행
🛡️ 대응 방법
해당 라이브러리를 최신 보안 패치 버전으로 업데이트하거나, 입력 파일의 경로 검증 로직을 강화해야 합니다.
🔧 검증 코드
출력된 버전이 2.3.02 이하인지 확인하여 취약 여부를 판단합니다.
composer show kiwilan/php-archive | grep 'versions'