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 LogonUserW()
BadSink : Authenticate the user using LogonUserW()
Flow Variant: 33 Data flow: use of a C++ reference to data within the same function
Have any comments on this test case? Please, send us an email.