CWE: 256 Plaintext Storage of Password
BadSource: Read the password from a file
GoodSource: Read the password from a file and decrypt it
GoodSink: Decrypt the password then authenticate the user using LogonUserA()
BadSink : Authenticate the user using LogonUserA()
Flow Variant: 43 Data flow: data flows using a C++ reference from one function to another in the same source file
Have any comments on this test case? Please, send us an email.