SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #153791

Back to the previous page... Back to the previous page

Test Case IDCandidate153791
Bad / Good / MixedBadBad test case
AuthorIARPA STONESOUP Test and Evaluation team
Test suite: 102  
Application: 5  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
See src/INSTALL file for instructions on how to install.
Submission date2015-10-06
DescriptionThis test case implements an unchecked read from a buffer. The buffer is allocated as a fixed size buffer on the heap. Untrusted input is not properly sanitized or restricted before being used to determine the number of characters to read from the buffer. This allows input greater than 63 characters in length to over read the buffer, printing the contents of the memory located after the buffer on the heap.
- Base program: PostgreSQL
- Source Taint: SOCKET
- Data Type: UNION
- Control Flow: CALLBACK

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-126: Buffer Over-read on line(s): 4988, 4989, 4990, 4991, 4992