National Institute of Standards and Technology
Package illustrating a test case

Test case 135002

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: 14 Control flow: if(IO.staticFive==5) and if(IO.staticFive!=5)

Flaws

Test Suites

Documentation

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