XSS vulnerability in phpMyID

2008-10-24 / 2008-10-25
Risk: Low
Local: No
Remote: Yes
CWE: CWE-79


CVSS Base Score: 4.3/10
Impact Subscore: 2.9/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: None
Integrity impact: Partial
Availability impact: None

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Subject: XSS vulnerability in phpMyID Credits: Raphael Geissert <atomo64 (at) gmail (dot) com [email concealed]> Release date: 2008-10-27 Affects: v0.9 [23-Jul-2008] Resources: * Homepage: http://siege.org/projects/phpMyID/ * Demo: http://phpmyid.com Background: phpMyID is a single user OpenID identity provider implemented in PHP. Problem description: The MyID.php script does not sanitize the input it is supposed to be given by the site where the user wants to be authenticated. When the return_to address does not have the same "root" as trust_root it aborts, opening a hole for XSS attacks. Impact: A user can be tricked and redirected to its vulnerable identity provider, place where the specially crafted data exploits the security hole. Example exploit: MyID.php?openid_mode=checkid_immediate&openid_return_to=bar &openid_trust_root=%3Cscript%3Ewindow.alert%28%29%3B%3C%2Fscript%3E &openid_identity=foo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjeokkACgkQYy49rUbZzlrT4gCgiJx+DciYJ/gwGvofowlGHLUa dXIAnRJKr7xKJG71jmabclNAx/GEmLa9 =A51u -----END PGP SIGNATURE-----

References:

http://www.securityfocus.com/archive/1/archive/1/496930/100/0/threaded


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