National Institute of Standards and Technology
Package illustrating a test case

Test case 134923

Description

CWE: 319 Cleartext Transmission of Sensitive Information
BadSource: listen_tcp Read password using a listening tcp connection
GoodSource: Set password to a hardcoded value (one that was not sent over the network)
Sinks: driverManager
GoodSink: Decrypt the password from the source before using it in database connection
BadSink : Use password directly from source in database connection
Flow Variant: 09 Control flow: if(IO.STATIC_FINAL_TRUE) and if(IO.STATIC_FINAL_FALSE)

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.