Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | geoip | 1.3.17-1.1 | — |
| Debian 13 | geoip | 1.3.17-1.1 | — |
| Debian 12 | geoip | 1.3.17-1.1 | — |
References
- ADV-2007-0117 vdb-entry
- geoip-geoipupdate-directory-traversal(31383) vdb-entry
- 21959 vdb-entry
- 23880 third-party-advisory
- ADV-2007-0118 vdb-entry
- 23906 third-party-advisory
- http://arctic.org/~dean/patches/GeoIP-1.4.0-update-vulnerability.patch
- 31618 vdb-entry
- USN-412-1 vendor-advisory
- MDKSA-2007:004 vendor-advisory