Description
This test case implements an unchecked read from a buffer. The buffer is declared as a fixed size buffer on the stack. Untrusted input is not properly sanitized or restricted before being used as an index of the buffer to read. This allows inputs containing non-ascii characters to wrap around to negative indexes and under read the buffer, printing the contents of the memory located before the buffer on the stack to the output stream.
Metadata
- Base program: Subversion
- Source Taint: SOCKET
- Data Type: UNION
- Data Flow: ADDRESS_AS_NONLINEAR_EXPRESSION
- Control Flow: SET_JUMP_LONG_JUMP
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.