🇰🇷 한글 설명
Squid 7.6 미만 버전의 FTP 게이트웨이에서 입력값의 구문 정확성 검증이 부적절하여 발생하는 경계 외 읽기(Out-of-bounds read) 취약점입니다. TypeA 또는 TypeB 디렉토리 목록 형식에서 날짜 뒤에 파일명이 없는 경우, 파싱 과정이 입력 버퍼 내로 제한되지 않아 메모리의 임의 데이터를 읽을 수 있습니다.
💡 쉬운 설명
Squid 프록시를 통해 잘못된 정보를 보내는 FTP 서버에 접속할 경우, 공격자가 시스템의 민감한 메모리 정보를 훔쳐볼 수 있는 보안 약점입니다. 이는 데이터가 정해진 범위를 벗어나 읽히기 때문에 발생합니다.
🇺🇸 원문 (English)
Squid is a caching proxy for the Web. Prior to 7.6, due to an improper validation of syntactic correctness of input in the FTP gateway (src/clients/FtpGateway.cc), Squid is vulnerable to an out-of-bounds read: when a listing entry date in the TypeA or TypeB directory-listing formats is not followed by a filename, parsing was not restricted to the input buffer, so a trusted client accessing a misbehaving FTP server through Squid's gateway feature could read memory from random unrelated transactions. This issue is fixed in version 7.6.
📍 영향받는 시스템
Squid version < 7.6
⚔️ 공격 벡터
신뢰할 수 없는 FTP 서버를 통해 Squid 게이트웨이를 이용하는 클라이언트가 메모리 데이터를 읽도록 유도
🛡️ 대응 방법
Squid를 최신 버전인 7.6 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 Squid 버전이 7.6 미만인지 확인하십시오.
squid -v 2>/dev/null | grep -oP 'Squid v\[\d+\.\d+\.\d+\]' || dpkg -l squid 2>/dev/null | grep squid
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
💻 영향받는 소프트웨어
Spring Cloud Gateway Server