Apple iOS up to 10.2.0 WebKit HTMLFormElement::reset memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.2$0-$5k0.00

Summaryinfo

A vulnerability was found in Apple iOS up to 10.2.0 and classified as critical. Affected by this issue is the function HTMLFormElement::reset of the component WebKit. Executing a manipulation can lead to memory corruption. This vulnerability is tracked as CVE-2017-2362. The attack can be launched remotely. Moreover, an exploit is present. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in Apple iOS up to 10.2.0 (Smartphone Operating System). This vulnerability affects the function HTMLFormElement::reset of the component WebKit. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability.

The bug was discovered 01/19/2017. The weakness was disclosed 01/23/2017 by Ivan Fratric (lokihardt) with Google Project Zero as HT207482 as confirmed advisory (Website). The advisory is shared for download at support.apple.com. This vulnerability was named CVE-2017-2362 since 12/01/2016. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Successful exploitation requires user interaction by the victim. Technical details and also a public exploit are known. The advisory points out:

Multiple memory corruption issues were addressed through improved memory handling.

After 2 weeks, there has been an exploit disclosed. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 4 days. During that time the estimated underground price was around $100k and more. The vulnerability scanner Nessus provides a plugin with the ID 96798 (macOS : Apple Safari < 10.0.3 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family MacOS X Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370283 (Apple Safari 10.0.3 Not Installed (APPLE-SA-2017-01-23-5)). The code used by the exploit is:

<script>
 
function go() {
 
  output.value = "aaa";
  output.appendChild(inserted_div);
 
  document.getElementById("output").addEventListener('DOMSubtreeModified', function () {
    for(var i=0; i<20; i++) {
      form.appendChild(document.createElement("input"));
    }
  }, false);
 
  form.reset();
 
}
 
</script>
<body onload=go()>
<div id="inserted_div">foo</div>
<form id="form" onchange="eventhandler()">
<input type="text" value="foo">
<output id="output" oninput="eventhandler()"></output>
<input type="text" value="foo">

Upgrading to version 10.2.1 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Exploit-DB (41213), Tenable (96798) and SecurityFocus (BID 95727†). The entries VDB-95903, VDB-95883, VDB-95902 and VDB-95912 are pretty similar. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.2

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 96798
Nessus Name: macOS : Apple Safari < 10.0.3 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 800100
OpenVAS Name: Apple Safari Multiple Vulnerabilities-01 February17
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: iOS 10.2.1

Timelineinfo

12/01/2016 🔍
01/19/2017 +49 days 🔍
01/23/2017 +4 days 🔍
01/23/2017 +0 days 🔍
01/23/2017 +0 days 🔍
01/25/2017 +2 days 🔍
01/26/2017 +1 days 🔍
02/01/2017 +6 days 🔍
02/01/2017 +0 days 🔍
02/20/2017 +19 days 🔍
08/03/2025 +3085 days 🔍

Sourcesinfo

Vendor: apple.com

Advisory: HT207482
Researcher: Ivan Fratric (lokihardt)
Organization: Google Project Zero
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-2362 (🔍)
GCVE (CVE): GCVE-0-2017-2362
GCVE (VulDB): GCVE-100-95932
SecurityFocus: 95727 - WebKit Multiple Security Vulnerabilities
OSVDB: - CVE-2017-2362 - Apple - Multiple Products - Memory Corruption Issue
SecurityTracker: 1037668

scip Labs: https://www.scip.ch/en/?labs.20150917
See also: 🔍

Entryinfo

Created: 01/25/2017 11:35
Updated: 08/03/2025 01:23
Changes: 01/25/2017 11:35 (81), 08/10/2020 20:26 (16), 11/03/2022 15:04 (4), 08/03/2025 01:23 (14)
Complete: 🔍
Cache ID: 216:68A:103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!