National Institute of Standards and Technology
Package illustrating a test case

Test case 134771

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: passwordAuth
GoodSink: Decrypt password before using in PasswordAuthentication()
BadSink : Use password directly in PasswordAuthentication()
Flow Variant: 05 Control flow: if(privateTrue) and if(privateFalse)

Flaws

Test Suites

Documentation

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