Improper Authorization Affecting org.eclipse.hono:hono-adapter-amqp-vertx package, versions [1.4.0,1.4.5) [1.5.0,1.5.1)


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.08% (35th percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

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 applications
  • Snyk ID SNYK-JAVA-ORGECLIPSEHONO-1061944
  • published 18 Jan 2021
  • disclosed 18 Jan 2021
  • credit Carsten Lohmann

How to fix?

Upgrade org.eclipse.hono:hono-adapter-amqp-vertx to version 1.4.5, 1.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization. The Eclipse Hono AMQP and MQTT protocol adapters do not check whether an authenticated gateway device is authorized to receive command & control messages when it has subscribed only to commands for a specific device. The missing check involves verifying that the command target device is configured giving permission for the gateway device to act on its behalf. This means an authenticated device of a certain tenant, notably also a non-gateway device acting like a gateway, may receive command & control messages targeted at a different device of the same tenant without corresponding permissions getting checked.