httpc leaks Authorization header to cross-origin redirect targets (Erlang OTP)
En bref
- Source
- NVD
- EPSS
- EPSS 0.34 % · centile 27 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- EEF
- Statut NVD
- Modified
Rechercher sur…
Description
Sensitive Data Exposure vulnerability in Erlang OTP inets (httpc_response module) allows Retrieve Embedded Sensitive Data. The httpc client forwards the Authorization and Proxy-Authorization request headers to redirect targets without checking whether the redirect crosses an origin boundary. httpc_response:redirect/2 constructs the redirected request by updating only the host field of the header record; all other fields (including authorization and proxy_authorization) are copied verbatim. The redirect target host is never compared against the original host. autoredirect defaults to true, so this affects all httpc callers that do not explicitly disable automatic redirects. An attacker who controls a server that the victim contacts via httpc can issue a cross-origin 3xx redirect to a server they also control. The Authorization header (including Basic credentials derived from URL userinfo via httpc_request:handle_user_info/2) is forwarded to the redirect target, allowing credential theft. The same applies to the Proxy-Authorization header. This vulnerability is associated with program files lib/inets/src/http_client/httpc_response.erl. This issue affects OTP from OTP 17.0 before OTP 27.3.4.19, OTP 28.5.0.8, and OTP 29.1.2, corresponding to inets from 5.10 before 9.3.2.8, 9.6.2.4, and 9.8.1. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Faiblesses (CWE)
- CWE-601 — Redirection d'URL vers un site non fiable (redirection ouverte)
Références
- https://github.com/erlang/otp/security/advisories/GHSA-m75x-4vwg-ggjh
- https://cna.erlef.org/cves/CVE-2026-48856.html
- https://osv.dev/vulnerability/EEF-CVE-2026-48856
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/f78fae9294886f95545a2212671282eda230def1
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | EEF |
| CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2026-36058
- GCVE · GCVE-0-2026-48856
Avis du CERT-FR
- CERTFR-2026-AVI-0783 — Multiples vulnérabilités dans Microsoft Azure · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:erlang:erlang\/inets:*:*:*:*:*:*:*:*≥ 5.10 < 9.3.2.6cpe:2.3:a:erlang:erlang\/inets:*:*:*:*:*:*:*:*≥ 9.6 < 9.6.2.2cpe:2.3:a:erlang:erlang\/inets:*:*:*:*:*:*:*:*≥ 9.7 < 9.7.1cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 17.0 < 27.3.4.13cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 28.0 < 28.5.0.2cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*≥ 29.0 < 29.0.2
Produits affectés
| Produit | Versions |
|---|---|
| Erlang · OTP | affected 17.0 < * |
| Erlang · OTP | affected 5.10 < * |
| Erlang · OTP | affected 84adefa331c4159d432d22840663c38f155cd4c1 < f78fae9294886f95545a2212671282eda230def1 ; unaffected f78fae9294886f95545a2212671282eda230def1 < * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |