Overview
ZOO-Project's Gdal_Translate service accepts GDAL VRT (virtual format) files. A VRT describes a raster by pointing at source files, and the service passes the SourceFilename value through without checking for traversal sequences.
An unauthenticated attacker submits a VRT whose SourceFilename points at any file on the server using ../ sequences. VRT's raw data mode reads the file as bytes and converts it to a TIFF, which the service hands back. That exposes configuration files, credentials and anything else the process can read. Commit 5f155a8 fixes the issue.
Affected products
- ZOO-Project before commit 5f155a8
Disclosure timeline
- 06 Feb 2025
- CVE-2025-25284 reserved
- 18 Feb 2025
- ZOO-Project commits fix 5f155a8; GitHub advisory and CVE published the same day