National Institute of Standards and Technology
Package illustrating a test case

Test case 52940

Deprecated test case

This version contains mistakes, making it deprecated. Deprecated test cases should not be used for new work. However, They remain in the SARD as a reference to redo previous work.

Description

CWE: 315 Storing plaintext data in a cookie
BadSource: Plaintext Credentials
GoodSource: Hashed Credentials
Sinks:
GoodSink: add hashed credentials to cookie
BadSink : add plaintext credentials to cookie
Flow Variant: 07 Control flow: if(private_five==5) and if(private_five!=5)

Flaws

Test Suites

Documentation

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