Distro News

USBGuard vulnerability allows local users to bypass USB device restrictions

Key Takeaway

A flaw in USBGuard's D-Bus interface access controls could allow a local attacker to authorize all USB devices on a system.

Summary

A security vulnerability has been identified in USBGuard, the framework used to implement USB device authorization policies. The flaw stems from improper access restrictions on the software's D-Bus interface, which is utilized by the usbguard-dbus daemon.

On affected systems, a local attacker can exploit this weakness to bypass existing security policies. By interacting with the unprotected D-Bus interface, an unauthorized user could potentially permit the connection of any USB device to the machine, undermining the core purpose of the software.

Technical details of CVE-2019-25058

  • Defect Class: Improper access control via the D-Bus interface.
  • Attack Vector: Local privilege escalation/bypass; an attacker must already have local access to the system to interact with the daemon.
  • Affected Component: The usbguard-dbus daemon, which manages communication for USB authorization policies.
  • Impact: Successful exploitation allows a user to override device restrictions and allow all USB devices to connect.

Why it matters

This vulnerability is critical for users of Ubuntu 18.04 LTS and 20.04 LTS who rely on USBGuard to harden their systems against malicious hardware. Because the fix is currently provided through Ubuntu Pro via ESM Apps, administrators on these older LTS releases must have an active subscription to receive the security update.

Original reference: ubuntu.com →