J-Security Center

Title: Glibc File Globbing Heap Corruption Vulnerability

Severity: HIGH

Description:

The GNU C library ('glibc') includes support for functionality known as file globbing. File globbing allows for lists of files to be created based on search patterns that include wildcards (for example : '*') and other metacharacters.

This implementation contains a vulnerability which may allow for the execution of arbitrary code by an application that uses glibc file globbing. The vulnerability is related to a failure to properly handle strings that end with the '{' character.

It is reportedly possible for attackers to submit input to the globbing functions that eventually causes free() to be called on memory they control. This situation can be exploited to overwrite a word in memory with an arbitrary value.

Attackers may overwrite function pointers or return addresses to force execution of arbitrary instructions.

As this vulnerability is in shared library code, it is not immediately exploitable. Any programs which link to the library and use the file globbing functionality in the library are affected. It has been confirmed that this vulnerability is exploitable through the Linux port of the OpenBSD ftp server.

A similar vulnerability was discovered in Wu-FTPD. Wu-FTPD uses it's own globbing implementation and is not vulnerable to this issue.

Affected Products:

  • Caldera OpenLinux Server 3.1.0
  • Caldera OpenLinux Server 3.1.1
  • Caldera OpenLinux Workstation 3.1.0
  • Caldera OpenLinux Workstation 3.1.1
  • Conectiva Linux 5.0.0
  • Conectiva Linux 5.1.0
  • Conectiva Linux 6.0.0
  • Conectiva Linux 7.0.0
  • Conectiva Linux 8.0.0
  • Conectiva Linux ecommerce
  • Conectiva Linux graficas
  • Debian Linux 2.2.0
  • Debian Linux 2.2.0 68k
  • Debian Linux 2.2.0 IA-32
  • Debian Linux 2.2.0 alpha
  • Debian Linux 2.2.0 arm
  • Debian Linux 2.2.0 powerpc
  • Debian Linux 2.2.0 sparc
  • EnGarde Secure Linux 1.0.1
  • GNU glibc 2.0.0
  • GNU glibc 2.0.1
  • GNU glibc 2.0.2
  • GNU glibc 2.0.3
  • GNU glibc 2.0.4
  • GNU glibc 2.0.5
  • GNU glibc 2.0.6
  • GNU glibc 2.1.0
  • GNU glibc 2.1.1
  • GNU glibc 2.1.2
  • GNU glibc 2.1.3
  • GNU glibc 2.2.0
  • GNU glibc 2.2.1
  • GNU glibc 2.2.2
  • GNU glibc 2.2.3
  • GNU glibc 2.2.4
  • HP Secure OS software for Linux 1.0.0
  • MandrakeSoft Corporate Server 1.0.1
  • MandrakeSoft Linux Mandrake 7.1.0
  • MandrakeSoft Linux Mandrake 7.2.0
  • MandrakeSoft Linux Mandrake 8.0.0
  • MandrakeSoft Linux Mandrake 8.0.0 ppc
  • MandrakeSoft Linux Mandrake 8.1.0
  • MandrakeSoft Linux Mandrake 8.1.0 ia64
  • MandrakeSoft Linux Mandrake 8.2.0
  • MandrakeSoft Linux Mandrake 8.2.0 ppc
  • MandrakeSoft Single Network Firewall 7.2.0
  • Openwall Openwall GNU/*/Linux 0.1.0 -stable
  • RedHat Enterprise Linux AS 2.1
  • RedHat Enterprise Linux AS 2.1 IA64
  • RedHat Enterprise Linux ES 2.1
  • RedHat Enterprise Linux ES 2.1 IA64
  • RedHat Enterprise Linux WS 2.1
  • RedHat Enterprise Linux WS 2.1 IA64
  • RedHat Linux 6.2.0
  • RedHat Linux 6.2.0 alpha
  • RedHat Linux 6.2.0 i386
  • RedHat Linux 6.2.0 sparc
  • RedHat Linux 6.2.0 sparcv9
  • RedHat Linux 7.0.0 alpha
  • RedHat Linux 7.0.0 alphaev6
  • RedHat Linux 7.0.0 i386
  • RedHat Linux 7.0.0 i686
  • RedHat Linux 7.1.0 alpha
  • RedHat Linux 7.1.0 alphaev6
  • RedHat Linux 7.1.0 i386
  • RedHat Linux 7.1.0 i686
  • RedHat Linux 7.1.0 ia64
  • RedHat Linux 7.2.0 i386
  • RedHat Linux 7.2.0 i686
  • RedHat Linux Advanced Work Station 2.1.0
  • S.u.S.E. Linux 6.4.0
  • S.u.S.E. Linux 6.4.0 alpha
  • S.u.S.E. Linux 6.4.0 i386
  • S.u.S.E. Linux 6.4.0 ppc
  • S.u.S.E. Linux 7.0.0
  • S.u.S.E. Linux 7.0.0 alpha
  • S.u.S.E. Linux 7.0.0 i386
  • S.u.S.E. Linux 7.0.0 ppc
  • S.u.S.E. Linux 7.0.0 sparc
  • S.u.S.E. Linux 7.1.0
  • S.u.S.E. Linux 7.1.0 alpha
  • S.u.S.E. Linux 7.1.0 ppc
  • S.u.S.E. Linux 7.1.0 sparc
  • S.u.S.E. Linux 7.1.0 x86
  • S.u.S.E. Linux 7.2.0
  • S.u.S.E. Linux 7.2.0 i386
  • S.u.S.E. Linux 7.3.0
  • S.u.S.E. Linux 7.3.0 i386
  • S.u.S.E. Linux 7.3.0 ppc
  • S.u.S.E. Linux 7.3.0 sparc
  • S.u.S.E. Linux 8.0.0
  • S.u.S.E. Linux 8.0.0 i386
  • S.u.S.E. Linux Database Server
  • S.u.S.E. Linux Enterprise Server 7
  • S.u.S.E. Linux Enterprise Server for S/390
  • S.u.S.E. Linux Firewall on CD
  • S.u.S.E. SuSE eMail Server III
  • Sun Linux 5.0.0
  • Sun Linux 5.0.3
  • Sun Linux 5.0.5
  • Sun Linux 5.0.6
  • Sun Linux 5.0.7
  • Trustix Secure Linux 1.0.01
  • Trustix Secure Linux 1.1.0
  • Trustix Secure Linux 1.2.0
  • Trustix Secure Linux 1.5.0
  • WireX Immunix OS 7+

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.