Stash 1.0.3 Insecure Cookie Handling Vulnerability

2008.09.17
Credit: Ciph3r
Risk: High
Local: No
Remote: Yes
CWE: CWE-287


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

#################################################################################################### # # # ...:::::stash-1.0.3 Insecure Cookie Handling Vulnerability ::::.... # ################################################################################################### ----------------------- Discoverd By : Ciph3r special tnx to : Iranian hacker & Kurdish Security TEAM E-Mail : Ciph3r_blackhat@yahoo.com cms : http://sourceforge.net/project/showfiles.php?group_id=206129 ----------------------- DESCRIPTION: stash-1.0.3, 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. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- vuln code in admin/login.php if(isset($_COOKIE['bsm'])&&isset($_COOKIE['msb'])){ $authenticate->checkCookie($_COOKIE['bsm'],$_COOKIE['msb']); ----------------------------------------- exploit: javascript:document.cookie = "bsm=1; path=/"; ----- now you can get admin access and manage the cms ;) -------------------------------------------

References:

http://www.securityfocus.com/bid/30286
http://www.milw0rm.com/exploits/6406


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top