PT-2022-21210 · Northern.Tech · Mender
Fabio Tranchitella
·
Published
2022-07-06
·
Updated
2022-07-14
·
CVE-2022-32290
CVSS v3.1
4.3
Medium
| Vector | AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Northern.tech Mender versions 3.2.0 through 3.2.2
Description
The client in Northern.tech Mender has Incorrect Access Control. It listens on a random, unprivileged TCP port and exposes an HTTP proxy to facilitate API calls from additional client components running on the device. However, it listens on all network interfaces instead of only the localhost interface. Therefore, any client on the same network can connect to this TCP port and send HTTP requests. The Mender Client will forward these requests to the Mender Server. Additionally, if mTLS is set up, the Mender Client will connect to the Mender Server using the device's client certificate, making it possible for the attacker to bypass mTLS authentication and send requests to the Mender Server without direct access to the client certificate and related private key. Accessing the HTTP proxy from the local network doesn't represent a direct threat, because it doesn't expose any device or server-specific data. However, it increases the attack surface and can be a potential vector to exploit other vulnerabilities both on the Client and the Server.
Recommendations
For versions 3.2.0 through 3.2.2, consider restricting access to the HTTP proxy to only the localhost interface to minimize the risk of exploitation. As a temporary workaround, consider disabling the HTTP proxy until a patch is available. Restrict access to the Mender Server using the device's client certificate to prevent bypassing mTLS authentication.
Fix
Incorrect Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mender