Insecure Randomness
Discription
github.com/greenpau/go-authcrunch is vulnerable to Insecure Randomness. The vulnerability is caused due to using math/rand Golang library with a seed based on the Unix timestamp to generate strings for three security-critical contexts in the application. Attackers could use the potentially predictable nonce value used for authentication purposes in the OAuth flow to conduct OAuth replay attacks and also exploit insecure randomness used while generating multifactor authentication (MFA) secrets and creating API keys in the database…Read More
References
Back to Main