National Institute of Standards and Technology
Package illustrating a test case

Test case 134765

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: 75 Data flow: data passed in a serialized object from one method to another in different source files in the same package

Flaws

Test Suites

Documentation

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