CVE-2017-6807
Medium · 6.1CVSS
6.1
EPSS
1.1%
Published
Mar 13, 2017
CISA due date
—
Cloudanix analysis
A user who can log into one website on a server could use the same login session to access a different website on that same server without logging in again.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
mod_auth_mellon fails to bind session cookies to specific virtual hosts, allowing a cookie issued for one site to be accepted by another site on the same server.
Why it matters to the business
An authenticated user on one hosted application can impersonate themselves on a different application sharing the server, leading to unauthorized access and potential data exposure across multiple services.
How an attack unfolds
An attacker obtains a valid session cookie from one web application protected by mod_auth_mellon, then replays that cookie against a different virtual host on the identical server to bypass authentication on the second site.
How to fix it
Upgrade mod_auth_mellon to version 0.13.1 or later; for Chainguard packages apply cilium-fips-1.15 (and related) 1.15.4-r2 or newer; for the GIT repository apply commit 1851412d77624494014fff406764fc6c2aeba1fc.
How to confirm the fix worked
Confirm the installed package or source matches a listed fixed version; review mod_auth_mellon configuration to ensure cookies are scoped per virtual host after upgrade.
Typical attack path
- Authenticate to the first vulnerable site and capture the session cookie
- Identify a second virtual host on the same server also using mod_auth_mellon
- Submit the captured cookie to the second site
- Gain authenticated access to the second site without providing credentials
How to detect it
Examine web server access logs for the same session identifier appearing against multiple distinct virtual hostnames from the same client IP in a short time window.
What your security team should do
- Prioritize upgrade of all mod_auth_mellon instances to the fixed versions listed
- Audit server configurations for multiple virtual hosts sharing the same auth module
- Monitor authentication logs for session cookies appearing across unexpected hostnames
The record
mod_auth_mellon before 0.13.1 is vulnerable to a Cross-Site Session Transfer attack, where a user with access to one web site running on a server can copy their session cookie to a different web site on the same server to get access to that site.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libapache2-mod-auth-mellon | 0 | 0.12.0-2 |
| Debian:12 | libapache2-mod-auth-mellon | 0 | 0.12.0-2 |
| Debian:13 | libapache2-mod-auth-mellon | 0 | 0.12.0-2 |
| Ubuntu:16.04:LTS | libapache2-mod-auth-mellon | 0 | 0.12.0-2+deb9u1build0.16.04.1 |
| Ubuntu:18.04:LTS | libapache2-mod-auth-mellon | 0 | 0.13.1-1build2 |
Related vulnerabilities
- CVE-2026-96379 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96382 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96368 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96361 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96362 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96360 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96357 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96358 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79