Go

Go : Undocumented feature: security parameters modification

Classification

OWASP ASVS
CWE/SANS Top 25 2011
CWE/SANS Top 25 2021

Overview

The application contains the code that changes the logic of authentication by overwriting the variable that indicates whether the authentication is successful.

Using the assignment operator (=) instead of the comparison operator (==) is a common mistake. It is particularly dangerous and may be the part of the backdoor when occurs in the methods related to authentication.

LOW

DerScanner Severity Score

Check your Go code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.