Description
Erugo before 0.3.0 contains an authentication bypass vulnerability in TusdHooksController::handleHook that allows unauthenticated attackers to call POST /api/tusd-hooks by relying solely on private source IP prefixes. Attackers whose requests are forwarded through a reverse proxy or Docker port mapping can forge post-finish events with chosen metadata or post-terminate events deleting File and UploadSession records.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
ErugoOSS Erugo
Default version status: unaffected
0 to < 0.3.0affected
pkg:github/ErugoOSS/ErugoReferences
- https://github.com/ErugoOSS/Erugo/security/advisories/GHSA-fmhm-j889-pcxf ↗
- https://github.com/ErugoOSS/Erugo/commit/a1137a37854cce5d04051246f1b82e50999461ff ↗
- https://github.com/ErugoOSS/Erugo/releases/tag/v0.3.0 ↗
- https://github.com/ErugoOSS/Erugo/blob/v0.2.16/app/Http/Controllers/TusdHooksController.php#L22-L47 ↗
- https://www.vulncheck.com/advisories/erugo-before-0.3.0-authentication-bypass-via-spoofable-tusd-hook-ip-check ↗