Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Authentication Bypass vulnerabilities in an interactive lesson.
Start learningThere is no fixed version for hawk
.
hawk is a library for the HTTP Hawk Authentication Scheme.
Affected versions of this package are vulnerable to Authentication Bypass. The incoming (client supplied) hash of the payload is trusted by the server and not verified before the signature is calculated.
A malicious actor in the middle can alter the payload and the server side will not identify the modification occurred because it simply uses the client provided value instead of verify the hash provided against the modified payload.
According to the maintainers this issue is to be considered out of scope as "payload hash validation is optional and up to developer to implement".