🔍 CVE-2024-1135

7.5
CVSS Score
HIGH
2024-04-16
2026-06-17 07:03
✅ 완료

🇰🇷 한글 설명

Gunicorn이 Transfer-Encoding 헤더를 적절히 검증하지 못하여 발생하는 HTTP 요청 스머글링(HRS) 취약점입니다. 공격자가 상충하는 Transfer-Encoding 헤더를 포함한 요청을 생성하면 보안 제한을 우회하여 제한된 엔드포인트에 접근할 수 있습니다. 이로 인해 캐시 포이즈닝, 세션 조작, 데이터 노출 등의 공격이 가능해집니다.

💡 쉬운 설명

웹 서버가 데이터의 끝을 판단하는 규칙을 혼동하여 발생하는 보안 허점입니다. 공격자가 교묘하게 조작된 메시지를 보내면 서버가 이를 잘못 해석하여 보안 벽을 넘어 내부 데이터에 접근할 수 있습니다.

🇺🇸 원문 (English)

Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn's handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.

📍 영향받는 시스템

Gunicorn (Transfer-Encoding 헤더 처리 로직이 포함된 버전)

⚔️ 공격 벡터

상충하는 Transfer-Encoding 헤더를 포함한 특수하게 조작된 HTTP 요청 전송

🛡️ 대응 방법

Gunicorn을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 Gunicorn 버전을 확인하여 취약점이 해결된 최신 버전인지 대조하십시오.

Shell / Script
pip show gunicorn | grep Version

📊 CVSS Vector String

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