CVE-2023-28708 json
Apache Tomcat: JSESSIONID Cookie missing secure attribute in some configurations
published 2023-03-22 3 y ago modified 2026-09-08 2 mo ago also BIT-tomcat-2023-28708 , EUVD-2023-0829 , GHSA-2c9m-w27f-53rm
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.tomcat:tomcat-catalina 8.5.86, 9.0.72, 10.1.6, 11.0.0-M3
- bitnami tomcat 8.5.86, 9.0.72, 10.1.6
- apache tomcat 8.5.86, 9.0.72, 10.1.6
- tomcat9 Debian 14, Debian 13, Debian 12 9.0.70-2
- tomcat10 Debian 14, Debian 13, Debian 12 10.1.6-1
debian advisories DEBIAN-CVE-2023-28708
- tomcat9 Ubuntu 20.04 LTS 9.0.31-1ubuntu0.8
- tomcat9 Ubuntu 25.10 9.0.70-2ubuntu3
- tomcat8 Ubuntu Pro 18.04 LTS 8.5.39-1ubuntu1~18.04.3+esm5
- tomcat9 Ubuntu Pro 18.04 LTS 9.0.16-3ubuntu0.18.04.2+esm4
- tomcat9 Ubuntu Pro 22.04 LTS 9.0.58-1ubuntu0.1+esm4
- tomcat9 Ubuntu Pro 24.04 LTS 9.0.70-2ubuntu0.1+esm2
ubuntu advisories UBUNTU-CVE-2023-28708
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tomcat RHEL 8 1:9.0.62-27.el8_9
- tomcat-lib RHEL 8 1:9.0.62-27.el8_9
- tomcat-webapps RHEL 8 1:9.0.62-27.el8_9
- tomcat-el-3.0-api RHEL 8 1:9.0.62-27.el8_9
- tomcat-docs-webapp RHEL 8 1:9.0.62-27.el8_9
- tomcat-jsp-2.3-api RHEL 8 1:9.0.62-27.el8_9
- tomcat-admin-webapps RHEL 8 1:9.0.62-27.el8_9
- tomcat-servlet-4.0-api RHEL 8 1:9.0.62-27.el8_9
red hat advisories RHSA-2023:7065RHSA-2023:6570RHSA-2023:4909RHSA-2024:3814
- tomcat SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +9 more 9.0.43-150200.35.1
- tomcat SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +4 more 9.0.36-3.102.1
- tomcat SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 9.0.115-3.160.1
- tomcat SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 9.0.36-150100.4.90.1
suse advisories SUSE-SU-2026:1058-1SUSE-SU-2023:1769-1SUSE-SU-2023:1672-1SUSE-SU-2023:1669-1
- tomcat openSUSE Tumbleweed 9.0.43-15.1
- tomcat10 openSUSE Tumbleweed 10.1.14-1.1
opensuse advisories openSUSE-SU-2024:12821-1openSUSE-SU-2024:13441-1
- tomcat AlmaLinux 8 1:9.0.62-27.el8_9
- tomcat-lib AlmaLinux 8 1:9.0.62-27.el8_9
- tomcat-webapps AlmaLinux 8 1:9.0.62-27.el8_9
- tomcat-el-3.0-api AlmaLinux 8 1:9.0.62-27.el8_9
- tomcat-docs-webapp AlmaLinux 8 1:9.0.62-27.el8_9
- tomcat-jsp-2.3-api AlmaLinux 8 1:9.0.62-27.el8_9
- tomcat-admin-webapps AlmaLinux 8 1:9.0.62-27.el8_9
- tomcat-servlet-4.0-api AlmaLinux 8 1:9.0.62-27.el8_9
almalinux advisories ALSA-2023:7065ALSA-2023:6570
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-28708 updated cvss 4.3
tomcat: not including the secure attribute causes information disclosure
-
Red Hat Enterprise Linux 6 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-2.1-api, +4 more Red Hat Enterprise Linux 7 tomcat, tomcat-lib, tomcat-jsvc, tomcat-javadoc, tomcat-webapps, tomcat-el-2.2-api, +4 more Red Hat Enterprise Linux 8 pki-servlet-engine, pki-servlet-4.0-apiaffected: workaround, no fix planned “For possible impact and workaround, please refer to: https://access.redhat.com/solutions/7004796”
-
Red Hat Enterprise Linux 9 pki-servlet-engine, pki-servlet-4.0-apiaffected: workaround, no fix available “For possible impact and workaround, please refer to: https://access.redhat.com/solutions/7004796”
-
Red Hat JBoss Web Server 3 tomcat7 tomcat7, tomcat8 tomcat8affected: workaround, no fix planned “For possible impact and workaround, please refer to: https://access.redhat.com/solutions/7004796”
-
Red Hat JWS 5.7.4 releasefixed: vendor fix “For possible impact and workaround, please refer to: https://access.redhat.com/solutions/7004796” RHSA-2023:4910
-
Red Hat Enterprise Linux AppStream (v. 8) tomcat 9.0.62-27.el8_9, tomcat-lib 9.0.62-27.el8_9, tomcat-webapps 9.0.62-27.el8_9, tomcat-el-3.0-api 9.0.62-27.el8_9, tomcat-docs-webapp 9.0.62-27.el8_9, tomcat-jsp-2.3-api 9.0.62-27.el8_9, +2 morefixed: vendor fix “For possible impact and workaround, please refer to: https://access.redhat.com/solutions/7004796” RHSA-2023:7065
-
Red Hat Enterprise Linux AppStream (v. 9) tomcat 9.0.62-37.el9_3, tomcat-lib 9.0.62-37.el9_3, tomcat-webapps 9.0.62-37.el9_3, tomcat-el-3.0-api 9.0.62-37.el9_3, tomcat-docs-webapp 9.0.62-37.el9_3, tomcat-jsp-2.3-api 9.0.62-37.el9_3, +2 morefixed: vendor fix “For possible impact and workaround, please refer to: https://access.redhat.com/solutions/7004796” RHSA-2023:6570
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) tomcat 9.0.87-1.el8_8.2, tomcat-lib 9.0.87-1.el8_8.2, tomcat-webapps 9.0.87-1.el8_8.2, tomcat-el-3.0-api 9.0.87-1.el8_8.2, tomcat-docs-webapp 9.0.87-1.el8_8.2, tomcat-jsp-2.3-api 9.0.87-1.el8_8.2, +2 morefixed: vendor fix “For possible impact and workaround, please refer to: https://access.redhat.com/solutions/7004796” RHSA-2024:3814
-
Red Hat JBoss Web Server 5.7 for RHEL 7 Server jws5-tomcat 9.0.62-15.redhat_00013.1.el7jws, jws5-tomcat-lib 9.0.62-15.redhat_00013.1.el7jws, jws5-tomcat-javadoc 9.0.62-15.redhat_00013.1.el7jws, jws5-tomcat-selinux 9.0.62-15.redhat_00013.1.el7jws, jws5-tomcat-webapps 9.0.62-15.redhat_00013.1.el7jws, jws5-tomcat-java-jdk8 9.0.62-15.redhat_00013.1.el7jws, +6 more Red Hat JBoss Web Server 5.7 for RHEL 8 jws5-tomcat 9.0.62-15.redhat_00013.1.el8jws, jws5-tomcat-lib 9.0.62-15.redhat_00013.1.el8jws, jws5-tomcat-javadoc 9.0.62-15.redhat_00013.1.el8jws, jws5-tomcat-selinux 9.0.62-15.redhat_00013.1.el8jws, jws5-tomcat-webapps 9.0.62-15.redhat_00013.1.el8jws, jws5-tomcat-el-3.0-api 9.0.62-15.redhat_00013.1.el8jws, +4 more Red Hat JBoss Web Server 5.7 for RHEL 9 jws5-tomcat 9.0.62-15.redhat_00013.1.el9jws, jws5-tomcat-lib 9.0.62-15.redhat_00013.1.el9jws, jws5-tomcat-javadoc 9.0.62-15.redhat_00013.1.el9jws, jws5-tomcat-selinux 9.0.62-15.redhat_00013.1.el9jws, jws5-tomcat-webapps 9.0.62-15.redhat_00013.1.el9jws, jws5-tomcat-el-3.0-api 9.0.62-15.redhat_00013.1.el9jws, +4 morefixed: vendor fix “For possible impact and workaround, please refer to: https://access.redhat.com/solutions/7004796” RHSA-2023:4909
show 1 moreshow fewer
-
Red Hat JBoss Web Server 5.7 for RHEL 7 Server jws5-tomcat-native 1.2.31-15.redhat_15.el7jws Red Hat JBoss Web Server 5.7 for RHEL 8 jws5-tomcat-native 1.2.31-15.redhat_15.el8jws Red Hat JBoss Web Server 5.7 for RHEL 9 jws5-tomcat-native 1.2.31-15.redhat_15.el9jwsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
1.83% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat-catalina | >=11.0.0-M1, <11.0.0-M3 >=10.1.0-M1, <10.1.6 >=9.0.0-M1, <9.0.72 >=8.5.0, <8.5.86 |
11.0.0-M3 10.1.6 9.0.72 8.5.86 |
| bitnami | tomcat | >=8.5.0, <8.5.86 >=9.0.0, <9.0.72 >=10.1.0, <10.1.6 |
8.5.86 9.0.72 10.1.6 |
Affected products
- Apache Software Foundation Apache Tomcat
Classification
- Weakness
-
- CWE-523 Unprotected Transport of Credentials
References
-
lists.apache.org
/thread/hdksc59z3s7tm39x0pp33mtwdrt8qr67
vendor-advisory, web, mailing-list, patch, advisory
-
github.com
/apache/tomcat/commit/3b51230764da595bb19e8d0962dd8c69ab40dfab
web
-
github.com
/apache/tomcat/commit/5b72c94e8b2c4ada63a1d91dc527bf4d8fd1f510
web
-
github.com
/apache/tomcat/commit/c64d496dda1560b5df113be55fbfaefec349b50f
web
-
github.com
/apache/tomcat/commit/f509bbf31fc00abe3d9f25ebfabca5e05173da5b
web
-
security.netapp.com
/advisory/ntap-20230331-0012/
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-28708
advisory, web
-
bz.apache.org
/bugzilla/show_bug.cgi?id=66471
web
-
github.com
/apache/tomcat
package
-
security.netapp.com
/advisory/ntap-20230331-0012
web
-
tomcat.apache.org
/security-10.html
web
-
tomcat.apache.org
/security-11.html
web
-
tomcat.apache.org
/security-8.html
web
-
tomcat.apache.org
/security-9.html
web
Sources
- CVE List CVE-2023-28708
- GitHub Advisory GHSA-2c9m-w27f-53rm
- NVD CVE-2023-28708
- OSV BIT-tomcat-2023-28708
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.