🔍 CVE-2026-50168

8.2
CVSS Score
HIGH
2026-06-22
2026-07-09 15:24
✅ 완료

🇰🇷 한글 설명

Angular의 @angular/platform-server 패키지에서 URL 파서 간의 처리 방식 차이로 인해 발생하는 SSRF 취약점입니다. 공격자가 특수하게 조작된 URL을 사용하여 호스트 허용 목록 검증을 우회하고 서버 측에서 임의의 외부 엔드포인트로 요청을 보낼 수 있습니다.

💡 쉬운 설명

웹 서버가 주소를 확인하는 방식과 실제로 접속하는 방식이 서로 달라 발생하는 보안 구멍입니다. 이를 통해 해커는 서버가 허용되지 않은 위험한 사이트에 몰래 접속하도록 명령할 수 있습니다.

🇺🇸 원문 (English)

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, an issue in the @angular/platform-server package allows remote attackers to bypass host allowlist constraints and direct server-side outgoing requests to arbitrary external endpoints. This occurs due to a parser differential between the strict WHATWG URL parser used for allowlist validation and the lenient Domino URL parser used to initialize the server emulated DOM. When a server-side request contains a malformed URL with a double port structure (e.g., http://evil.com:80:80/path), Node's strict URL.canParse(url) logic returns false and skips host check validation entirely. However, the same malformed URL is later accepted and parsed leniently by Domino's internal parser, which resolves the origin to http://evil.com:80. The Angular SSR HTTP request interceptor (relativeUrlsTransformerInterceptorFn) then resolves all relative backend HTTP requests against this adopted origin, executing the SSRF attack. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.

📍 영향받는 시스템

@angular/platform-server (22.0.0-rc.2, 21.2.15, 20.3.22, 19.2.23 미만 버전)

⚔️ 공격 벡터

이중 포트 구조(예: http://evil.com:80:80/path)를 포함한 악성 URL을 전송하여 호스트 검증 로직을 우회하는 방식

🛡️ 대응 방법

Angular 프레임워크를 최신 보안 패치 버전(22.0.0-rc.2, 21.2.15, 20.3.22, 19.2.23 이상)으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 취약점이 해결된 버전(22.0.0-rc.2, 21.2.15, 20.3.22, 19.2.23 이상)인지 확인하십시오.

Shell / Script
npm list @angular/platform-server

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

💻 영향받는 소프트웨어

IBM WebSphere Application Server