CVE-2023-28708

Apache Tomcat: JSESSIONID Cookie missing secure attribute in some configurations

State
Published
Severity
4.3 Medium
Published
Mar 22, 2023
Updated
Nov 4, 2025
Reserved
Mar 21, 2023

Read the record on cve.org

Description

When using the RemoteIpFilter with requests received from a reverse proxy via HTTP that include the X-Forwarded-Proto header set to https, session cookies created by Apache Tomcat 11.0.0-M1 to 11.0.0.-M2, 10.1.0-M1 to 10.1.5, 9.0.0-M1 to 9.0.71 and 8.5.0 to 8.5.85 did not include the secure attribute. This could result in the user agent transmitting the session cookie over an insecure channel.

Older, EOL versions may also be affected.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NCISA-ADP

Weaknesses

  • CWE-523 Unprotected Transport of Credentials

Affected Products

ProductVersions
Apache TomcatApache Software Foundation
  • 11.0.0-M1 through 11.0.0-M2Affected
  • 10.1.0-M1 through 10.1.5Affected
  • 9.0.0-M1 through 9.0.71Affected
  • 8.5.0 through 8.5.85Affected
  • 3 to before 8.5.0Unknown
  • 10.0.0-M1 through 10.0.27Unknown

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.