Deprecated test case
Description
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console.
BadSource: PropertiesFile Read data from a .properties file (from the property named data)
GoodSource: Read data from the console using readLine
Sinks: basic
GoodSink: Use decrypted data as password to connect to DB
BadSink : Use data as password to connect to DB
Flow Variant: 71 Data flow: data passed as an Object reference argument from one method to another in different classes in the same package
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.