Exploit database

GH-10a1b0aae721950ffd2c9558fda7238a

1036-ce/cmss

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2019-7314

10 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files78
1036-ce/cmssRevision b4ae2700844d
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

run_cmss.sh

Shell · 800 bytes
#!/bin/bash

export AFLNET="$(pwd)"
export WORKDIR="$(dirname "$(pwd)")"
export PATH=$PATH:$AFLNET
export AFL_PATH=$AFLNET
export AFL_NO_UI=1
export AFL_SKIP_CPUFREQ=1
export AFL_NO_AFFINITY=1

TEST_DIR="${AFLNET}/test"
INPUT_DIR="input"
OUTPUT_DIR="output"
EXTRAS_DIR="rtsp.dict"

cd "${TEST_DIR}"

sudo sh -c "echo core >/proc/sys/kernel/core_pattern"
sudo sh -c "cd /sys/devices/system/cpu && echo performance | tee cpu*/cpufreq/scaling_governor"

# afl-fuzz ${PAL_ARG} \
# -i "${INPUT_DIR}" \
# -o "${OUTPUT_DIR}" \
# -N tcp://127.0.0.1/8554 \
# -x "${EXTRAS_DIR}" \
# -P RTSP -D 10000 -q 3 -s 3 -E -K -R \
# ./testOnDemandRTSPServer 8554

"${AFLNET}"/cmss "${AFLNET}"/afl-fuzz \
-i "${INPUT_DIR}" \
-N tcp://127.0.0.1/8554 \
-x "${EXTRAS_DIR}" \
-P RTSP -D 10000 \
./testOnDemandRTSPServer 8554