Description
In Znuny through 7.3.6, an attacker can bypass specific standard login procedures and gain unauthorized access to sensitive system functions by manipulating a specific HTTP request header. Because the application incorrectly trusts this header, an attacker can impersonate any user, including administrators, without requiring a password. This grants full access to confidential data and system controls. More specifically, the HTTPBasicAuth modules for the agent (Kernel::System::Auth::HTTPBasicAuth) and customer (Kernel::System::CustomerAuth::HTTPBasicAuth) interfaces read the username to log in not only from $ENV{REMOTE_USER} (set by the web server after successful authentication), but also, as a fallback, from $ENV{HTTP_REMOTE_USER}, which is populated directly from an attacker-controllable "Remote-User" request header. On systems where HTTPBasicAuth was configured as the authentication backend, this allowed an attacker to log in as any existing user by sending a request with a forged Remote-User header, without providing any credentials.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Znuny | Znuny | < 6.5.25, 7.0.0 – < 7.3.7 | 6.5.25 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | znuny | 6.5.25-1 | — |
| Debian 13 | znuny | No fix yet | — |
| Debian 12 | znuny | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | znuny | No fix yet | — |
| Ubuntu 26.04 LTS | znuny | No fix yet | — |
| Ubuntu 24.04 LTS | znuny | No fix yet | — |
| Ubuntu 22.04 LTS | otrs2 | No fix yet | — |
| Ubuntu 20.04 LTS | otrs2 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | otrs2 | No fix yet | — |
| Ubuntu 16.04 LTS | otrs2 | No fix yet | — |