Descrizione
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.
Tipo di vulnerabilità
CWE-291
Reliance on IP Address for Authentication
The product uses an IP address for authentication.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi, Non ripudio |
Nascondere le proprie attività, Ottenere privilegi o assumere un’altra identità |
Come si previene
Architettura e progettazione
Use other means of identity verification that cannot be simply spoofed. Possibilities include a username/password or certificate. While IP address verification can be a useful part of an authentication scheme, but it should not be the single factor required for authentication.
Tutte le 11 CVE di tipo CWE-291, con andamento e prevenzione