GeoIP GeoIP_update_database_general() directory traversal
|geoip-geoipupdate-directory-traversal (31383)||Medium Risk|
GeoIP could allow a remote attacker to traverse directories on the system caused by an input validation error in the GeoIP_update_database_general() function in [GeoIPUpdate.c]. An attacker could send a specially-crafted HTTP request to the app/update_getfilename script containing "dot dot" sequences (/../) in the database filename to view arbitrary files on the system.
Apply the patch for this vulnerability (GeoIP-1.4.0-update-vulnerability.patch), available from the Artic.org Web site. See References.
For Ubuntu Linux:
Refer to USN-412-1 for patch, upgrade, or suggested workaround information. See References.
- Artic.org Web site: Index of /~dean/patches.
- BID-21959: GeoIP 'GeoIPUpdate.c' Directory Traversal Vulnerability
- CVE-2007-0159: Directory traversal vulnerability in the GeoIP_update_database_general function in libGeoIP/GeoIPUpdate.c in GeoIP 1.4.0 allows remote malicious update servers (possibly only update.maxmind.com) to overwrite arbitrary files via a .. (dot dot) in the database filename, which is returned by a request to app/update_getfilename.
- MDKSA-2007:004: Updated geoip packages fix geoipupdate vulnerability
- OSVDB ID: 31618: GeoIP GeoIPUpdate.c GeoIP_update_database_general Traversal Arbitrary File Overwrite
- SA23880: GeoIP C API "GeoIP_update_database_general()" Directory Traversal
- USN-412-1: GeoIP vulnerability
- Canonical Ubuntu 5.10
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 6.10
- Dean Gaudet GeoIP 1.4.0 and prior
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
Jan 10, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.