In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.
Start learningUpgrade org.springframework.integration:spring-integration-mqtt to version 7.0.8, 7.1.3 or higher.
Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key in the MqttHeaderMapper process. An attacker can manipulate message routing or redirect error messages by publishing MQTT v5 messages with crafted user properties that are mapped to framework-significant headers such as replyChannel or errorChannel when the default inbound header mapping is used. This can result in unauthorized forwarding of messages, potentially exposing sensitive data or allowing further exploitation.
This vulnerability can be mitigated by configuring the MqttHeaderMapper with explicit inboundHeaderNames that list only the expected user properties, instead of using the default '*'.