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: 22 Control flow: Flow controlled by value of a global variable. Sink functions are in a separate file from sources.
Have any comments on this test case? Please, send us an email.