CVE-2023-28708
tomcat: not including the secure attribute causes information disclosure
Overview
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.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Weakness: CWE-523
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | >=8.5.0, <8.5.86>=9.0.0, <9.0.72>=10.1.0, <10.1.6 | 8.5.869.0.7210.1.6 |
| 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-M310.1.69.0.728.5.86 |
| Seal Maven | org.apache.tomcat.embed:tomcat-embed-core | >=9.0.39+sp0, <9.0.39+sp2 | 9.0.39+sp2 |
| Seal Maven | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | >=9.0.39, <9.0.39+sp999 | 9.0.39+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 39 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.62-27.el8_9 |
| 9 | tomcat +7 | 1:9.0.62-37.el9_3 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | apache-tomcat +1 | 8.5.86-1.ph4 |
Red Hat 4 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | tomcat +9 | wont fix | — |
| 7 | jws5-tomcat-native | 0:1.2.31-15.redhat_15.el7jws | RHSA-2023:4909 |
| 7 | jws5-tomcat +11 | 0:9.0.62-15.redhat_00013.1.el7jws | RHSA-2023:4909 |
| 8 | jws5-tomcat-native | 0:1.2.31-15.redhat_15.el8jws | RHSA-2023:4909 |
| 8 | jws5-tomcat +9 | 0:9.0.62-15.redhat_00013.1.el8jws | RHSA-2023:4909 |
| 8 | tomcat +7 | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
6 more rows
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | tomcat +8 | 9.0.36-3.102.1 | SUSE-SU-2023:1672-1 |
| 15.4 | tomcat +6 | 9.0.43-150200.35.1 | SUSE-SU-2023:1769-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.62-27.el8_9 |
| 9 | tomcat +7 | 1:9.0.62-37.el9_3 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | tomcat9 +7 | 1:9.0.71-1.amzn2023.0.2 |
debian 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat9 | 9.0.31-1~deb10u8 |
| 11 | tomcat9 | 9.0.43-2~deb11u6 |
| 12 | tomcat10 | 10.1.6-1 |
| 12 | tomcat9 | 9.0.70-2 |
| 13 | tomcat10 | 10.1.6-1 |
| 13 | tomcat9 | 9.0.70-2 |
2 more rows
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| tomcat10 | 10.1.6-1 | |
| tomcat9 | 9.0.70-2 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat10 +10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| Tumbleweed | tomcat +10 | 9.0.43-15.1 | openSUSE-SU-2024:12821-1 |
ubuntu 6 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | tomcat8 | 8.5.39-1ubuntu1~18.04.3+esm5 |
| 18.04-ESM | tomcat9 | 9.0.16-3ubuntu0.18.04.2+esm4 |
| 20.04 | tomcat9 | 9.0.31-1ubuntu0.8 |
| 20.04-ESM | tomcat9 | 9.0.31-1ubuntu0.8 |
| 22.04 | tomcat9 | affected |
| 24.04 | tomcat9 | affected |
1 more row
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:6570
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-28708
- bugzilla.redhat.com https://bugzilla.redhat.com/2172298
- bugzilla.redhat.com https://bugzilla.redhat.com/2180856
- bugzilla.redhat.com https://bugzilla.redhat.com/2210321
- bz.apache.org https://bz.apache.org/bugzilla/show_bug.cgi?id=66471
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-6570.html
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/3b51230764da595bb19e8d0962dd8c69ab40dfab
- github.com https://github.com/apache/tomcat/commit/5b72c94e8b2c4ada63a1d91dc527bf4d8fd1f510
Show all 25 references
- github.com https://github.com/apache/tomcat/commit/c64d496dda1560b5df113be55fbfaefec349b50f
- github.com https://github.com/apache/tomcat/commit/f509bbf31fc00abe3d9f25ebfabca5e05173da5b
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-28708.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-7065.html
- lists.apache.org https://lists.apache.org/thread/hdksc59z3s7tm39x0pp33mtwdrt8qr67
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-28708
- security.netapp.com https://security.netapp.com/advisory/ntap-20230331-0012
- security.netapp.com https://security.netapp.com/advisory/ntap-20230331-0012/
- tomcat.apache.org https://tomcat.apache.org/security-10.html
- tomcat.apache.org https://tomcat.apache.org/security-11.html
- tomcat.apache.org https://tomcat.apache.org/security-8.html
- tomcat.apache.org https://tomcat.apache.org/security-9.html
- ubuntu.com https://ubuntu.com/security/notices/USN-7106-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7562-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-28708
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.