Site icon TheCyberThrone

Spring AMQP Project Vulnerability – CVE-2023-34050

Advertisements

CVE-2023-34050 is a deserialization vulnerability in the Spring AMQP project, the vulnerability allows an attacker to inject malicious code into a Spring AMQP application by sending a specially crafted message. The malicious code can then be executed on the application server, potentially giving the attacker control over the server.

The root cause resides on the deserialization of data in messages sourced from untrustworthy senders. Though Spring AMQP integrated allowed list patterns for class names eligible for deserialization back in 2016, it had a gaping loophole. In instances where no allowed list was specified, the system would, by default, allow the deserialization of all classes.

Advertisements

The vulnerability can be exploited if it meets the below criteria:

Spring AMQP versions from 1.0.0 to 2.4.16 and 3.0.0 to 3.0.9 are vulnerable to CVE-2023-34050.

Mitigation measures

Exit mobile version