Technical impact
Improper handling of case sensitivity in Erlang/OTP’s inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected directory by requesting them with different casing on case‑insensitive filesystems. The vulnerability is identified as CWE‑178, indicating improper case sensitivity handling. The secret_path function checks whether a resolved filesystem path lies inside a protected directory by matching the configured path with a regular expression that does not use caseless matching. Therefore, a request such as /secret/file against a directory configured as /Secret does not match, bypassing the authentication challenge. The operating system resolves the differently cased path to the same file, and the server serves it, enabling the attacker to read protected files without credentials.
Affected Systems
Erlang/OTP versions from 17.0 up to but not including 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6 are affected, corresponding to inets 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2. Versions earlier than OTP 17.0 (inets before 5.10) may also be vulnerable, but this is currently unknown. Deployments on case‑insensitive filesystems are susceptible; those on case‑sensitive filesystems are not affected.
Risk and Exploitability
With a CVSS score of 8.2 the vulnerability is classified as high severity. The EPSS score indicates a very low but non‑zero exploitation probability (<1 %) and the vulnerability is not listed in the CISA KEV catalog, suggesting a lower but non‑negligible risk. Attackers need only issue HTTP requests to the host; no authentication is required. The flaw is exploitable remotely via standard web traffic, allowing any client to read protected files on incorrectly configured Erlang/OTP web applications that store protected directories on case‑insensitive filesystems.
Debian DSA
Ubuntu USN