Advisories

Hypercorn through 0.18.0 WSGI Header Spoofing via Underscore Header Names

Go back
Severity
medium
Date
Affecting
  • Hypercorn <= 0.18.0

CWE
  • CWE-290 Authentication Bypass by Spoofing
CVSS
6.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
Hypercorn through 0.18.0 contains a header spoofing vulnerability in the WSGI wrapper _build_environ that allows remote attackers to spoof trusted headers by conflating underscores and hyphens in environ keys. Attackers can send headers such as x_remote_user through reverse proxies that only strip hyphenated forms, causing applications to read attacker values as trusted headers to spoof authenticated users.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.