Session-cookie disclosure via missing Secure attribute
Published Mar 22, 2023 · Updated Nov 4, 2025
Information disclosure in Apache Tomcat allows remote attackers to expose session cookies through an insecure HTTP channel. RemoteIpFilter marked only its request wrapper as secure after accepting X-Forwarded-Proto as https, so underlying Request session creation omitted Secure from JSESSIONID. The condition affects 8.5.0 through 8.5.85, 9.0.0-M1 through 9.0.71, 10.1.0-M1 through 10.1.5, and 11.0.0-M1 through 11.0.0-M2 when an HTTP reverse-proxy hop creates a session and the user agent later transmits its cookie insecurely.
Summary
What happened
Information disclosure in Apache Tomcat allows remote attackers to expose session cookies through an insecure HTTP channel. RemoteIpFilter marked only its request wrapper as secure after accepting X-Forwarded-Proto as https, so underlying Request session creation omitted Secure from JSESSIONID. The condition affects 8.5.0 through 8.5.85, 9.0.0-M1 through 9.0.71, 10.1.0-M1 through 10.1.5, and 11.0.0-M1 through 11.0.0-M2 when an HTTP reverse-proxy hop creates a session and the user agent later transmits its cookie insecurely.
The record
- CVE
- CVE-2023-28708
- Published
- Mar 22, 2023
- Updated
- Nov 4, 2025
- Vendor
- The Apache Software Foundation
- Product
- Apache Tomcat
- Classifications
- CWE-523, T1557
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 22, 2023CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=10.1.0-M1 <=10.1.5
- Affected versionversion=11.0.0-M1 <=11.0.0-M2
- Affected versionversion=8.5.0 <=8.5.85
- Affected versionversion=9.0.0-M1 <=9.0.71
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo