Red Hat VEX
RHVEX-CVE-2023-28708
tomcat: not including the secure attribute causes information disclosure
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | tomcat6 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-admin-webapps | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-docs-webapp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-el-2.1-api | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-javadoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-jsp-2.1-api | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-lib | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-log4j | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-servlet-2.5-api | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-webapps | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | tomcat | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tomcat-admin-webapps | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tomcat-docs-webapp | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tomcat-el-2.2-api | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tomcat-javadoc | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tomcat-jsp-2.2-api | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tomcat-jsvc | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tomcat-lib | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tomcat-servlet-3.0-api | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | tomcat-webapps | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | pki-servlet-4.0-api | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | pki-servlet-engine | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | pki-servlet-4.0-api | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | pki-servlet-engine | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2023-28708
- https://bugzilla.redhat.com/show_bug.cgi?id=2180856
- https://www.cve.org/CVERecord?id=CVE-2023-28708
- https://nvd.nist.gov/vuln/detail/CVE-2023-28708
- https://bz.apache.org/bugzilla/show_bug.cgi?id=66471
- https://lists.apache.org/thread/hdksc59z3s7tm39x0pp33mtwdrt8qr67