VDB
Sign up
HIGH

GHSA-c6f4-wj38-m3g3

Snipe-IT vulnerable to directory traversal in displaySig

Quick fix

GHSA-c6f4-wj38-m3g3 — snipe/snipe-it: upgrade to the fixed version with the command below.

composer require snipe/snipe-it:^8.5.0

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/snipe/snipe-it
Introduced in: 0Fixed in: 8.5.0
Fixcomposer require snipe/snipe-it:^8.5.0

References