eEye Digital Security eEye Digital Security
  • Login to the eEye Business Client Portal
  • Shop for eEye Products
  • Read the eEye Blog
  • Subscribe to eEye RSS Feeds
  • Follow eEye on Twitter
  • Follow eEye of Facebook
Resources

Research > Zero-Day Tracker > 20130429

iOS Safari text/plain Cross-Site Scripting Vulnerability

Date Disclosed:
4/26/2013

Date Patched:
9/18/2013 when iOS 7 was publicly released

Vendor:
Apple

Affected Software:
Mobile Safari on iOS 6.1.4 and prior

Description:
Mobile Safari does not properly evaluate the text/plain Content-Type. Instead, it decides how to display the page, based on the page’s elements. Therefore, pages that would normally be rendered as plaintext (using the Content-Type: text/plain) could be rendered as HTML. This allows an attacker to execute arbitrary JavaScript code within the context of the current user.

Severity:
Moderate

Code Execution:
Yes: JavaScript Code Execution

Impact:
Cross-Site Scripting
Exploitation of this vulnerability is possible via maliciously crafted HTML document being served with a Content-Type of text/plain. Attackers who successfully exploit this vulnerability will be able to execute JavaScript code within the user’s browser, performing actions on behalf of that user.

Mitigation:
Use an alternate mobile browser, such as Chrome.

Protection:
BeyondTrust's Retina® Network Security Scanner scans devices to detect for this vulnerability.

  • 30602 - Apple iOS Multiple Vulnerabilities (20130919)

Links:

Status:
2013-04-26: Original Disclosure
2013-09-18: Apple releases iOS 7 which contains a fix for this issue

Copyright ©1998-2011 eEye Digital Security
Permission is hereby granted for the redistribution of this alert electronically. It is not to be edited in any way without express consent of eEye. If you wish to reprint the whole or any part of this alert in any other medium excluding electronic medium, please email alert@eEye.com for permission.

Disclaimer
The information within this paper may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are no warranties, implied or express, with regard to this information. In no event shall the author be liable for any direct or indirect damages whatsoever arising out of or in connection with the use or spread of this information. Any use of this information is at the user's own risk.

Next Steps

Free Trial
Test drive an eEye product
On-demand Demo
See an online product tour
One-on-one Demo
Schedule a personalized tour
Compare Products
See side-by-side features
Buy Now
Go to eEye product store
Contact | Site Map | Privacy | Website Feedback | 1.866.339.3732
© 1998 – 2012 eEye Digital Security. All rights reserved.