[ GLSA 202310-15 ] USBView: root privilege escalation via insecure polkit settings

[email protected] Thu, 26 Oct 2023 04:41:46 -0000
Newsgroups gmane.linux.gentoo.announce
Message-ID <169829530649.7.17853290008077110703@eaa400207d9c>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202310-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: High
    Title: USBView: root privilege escalation via insecure polkit settings
     Date: October 26, 2023
     Bugs: #831756
       ID: 202310-15

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability has been discovered in usbview where certain users can
trigger a privilege escalation.

Background
==========

USBView is a tool to display the topology of devices on the USB bus.

Affected packages
=================

Package            Vulnerable    Unaffected
-----------------  ------------  ------------
app-admin/usbview  < 2.2         >= 2.2

Description
===========

A vulnerability has been discovered in usbview. Please review the CVE
identifier referenced below for details.

Impact
======

USBView allows some local users (e.g., ones logged in via SSH) to
execute arbitrary code as root because certain Polkit settings (e.g.,
allow_any=yes) for pkexec disable the authentication requirement. Code
execution can, for example, use the --gtk-module option.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All USBView users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=app-admin/usbview-2.2"

References
==========

[ 1 ] CVE-2022-23220
      https://nvd.nist.gov/vuln/detail/CVE-2022-23220

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202310-15

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2023 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmU57goACgkQFMQkOaVy
+9lXvQ//a6J5vkolyVZD+fyEE8e+rtgp+JBODGo0YlwPRhU3FYh3BgmF1GlEG0Tb
HK47tabVRnaByisuqaiwKvEOPR1drxiR7t1CX0HnvG4Rz+zarJ10Kq1RXbJF5M+T
ddcwE1dP4jt/SuHVXV9pUS3vRxu6O5MTwuf0XMLTXxxLoB5nuyTO1XzLIaLJdTcm
whnv5P5gDqlVcg3On7f7t6Zl1rbz9qCIgOWlI5qyXIU7jhOqZXTtaqI0YhQ+865i
Ep36S2M50YR/oY33xkxnml+CX5RRfNWmT77c6RXOsUZ3vW9s1JIq0e1LxvZ+Niq1
s5ONLywE6Xj/Z87sVsYeqSpOXXJMEvWBjMA8l0MQZMHKW7VGd0BpU+/sSJJbtdls
Y3VSqUL7q8SnKls8+0Pk9Uazbl/3WcSsuRC13kbfzqNMp+r+dKAZ5QtoilNOakAX
H6n45HEd6GpAim+0xTtJmGACIqgdrdyWe5e8s9HWPAZK2pMhPOBzmwvY6GrXAnN1
5lLyT9bimbyaFqFbQdr9X4gS8XQDyfAz1Or9wR/UX3WKoSrpegNgEEVeh2z36pVC
MVOHbXI2x9YOGHKXJsvQBhMTnjn9FCkN+7rMfsOdAUx5ZOsFbXeP/5nrzRe76AKC
eCgCoMPQg4xKRK6z0hLMWi/hrsDU43F8zwxk096M5I3lDm5mOb0=
=+98l
-----END PGP SIGNATURE-----