[ GLSA 202310-16 ] Ubiquiti UniFi: remote code execution via bundled log4j

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

 Severity: High
    Title: Ubiquiti UniFi: remote code execution via bundled log4j
     Date: October 26, 2023
     Bugs: #828853
       ID: 202310-16

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

Synopsis
========

A vulnerability has been discovered in unifi where bundled log4j can
facilitate a remote code execution

Background
==========

Ubiquiti UniFi is a Management Controller for Ubiquiti Networks UniFi
APs.

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

Package             Vulnerable    Unaffected
------------------  ------------  ------------
net-wireless/unifi  < 6.5.55      >= 6.5.55

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

A bundled version of log4j could facilitate remote code execution.
Please review the CVE identifier referenced below for details.

Impact
======

An attacker with permission to modify the logging configuration file can
construct a malicious configuration using a JDBC Appender with a data
source referencing a JNDI URI which can execute remote code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Ubiquity UniFi users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-wireless/unifi-6.5.55"

References
==========

[ 1 ] CVE-2021-4104
      https://nvd.nist.gov/vuln/detail/CVE-2021-4104
[ 2 ] CVE-2021-45046
      https://nvd.nist.gov/vuln/detail/CVE-2021-45046

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

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

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

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+9kFAmU578IACgkQFMQkOaVy
+9ls8RAAiVPtVyb1hdKGZNsrumAusmy/a6Pqt9G9/jtC6AzC4mkg7s/vwl23ESgI
foupHvjPpkZoDHigNUtJ3yXg1IKdQNP4qQ91flKILHxK4rjIPsdHi17/+LsOfWGI
PEN/1G+eyzlG+YiDn0udELDg26rBRdnCCeD3nRWZYkN948wHpc/RlfeF2pon9mS6
K7BDZR01IPslcLw1g6w4fV+301/gmaTAv3ZWFVgoKnWI1LLsJ3SV9I7I5NrvPD6M
4qVBC2nskaFOdkFUQPhJnXY4DFwYB8IST68RYdM883rU+KBYbi+WLlTqu4GHOmfv
HXOHHsdNsgzYapie9hUv9uJGNu31xYvujhiu/+ewHqfABDC7sI/Z011mHUUlvLiy
CmlaMlnwskXSMnsepSEI+kBkel9IkQtIzhQpshb4vzy+MNZWjvY2HV3N7mcZeo/o
i5+d2bptk7lmA72ZrYGyU0MLd/sDrtjw8E8Ai4h7GWaYpBMeTZU1s94r7xnRtZxr
PpF8HFO5/IwWOccrmix4xwtryfycKuhth8GhAa+1koi71Ai2EZuxwnCRCasjdhW5
XyZCn2RL42ifm0dZokLg/bJENV63Y7HFGOvqgzJT22/4jjVy2GypAtVsVWnqVD3W
6MfNNVsGWszlIRu8UjYQcCI89e2RPv9oBonCSCRHFTEG4ksLFf8=
=UL7U
-----END PGP SIGNATURE-----