National Institute of Standards and Technology
Package illustrating a test case

Test case 135003

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: passwordAuth
GoodSink: Decrypt password before using in PasswordAuthentication()
BadSink : Use password directly in PasswordAuthentication()
Flow Variant: 15 Control flow: switch(6) and switch(7)

Flaws

Test Suites

Documentation

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