🔍 CVE-2026-105298

0.0
CVSS Score
UNKNOWN
2026-10-20
2026-10-20 20:17
✅ 완료

🇰🇷 한글 설명

Pingora 0.9.0 미만 버전에서 HTTP/2 요청의 Host 헤더와 :authority 의사 헤더가 일치하지 않을 때 발생하는 보안 취약점입니다. 이로 인해 요청 필터링, 캐시 키, 로그에는 :authority 값이 기록되지만 실제 업스트림에는 클라이언트가 제공한 Host 값이 전달되어 보안 정책을 우회할 수 있습니다.

💡 쉬운 설명

웹 서버가 요청을 처리할 때 사용하는 주소와 실제 데이터를 가져오는 주소를 다르게 속여서 보낼 수 있는 문제입니다. 이를 통해 잘못된 캐시 데이터를 저장하거나 보안 접근 제어를 무력화할 수 있습니다.

🇺🇸 원문 (English)

Summary Before version 0.9.0, Pingora accepted HTTP/2 requests whose Host header differed from the :authority pseudo-header. Request filters, cache keys, and logs that read the request URI (session.req_header().uri) saw the :authority value, but the upstream received the client-supplied Host value. Pingora also accepted :authority values containing userinfo (for example, [email protected]). This violates RFC 9113 Section 8.3.1, which requires an intermediary to use the :authority value for Host and replace any existing Host field. Root cause * HTTP/2 to HTTP/1.1: Host was generated from :authority only when the request had no Host header, so a conflicting client Host was forwarded unchanged. * HTTP/2 to HTTP/2: the client Host header was removed and used to overwrite the upstream :authority, after request filters had already run against the original :authority. * The HTTP/2 server did not compare Host with :authority and did not reject userinfo in the authority. Impact A remote, unauthenticated attacker can send a single HTTP/2 request that the application sees as one host and the upstream receives as another. Where request filters, access controls, or cache keys use the URI authority and the upstream routes by Host, this can lead to: * Cache poisoning: a response from another virtual host is stored under the victim host's cache key and served to other users (this also requires the upstream to serve different content per Host). * Host-based access control bypass: a request approved for one host is served by a different virtual host on the upstream. Deployments that do not accept HTTP/2 from clients, or that do not use the request authority for security or caching decisions, are not affected. Note that Cloudflare CDN customers were unaffected, as internal Pingora services at Cloudflare do not have HTTP/2 clients. Mitigation: * Upgrade to pingora 0.9.0 or later. Pingora now returns 400 Bad Request for HTTP/2 requests whose Host differs from :authority, that contain more than one Host, or whose authority contains userinfo, and keeps the upstream Host or :authority consistent with the request authority. Fix commits: https://github.com/cloudflare/pingora/commit/915590a91811877795531f6ba0927a3138b5cb4b , https://github.com/cloudflare/pingora/commit/ffab8302d08d4292d1924eb8fe84647fd5cb8e76 * If you cannot upgrade: in request_filter, reject HTTP/2 requests that carry a Host header different from the URI authority, or whose authority contains '@'.

📍 영향받는 시스템

Pingora version < 0.9.0

⚔️ 공격 벡터

HTTP/2 요청 시 :authority와 Host 헤더를 다르게 설정하거나 userinfo를 포함하여 전송

🛡️ 대응 방법

Pingora를 0.9.0 이상의 최신 버전으로 업그레이드하거나, request_filter에서 Host와 :authority가 다르거나 '@'가 포함된 요청을 거부하도록 설정

🔧 검증 코드

출력된 버전이 0.9.0 미만이면 취약한 상태이며, 0.9.0 이상이면 안전합니다.

Shell / Script
cargo pkgid pingora 2>/dev/null | grep -oE 'pingora-[0-9]+\.[0-9]+\.[0-9]+' || echo 'Check manual version'

💻 영향받는 소프트웨어

Log Server