#VU63299 Error Handling in Apache Tomcat - CVE-2022-25762


Vulnerability identifier: #VU63299

Vulnerability risk: Medium

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-25762

CWE-ID: CWE-388

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 an error when handling WebSocket connections. If a web application sends a WebSocket message concurrently with the WebSocket connection closing, it is possible that the application will continue to use the socket after it has been closed. As a result, subsequent connections can use the same object concurrently and share data and/or other errors.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Apache Tomcat: 8.5.0 - 8.5.75, 9.0.0-M1 - 9.0.20


External links
https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c
https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.21
https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.76


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