National Institute of Standards and Technology
Package illustrating a test case

Test case 94269

Description

CWE: 319 Cleartext Transmission of Sensitive Information
BadSource: listen_socket Read the password using a listen socket (server side)
GoodSource: Use a hardcoded password (one that was not sent over the network)
Sinks:
GoodSink: Decrypt the password before using it in an authentication API call to show that it was transferred as ciphertext
BadSink : Use the password directly from the source in an authentication API call to show that it was transferred as plaintext
Flow Variant: 44 Data/control flow: data passed as an argument from one function to a function in the same source file called via a function pointer

Flaws

Test Suites

Documentation

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