🇰🇷 한글 설명
AIL 프레임워크의 /objects/item/diff 엔드포인트에서 경로 탐색(Path Traversal) 취약점이 발견되었습니다. 인증된 사용자가 s1 및 s2 쿼리 매개변수에 경로 탐색 시퀀스를 포함된 악의적인 아이템 식별자를 전달하여, 애플리케이션이 접근 가능한 gzip 압축 파일을 읽고 로컬 파일 내용을 무단으로 노출시킬 수 있습니다.
💡 쉬운 설명
로그인한 사용자가 파일 경로를 조작하여 서버에 저장된 다른 중요한 파일을 몰래 읽을 수 있는 보안 약점입니다. 공격자는 이를 통해 서버 내의 특정 압축 파일 내용을 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
AIL framework contains a path traversal vulnerability in the /objects/item/diff endpoint. The endpoint accepts item identifiers through the s1 and s2 query parameters and, prior to the fix, attempted to retrieve and compare item contents without first verifying that both referenced items existed as valid AIL objects.
An authenticated AIL user could craft malicious item identifiers containing path traversal sequences to cause the application to read gzip-compressed files accessible to the AIL process. This could result in unauthorized disclosure of local file contents, limited to files readable by the application and compatible with the expected gzip-compressed item format.
The issue was fixed by validating that both requested items exist before their contents are accessed.
📍 영향받는 시스템
AIL framework (패치 적용 전 버전)
⚔️ 공격 벡터
/objects/item/diff 엔드포인트의 s1, s2 쿼리 매개변수에 경로 탐색 문자열(예: ../) 삽입
🛡️ 대응 방법
요청된 아이템이 유효한 AIL 객체인지 먼저 검증하도록 프레임워크를 최신 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 실행 시 404 또는 400 에러가 아닌 200 OK와 함께 파일 내용이 유출되는지 확인하십시오.
curl -s -I 'http://<target>/objects/item/diff?s1=../../etc/passwd&s2=valid_id' | grep 'HTTP/1.1'
💻 영향받는 소프트웨어
IBM Security Verify Access