SuSE 11 / 11.1 Security Update : glibc (SAT Patch Numbers 3392 / 3393)

high Nessus Plugin ID 50912

Language:

Synopsis

The remote SuSE 11 host is missing one or more security updates.

Description

This update of glibc fixes various bugs and security issues :

- Decoding of the $ORIGIN special value in various LD_ environment variables allowed local attackers to execute code in context of e.g. setuid root programs, elevating privileges. This issue does not affect SUSE as an assertion triggers before the respective code is executed. The bug was fixed nevertheless.
(CVE-2010-3847)

- The LD_AUDIT environment was not pruned during setuid root execution and could load shared libraries from standard system library paths. This could be used by local attackers to inject code into setuid root programs and so elevated privileges. (CVE-2010-3856)

- Integer overflow causing arbitrary code execution in ld.so --verify mode could be induced by a specially crafted binary. (CVE-2010-0830)

- The addmntent() function would not escape the newline character properly, allowing the user to insert arbitrary newlines to the /etc/mtab; if the addmntent() is run by a setuid mount binary that does not do extra input checking, this would allow custom entries to be inserted in /etc/mtab. (CVE-2010-0296)

- The strfmon() function contains an integer overflow vulnerability in width specifiers handling that could be triggered by an attacker that can control the format string passed to strfmon(). (CVE-2008-1391)

- Some setups (mainly Solaris-based legacy setups) include shadow information (password hashes) as so-called 'adjunct passwd' table, mangling it with the rest of passwd columns instead of keeping it in the shadow table. Normally, Solaris will disclose this information only to clients bound to a priviledged port, but when nscd is deployed on the client, getpwnam() would disclose the password hashes to all users. New mode 'adjunct as shadow' can now be enabled in /etc/default/nss that will move the password hashes from the world-readable passwd table to emulated shadow table (that is not cached by nscd). (CVE-2010-0015)

Some invalid behaviour, crashes and memory leaks were fixed :

- statfs64() would not function properly on IA64 in ia32el emulation mode.

- memcpy() and memset() on power6 would erroneously use a 64-bit instruction within 32-bit code in certain corner cases.

- nscd would not load /etc/host.conf properly before performing host resolution - most importantly, multi on in /etc/host.conf would be ignored when nscd was used, breaking e.g. resolving records in /etc/hosts where single name would point at multiple addresses

- Removed mapping from lowercase sharp s to uppercase sharp S; uppercase S is not a standardly used letter and causes problems for ISO encodings.

Some other minor issues were fixed :

- glibc-locale now better coexists with sap-locale on upgrades by regenerating the locale/gconv indexes properly.

- Ports 623 and 664 may not be allocated by RPC code automatically anymore since that may clash with ports used on some IPMI network cards.

- On x86_64, backtrace of a static destructor would stop in the _fini() glibc pseudo-routine, making it difficult to find out what originally triggered the program termination. The routine now has unwind information attached.

Solution

Apply SAT patch number 3392 / 3393 as appropriate.

See Also

https://bugzilla.novell.com/show_bug.cgi?id=375315

https://bugzilla.novell.com/show_bug.cgi?id=445636

https://bugzilla.novell.com/show_bug.cgi?id=513961

https://bugzilla.novell.com/show_bug.cgi?id=534828

https://bugzilla.novell.com/show_bug.cgi?id=541773

https://bugzilla.novell.com/show_bug.cgi?id=569091

https://bugzilla.novell.com/show_bug.cgi?id=572188

https://bugzilla.novell.com/show_bug.cgi?id=585879

https://bugzilla.novell.com/show_bug.cgi?id=592941

https://bugzilla.novell.com/show_bug.cgi?id=594263

https://bugzilla.novell.com/show_bug.cgi?id=615556

https://bugzilla.novell.com/show_bug.cgi?id=646960

http://support.novell.com/security/cve/CVE-2008-1391.html

http://support.novell.com/security/cve/CVE-2010-0015.html

http://support.novell.com/security/cve/CVE-2010-0296.html

http://support.novell.com/security/cve/CVE-2010-0830.html

http://support.novell.com/security/cve/CVE-2010-3847.html

http://support.novell.com/security/cve/CVE-2010-3856.html

Plugin Details

Severity: High

ID: 50912

File Name: suse_11_glibc-101025.nasl

Version: 1.15

Type: local

Agent: unix

Published: 12/2/2010

Updated: 1/14/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:11:glibc-i18ndata, p-cpe:/a:novell:suse_linux:11:glibc-info, p-cpe:/a:novell:suse_linux:11:glibc-profile, p-cpe:/a:novell:suse_linux:11:glibc-32bit, p-cpe:/a:novell:suse_linux:11:glibc-html, p-cpe:/a:novell:suse_linux:11:glibc, p-cpe:/a:novell:suse_linux:11:nscd, p-cpe:/a:novell:suse_linux:11:glibc-profile-32bit, p-cpe:/a:novell:suse_linux:11:glibc-locale, cpe:/o:novell:suse_linux:11, p-cpe:/a:novell:suse_linux:11:glibc-devel-32bit, p-cpe:/a:novell:suse_linux:11:glibc-devel, p-cpe:/a:novell:suse_linux:11:glibc-locale-32bit

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/25/2010

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (glibc LD_AUDIT Arbitrary DSO Load Privilege Escalation)

Reference Information

CVE: CVE-2008-1391, CVE-2010-0015, CVE-2010-0296, CVE-2010-0830, CVE-2010-3847, CVE-2010-3856

CWE: 189, 255