ADVISORIES

GitHub Advisory Database

GHSA-c6f4-wj38-m3g3

Snipe-IT vulnerable to directory traversal in displaySig

Details

Impact

The displaySig action in ActionlogController serves signature image files from a private upload directory. The filename parameter from the HTTP route is concatenated directly into a filesystem path with no sanitization, allowing an authenticated attacker to traverse outside the intended directory and read arbitrary files accessible to the web server process.

Reported by https://github.com/securin-public

Affected packages

EcosystemPackageAffected versions
Packagistsnipe/snipe-it
All versions before 8.5.0 (fixed in 8.5.0)

References