Vulnerability · Published Mar 22, 2023 · Assigned by apache

CVE-2023-28708Apache Tomcat: JSESSIONID Cookie missing secure attribute in some configurations

Medium 4.3

In plain English

A medium-severity security flaw in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)1.8%top 21.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tomcat1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-admin-webapps1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-admin-webapps1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-docs-webapp1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-docs-webapp1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-el-3.0-api1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-el-3.0-api1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-jsp-2.3-api1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-jsp-2.3-api1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-lib1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-lib1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-servlet-4.0-api1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-servlet-4.0-api1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-webapps1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-webapps1:9.0.62-37.el9_3ALSA-2023:6570
Debian:12tomcat1010.1.6-1DEBIAN-CVE-2023-28708
Debian:13tomcat1010.1.6-1DEBIAN-CVE-2023-28708
Debian:14tomcat1010.1.6-1DEBIAN-CVE-2023-28708
Debian:12tomcat99.0.70-2DEBIAN-CVE-2023-28708
Debian:13tomcat99.0.70-2DEBIAN-CVE-2023-28708
Debian:14tomcat99.0.70-2DEBIAN-CVE-2023-28708
Mavenorg.apache.tomcat:tomcat-catalina8.5.86GHSA-2c9m-w27f-53rm
Mavenorg.apache.tomcat:tomcat-catalina11.0.0-M3GHSA-2c9m-w27f-53rm
Mavenorg.apache.tomcat:tomcat-catalina10.1.6GHSA-2c9m-w27f-53rm
Mavenorg.apache.tomcat:tomcat-catalina9.0.72GHSA-2c9m-w27f-53rm
Ubuntu:25.10tomcat99.0.70-2ubuntu3UBUNTU-CVE-2023-28708

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Tomcat 11.0.0-M1 – through 11.0.0-M210.1.0-M1 – through 10.1.59.0.0-M1 – through 9.0.718.5.0 – through 8.5.85

Weakness: CWE-523 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

References