[ GLSA 202409-23 ] ZNC: Remote Code Execution

[email protected] Tue, 24 Sep 2024 05:14:07 -0000
Newsgroups gmane.linux.gentoo.announce
Message-ID <172715484737.7.9604303294255040214@3f85d36892cf>
--===============2675716422042832227==
Content-Type: text/plain; charset="utf-8"

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202409-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: ZNC: Remote Code Execution
     Date: September 24, 2024
     Bugs: #935422
       ID: 202409-23

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

Synopsis
========

A vulnerability has been found in ZNC which could result in remote code
execution.

Background
==========

ZNC is an advanced IRC bouncer.

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

Package      Vulnerable    Unaffected
-----------  ------------  ------------
net-irc/znc  < 1.9.1       >= 1.9.1

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

ZNC's modtcl could allow for remote code execution via a KICK.

Impact
======

A vulnerable ZNC with the modtcl module loaded could be exploited for
remote code execution.

Workaround
==========

Unload the mod_tcl module.

Resolution
==========

All ZNC users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-irc/znc-1.9.1"

References
==========

[ 1 ] CVE-2024-39844
      https://nvd.nist.gov/vuln/detail/CVE-2024-39844

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

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

 https://security.gentoo.org/glsa/202409-23

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 2024 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
--===============2675716422042832227==
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmbySp8ACgkQFMQkOaVy
+9nt0g/+MMzlOAhBcomBtk/7k77hKLLlVuYA5tbXDgu9whjAJIwbGwk/nLKnAwZS
9mji3hP5P0EKluBiA7/xReUnyqxbtuS/YFCSczBtfLb5PM++aCgD/knilWm6Ovf/
JV3sB5y/dBDa/JIKI3cDpxRq06mll71FGC5ZCk/tJPmdDj+v+Fp6H0jOQPWWH8VY
m63a8IaQJSxBHGyeXXXKeY6dSmwVd76AYUVpRJMQ1oqUQ4IqlpA1r2qhNnVDIbWC
cwB4RPYMasH5LsBzCc8TeJ+nuGADTRcyxs7gxNQkcHMLW7vvqs7SFsCjPkxsQVya
d1sCIYhMG8ixydWUagrSjGc8gxeqikXqYVotuvM3tTBtRIqJkmxbjOQiq3iowFyR
kSl/ZFfpZLlbuwLIR7mZeCLx55O6/Kn27vRh65iK8ygv8gDWPjxMW49ITdEGJvWl
OQiGKvqMkJ9JlRzPnPVtfLOPDsb8NmU3FNrsvWHI5czX5PGN8c+Xv5nb5ZLLMLmI
7DoEs15dMUTSvthnUuzcPwkky+SpbvuJCZHI8eL4GjvUP0DwerryTWGojBsb1Cz0
fxq4jcF2SLqQqiDuyMEv4CZA2OFycMhGF2uNT2CpqMRUjDhoiFh4WB1xO10fXb59
62sUCHP/XB4x9c2YcIbD3+x62RhcWi1eUxJNI8YocTYQjKv+PA0=
=EyBP
-----END PGP SIGNATURE-----

--===============2675716422042832227==--