GeoIP GeoIP_update_database_general() directory traversal
| geoip-geoipupdate-directory-traversal (31383) |
Description:
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.
*CVSS:
| Base Score: | 3.5 |
| Access Vector: | Remote |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | None |
| Availability Impact: | None |
| Temporal Score: | 3 |
| Exploitability: | High |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Obtain Information
Remedy:
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.
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
- SA23880: GeoIP C API "GeoIP_update_database_general()" Directory Traversal
- USN-412-1: GeoIP vulnerability
- VUPEN/ADV-2007-0117: GeoIP GeoIP_update_database_general() Remote Directory Traversal Vulnerability
Platforms Affected:
- 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
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
Reported:
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 xforce@iss.net
* 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.
