GLSA-200907-10 : Syslog-ng: Chroot escape

This script is Copyright (C) 2009-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200907-10
(Syslog-ng: Chroot escape)

Florian Grandel reported that Syslog-ng does not call chdir() before
chroot() which leads to an inherited file descriptor to the current
working directory.

Impact :

A local attacker might exploit a separate vulnerability in Syslog-ng
and use this vulnerability to escape the chroot jail.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200907-10.xml

Solution :

All Syslog-ng 2.0 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-admin/syslog-ng-2.0.10'
All Syslog-ng 2.1 users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-admin/syslog-ng-2.1.3'

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 6.9
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 39781 (gentoo_GLSA-200907-10.nasl)

Bugtraq ID: 32338

CVE ID: CVE-2008-5110