Security Advisory syslog format vulnerability in klogd

Advisory: RHSA-2000:061-04
Type: Security Advisory
Severity: N/A
Issued on: 2000-09-18
Last updated on: 2001-01-20
Affected Products: Red Hat Linux 6.2
Red Hat Linux 7.0
OVAL: N/A
CVEs (cve.mitre.org): CVE-2000-0867

Details

Various vulnerabilities exist in syslogd/klogd. By exploiting these
vulnerabilities, it could be possible for local users to gain root
access. No remote exploit exists at this time, but it remains
theoretically possible that this vulnerability could be exploited
remotely under certain rare circumstances.

All users should upgrade to the new sysklogd packages. Users of
Red Hat Linux 6.0 and 6.1 should use the packages for Red Hat
Linux 6.2.

2000-09-26: Noted that packages are now available for Red Hat Linux 7.0,
added instructions on how to restart the daemon after upgrade.

klogd contains instances of the:
syslog( LOG_INFO, buffer );
vulnerability that has been recently been discussed on Bugtraq and similar
mailing lists; by supplying some string that contains '%' escapes, it is
possible to have those escapes interpreted, which can lead to the ability
to gain root access.

Also, there are a couple of minor buffer overflow/termination problems that
could allow local users to crash syslogd and cause bogus messages to be
printed on the local system console.

The updated sysklogd packages fix these vulnerabilities/issues.


Solution

For each RPM for your particular architecture, run:

rpm -Fvh [filename]

where filename is the name of the RPM.


[2000-09-26]
For Red Hat Linux 6.2 and earlier, you should run:

/etc/rc.d/init.d/syslog restart

after upgrading to the new package to restart the syslog daemon.

Updated packages

Red Hat Linux 6.2

alpha:
ftp://updates.redhat.com/6.2/alpha/sysklogd-1.3.31-17.alpha.rpm
Missing file
    2a7e2c7848d1f2d9607f3e6e3702cf2e
 
i386:
ftp://updates.redhat.com/6.2/i386/sysklogd-1.3.31-17.i386.rpm
Missing file
    287d5022aa9d1a6ba9e03c51acc85229
 
sparc:
ftp://updates.redhat.com/6.2/sparc/sysklogd-1.3.31-17.sparc.rpm
Missing file
    150a05567dd4d626326028b1ac31f34d
 
Red Hat Linux 7.0

i386:
ftp://updates.redhat.com/7.0/i386/sysklogd-1.3.33-8.i386.rpm
Missing file
    47cc680f80e1043e174d3ee178475ab3
 

References

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-0867
Thanks go to Jouko Pynnonen, Solar Designer, and Daniel Jacobowitz
for discovering the vulnerabilities and providing patches.

Keywords

syslogd


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/