Creating test case using base program.
Added a Socket Server to accept communication from untrusted source.
Completed injection.
TRUE
UNSPECIFIED
UNSPECIFIED
$SS_TC_ROOT/$SS_TC_INSTALL/bin/postgres -p 8432
./configure --prefix="$SS_TC_ROOT/$SS_TC_INSTALL" --with-pgport=8432 --with-libraries="$SS_TC_DEPS/lib" --with-includes="$SS_TC_DEPS/include" --with-openssl --with-libxml --with-libxslt --without-selinux --with-readline --without-tcl --without-perl --without-python --without-gssapi --without-pam --without-krb5 --with-ldap --without-bonjour --with-zlib --disable-thread-safety
make CC="$SS_CC" CCLD="$SS_LNK"
make install CC="$SS_CC" CCLD="$SS_LNK"
initalize a database
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"this","is","data"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
sudo -E -u postgres $SS_TC_ROOT/$SS_TC_INSTALL/bin/initdb $SS_TC_ROOT/testData/good-01/psqldb
(UTF8 OR ASCII) AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-01/good-01-UTF8.out
good-01/good-01-ASCII.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a select
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"hello","world","!!!!"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-02/psql
GOOD-02 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-02/good-02.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform an insert
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"one","two","three"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-03/psql
GOOD-03 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-03/good-03.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a create
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"this","is","data"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-04/psql
GOOD-04 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-04/good-04.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a delete
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"hello","world","!!!!"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-05/psql
GOOD-05 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-05/good-05.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a drop
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"one","two","three"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-06/psql
GOOD-06 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-06/good-06.out
DOES_NOT_RETURN
CONTROLLED_EXIT
import a .sql file
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"this","is","data"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-07/psql
GOOD-07 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-07/good-07.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform an alter
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"hello","world","!!!!"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-08/psql
GOOD-08 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-08/good-08.out
DOES_NOT_RETURN
CONTROLLED_EXIT
see who's logged in
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"one","two","three"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-09/psql
GOOD-09 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
\s*booktown\s*\|\s*root\s*\|\s*([0-9]{1,3}\.){3}[0-9]{1,3}\s*
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a select using LIKE
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
NONE
"this","is","data"
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-10/psql
GOOD-10 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-10/good-10.out
DOES_NOT_RETURN
CONTROLLED_EXIT
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
DOS_UNCONTROLLED_EXIT
"this","is",data
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
sudo -E -u postgres $SS_TC_ROOT/$SS_TC_INSTALL/bin/initdb $SS_TC_ROOT/testData/good-01/psqldb
weakness_started_8mA7DlA69k1WGHgmiQNv AND ((NOT PERFORMER AND (segfault_code_mnJ2XntMi0 OR segfault_code_o2iSt6dGEY OR segfault_code_REiZz2pCWF OR segfault_code_pJ4QnwqvMa OR segfault_code_W8Wta6qb0s OR segfault_code_ets6QPCl9E OR segfault_msg_j4vrJ0mvsl OR illegal_inst_msg_XY66MWySrr) AND NOT timeout_hw40KarUvc) or (PERFORMER AND NOT ((segfault_code_mnJ2XntMi0 OR segfault_code_o2iSt6dGEY OR segfault_code_REiZz2pCWF OR segfault_code_pJ4QnwqvMa OR segfault_code_W8Wta6qb0s OR segfault_code_ets6QPCl9E OR segfault_msg_j4vrJ0mvsl OR illegal_inst_msg_XY66MWySrr) OR timeout_hw40KarUvc OR controlled_exit_HVSCH3VANy)))
(NOT PERFORMER AND (segfault_code_mnJ2XntMi0 OR segfault_code_o2iSt6dGEY OR segfault_code_REiZz2pCWF OR segfault_code_pJ4QnwqvMa OR segfault_code_W8Wta6qb0s OR segfault_code_ets6QPCl9E OR segfault_msg_j4vrJ0mvsl OR illegal_inst_msg_XY66MWySrr) AND NOT timeout_hw40KarUvc) or (PERFORMER AND NOT ((segfault_code_mnJ2XntMi0 OR segfault_code_o2iSt6dGEY OR segfault_code_REiZz2pCWF OR segfault_code_pJ4QnwqvMa OR segfault_code_W8Wta6qb0s OR segfault_code_ets6QPCl9E OR segfault_msg_j4vrJ0mvsl OR illegal_inst_msg_XY66MWySrr) OR timeout_hw40KarUvc OR controlled_exit_HVSCH3VANy))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
None
132
None
134
None
135
None
136
None
139
None
1
None
Segmentation fault
None
Illegal instruction
None
stonesoup_trace:weakness_start
Reads file name of a csv containing 3, fully quoted, comma separated, columns.Opens file and reads each value and sets it to index in array. If a value isn'tfully quoted program will skip that value and eventually seg fault when dereferencingarray index for printing
DOS_UNCONTROLLED_EXIT
"malformed values with spaces","because no",quotes
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-02/psql
weakness_started_nmIfLEUkEQUQdcxHQ4jS AND ((NOT PERFORMER AND (segfault_code_FhQYuIKwjr OR segfault_code_cOGlaHQjDP OR segfault_code_28RSVddodD OR segfault_code_nrBJGZSuau OR segfault_code_lgplqGJl2e OR segfault_code_7xmru1XKu3 OR segfault_msg_GdGNFrQiqN OR illegal_inst_msg_PmkLfxw5uW) AND NOT timeout_OdkEH1C2V1) or (PERFORMER AND NOT ((segfault_code_FhQYuIKwjr OR segfault_code_cOGlaHQjDP OR segfault_code_28RSVddodD OR segfault_code_nrBJGZSuau OR segfault_code_lgplqGJl2e OR segfault_code_7xmru1XKu3 OR segfault_msg_GdGNFrQiqN OR illegal_inst_msg_PmkLfxw5uW) OR timeout_OdkEH1C2V1 OR controlled_exit_pCoQvpxbis)))
(NOT PERFORMER AND (segfault_code_FhQYuIKwjr OR segfault_code_cOGlaHQjDP OR segfault_code_28RSVddodD OR segfault_code_nrBJGZSuau OR segfault_code_lgplqGJl2e OR segfault_code_7xmru1XKu3 OR segfault_msg_GdGNFrQiqN OR illegal_inst_msg_PmkLfxw5uW) AND NOT timeout_OdkEH1C2V1) or (PERFORMER AND NOT ((segfault_code_FhQYuIKwjr OR segfault_code_cOGlaHQjDP OR segfault_code_28RSVddodD OR segfault_code_nrBJGZSuau OR segfault_code_lgplqGJl2e OR segfault_code_7xmru1XKu3 OR segfault_msg_GdGNFrQiqN OR illegal_inst_msg_PmkLfxw5uW) OR timeout_OdkEH1C2V1 OR controlled_exit_pCoQvpxbis))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
None
132
None
134
None
135
None
136
None
139
None
1
None
Segmentation fault
None
Illegal instruction
None
stonesoup_trace:weakness_start