National Institute of Standards and Technology
Package illustrating a test case

Test case 134757

Description

CWE: 319 Cleartext Transmission of Sensitive Information
BadSource: URLConnection Read password from a web server with URLConnection
GoodSource: Set password to a hardcoded value (one that was not sent over the network)
Sinks: kerberosKey
GoodSink: Decrypt password before using in KerberosKey()
BadSink : Use password directly in KerberosKey()
Flow Variant: 61 Data flow: data returned 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.