National Institute of Standards and Technology
Package illustrating a test case

Test case 60265

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: 89 SQL Injection
BadSource: URLConnection Read a string from a web server with URLConnection
GoodSource: A hardcoded string
Sinks: executeBatch
GoodSink: prepared sqlstatement, batch
BadSink : untrusted input to raw update batch
Flow Variant: 05 Control flow: if(private_t) and if(private_f)

Flaws

Test Suites

Documentation

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