Running apache2 as a reverse proxy with mod_auth_form and mod_session (so that users have to authenticate before being able to access a back-end server). Original config:
``` Session On SessionCookieRemove On SessionCryptoPa ssphraseFile /data/session- passphrase ... AuthFormProvid er file AuthUserFile "/data/nsrc-passwd" AuthGroupFile "/data/nsrc-group" AuthType form AuthName "Workshop-lab" AuthFormLoginR equiredLocation " https:/ /% {SERVER_ NAME}/auth/ login.html" AuthFormLoginS uccessLocation " https:/ /% {SERVER_ NAME}/auth/ login-success. html" AuthFormLogout Location " https:/ /% {SERVER_ NAME}/auth/ logout- success. html" ````
The backend servers do not need to see the mod_auth_form session cookie, so I always ran this with "SessionCookieR emove On" as shown to optimize the traffic and reduce the risk of the cookie leaking. This used to work fine.
However, this has recently broken, and I believe it was the fix for CVE-2026-47360. What is supposed to happen is:
1. The user lands on the authentication page, and fills in the form 2. If the form auth is successful, mod_auth_form sets the session cookie and issues a redirect to AuthFormLoginSu ccessLocation
But as far as I can tell, the patch prevents the Set-Cookie: from being returned during the redirect.
WORKAROUND: Change to "SessionCookieR emove Off". This introduces extra traffic to the back-end servers, and exposes the session cookie more than necessary. (Can be seen with tcpdump)
ALTERNATE WORKAROUND: downgrade. apt-get install apache2= 2.4.66- 2ubuntu2 apache2- bin=2.4. 66-2ubuntu2 apache2- data=2. 4.66-2ubuntu2 apache2- utils=2. 4.66-2ubuntu2 (not recommended, but does demonstrate the problem is due to changes in the apache2 package)
ProblemType: Bug DistroRelease: Ubuntu 26.04 Package: apache2 2.4.66-2ubuntu2.8 ProcVersionSign ature: Ubuntu 6.8.0-149. 149~22. 04.1-generic 6.8.12 Uname: Linux 6.8.0-149-generic x86_64 Apache2ConfdDir Listing: False Apache2Modules: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message httpd (pid 894) already running ApportVersion: 2.34.1-0ubuntu0.1 Architecture: amd64 CasperMD5CheckR esult: unknown CloudArchitecture: x86_64 CloudID: nocloud CloudName: unknown CloudPlatform: nocloud CloudSubPlatform: seed-dir (/var/lib/ cloud/seed/ nocloud- net) Date: Tue Nov 24 09:32:18 2026 ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm- 256color XDG_RUNTIME_ DIR= SourcePackage: apache2 UpgradeStatus: No upgrade log present (probably fresh install)
NonfreeKernelModules.txt Edit (1.9 KiB, text/plain; charset="utf-8")
Dependencies.txt Edit (2.9 KiB, text/plain; charset="utf-8")
ProcCpuinfoMinimal.txt Edit (1.5 KiB, text/plain; charset="utf-8")
error.log.txt Edit (854 bytes, text/plain; charset="utf-8")
NonfreeKernelModules.txt Edit
Dependencies.txt Edit
ProcCpuinfoMinimal.txt Edit
auto-bz.apache.org #70376 Edit
Bug watches keep track of this bug in other bug trackers.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
