Descrizione
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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.5.
Versioni da aggiornare
- Erlang Erlang/Inets: vulnerabili le versioni dalla
5.10precedenti alla9.3.2.6→ aggiornare alla9.3.2.6o successiva. - Erlang Erlang/Inets: vulnerabili le versioni dalla
9.6precedenti alla9.6.2.2→ aggiornare alla9.6.2.2o successiva. - Erlang Erlang/Inets: vulnerabili le versioni dalla
9.7precedenti alla9.7.1→ aggiornare alla9.7.1o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
17.0precedenti alla27.3.4.13→ aggiornare alla27.3.4.13o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
28.0precedenti alla28.5.0.2→ aggiornare alla28.5.0.2o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
29.0precedenti alla29.0.2→ aggiornare alla29.0.2o successiva.
Patch e advisory
- Mitigazione: github.com/erlang/otp/security/advisories/GHSA-…
- Mitigazione: cna.erlef.org/cves/CVE-2026-48856.html
- Mitigazione: osv.dev/vulnerability/EEF-CVE-2026-48856
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Sensibilizzare gli utenti sul phishing e bloccare via WAF i redirect verso domini esterni non attesi.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Erlang | Erlang/Inets | ≥ 5.10 < 9.3.2.6 | 9.3.2.6 |
| Erlang | Erlang/Inets | ≥ 9.6 < 9.6.2.2 | 9.6.2.2 |
| Erlang | Erlang/Inets | ≥ 9.7 < 9.7.1 | 9.7.1 |
| Erlang | Erlang/Otp | ≥ 17.0 < 27.3.4.13 | 27.3.4.13 |
| Erlang | Erlang/Otp | ≥ 28.0 < 28.5.0.2 | 28.5.0.2 |
| Erlang | Erlang/Otp | ≥ 29.0 < 29.0.2 | 29.0.2 |
Riferimenti
- Mitigazionehttps://github.com/erlang/otp/security/advisories/GHSA-m75x-4vwg-ggjh
- Mitigazionehttps://cna.erlef.org/cves/CVE-2026-48856.html
- Mitigazionehttps://osv.dev/vulnerability/EEF-CVE-2026-48856
- Riferimentohttps://github.com/erlang/otp/commit/f78fae9294886f95545a2212671282eda230def1
- Riferimentohttps://www.erlang.org/doc/system/versions.html#order-of-versions