#VU73957 Sensitive cookie in HTTPS session without Secure attribute in Apache Tomcat


Published: 2023-03-22

Vulnerability identifier: #VU73957

Vulnerability risk: Low

CVSSv3.1: 3.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-28708

CWE-ID: CWE-614

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Apache Tomcat
Server applications / Web servers

Vendor: Apache Foundation

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to Apache Tomcat does not set the "Secure" attribute for the JSESSIONID session cookie when using the RemoteIpFilter with requests received from a reverse proxy via HTTP that include the X-Forwarded-Proto header set to https. A remote attacker can force the application to transmit cookie via an insecure channel and intercept it.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Apache Tomcat: 11.0.0-M1 - 11.0.0-M2, 10.1.0 - 10.1.5, 10.0.0 - 10.0.27, 9.0.0 - 9.0.71, 8.5.0 - 8.5.85, 8.0.0 - 8.0.53


External links
http://lists.apache.org/thread/hdksc59z3s7tm39x0pp33mtwdrt8qr67


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability