C/C++

C or C++ : Unsafe function: getlogin

Classification

PCI DSS 4.0

Overview

Calling getlogin function for authentication purposes is unsafe because the returned result can be changed by the attacker in many ways.

MEDIUM

DerScanner Severity Score

Check your C/C++ 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.