🇰🇷 한글 설명
PlaywrightCapture의 favicon 검색 기능에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. only_global_lookup 설정 시 초기 URL은 검증하지만, aiohttp를 통한 리다이렉트 과정에서 검증이 누락되어 내부 네트워크로의 접근이 가능합니다. 패치는 리다이렉트 체인의 모든 요청에 대해 로컬 주소 검증을 수행하는 미들웨어를 도입하여 이를 해결합니다.
💡 쉬운 설명
웹사이트의 아이콘을 가져오는 과정에서, 공격자가 가짜 주소로 연결되도록 속여서 회사의 내부 서버에 몰래 접속하게 만드는 보안 구멍입니다. 이 구멍을 통해 외부에서 볼 수 없는 내부 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
PlaywrightCapture contains a server-side request forgery (SSRF) vulnerability in its favicon retrieval functionality. When only_global_lookup is enabled, the application validates the initial favicon URL to prevent requests to localhost, loopback, or other non-public network addresses. However, redirects followed by aiohttp were not subjected to the same validation.
An attacker able to influence the content of a page processed by PlaywrightCapture could specify a publicly reachable favicon URL that responds with an HTTP redirect to a local or otherwise restricted address, such as 127.0.0.1, localhost, or an internal network service. Because aiohttp automatically followed the redirect, the resulting request could bypass the application's local-address restrictions and cause the PlaywrightCapture host to issue HTTP requests to resources that should not be externally reachable.
Depending on the services reachable from the PlaywrightCapture host and how retrieved favicon data is subsequently exposed or processed, this could be used to probe internal HTTP services or potentially obtain information from otherwise inaccessible endpoints.
The patch introduces an aiohttp request middleware that applies the existing local-URL validation to every request in the redirect chain. Requests resolving to restricted/local destinations are rejected before they are issued.
📍 영향받는 시스템
PlaywrightCapture (only_global_lookup 옵션이 활성화된 버전)
⚔️ 공격 벡터
공격자가 제어하는 페이지의 favicon URL이 내부 주소(127.0.0.1 등)로 리다이렉트되도록 설정하여 SSRF 공격 수행
🛡️ 대응 방법
리다이렉트 체인의 모든 요청에 대해 로컬 주소 검증을 적용하는 aiohttp 미들웨어가 포함된 최신 패치 적용
🔧 검증 코드
설치된 PlaywrightCapture의 버전을 확인하여 보안 패치가 적용된 버전인지 제조사의 공지사항과 대조합니다.
pip show playwright-capture 2>/dev/null | grep -E 'Version'
💻 영향받는 소프트웨어
IBM WebSphere Application Server