inets, httpd: Authentication Bypass via Directory Namespace Collapse in httpd mod_auth
Erlang OTP
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Erlang OTP |
| No fix yet |
| Erlang OTP |
| No fix yet |
| Erlang OTP |
|
|
Erlang OTP
| Product | Affected | Fixed in |
|---|---|---|
| Erlang OTP |
| No fix yet |
| Erlang OTP |
| No fix yet |
| Erlang OTP |
|
|
6101cb74ff2870718c622ba7af0c100f7f2524e3The mod_auth module in OTP's inets httpd server, when configured with dets or mnesia authentication backends and multiple directory configuration blocks, collapses all directory blocks into a single shared user/group namespace. A user added to one protected directory is accepted as valid for all other protected directories on the same server instance.
This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
From the CVE record · EEF
The inets httpd mod_auth module shares one user/group namespace across protected directories when configured with dets or mnesia authentication and multiple directory blocks. A user authorized for one directory can access other protected directories on the same server instance without separate authorization; this requires an existing user account but no victim interaction.
Operators of Erlang OTP 17.0 and later using affected inets httpd configurations should check their installations; whether OTP before 17.0 is affected is unknown.