Backdoors and other vulnerabilities in HiSilicon based hardware video encoders
The article discloses multiple critical vulnerabilities in HiSilicon-based video encoders, including a backdoor password, telnet root access, path traversal, unauthenticated file upload, command injection, buffer overflow, and unauthorised RTSP access. An attacker could remotely gain full control of the device, expose sensitive information, or cause denial of service.
kojenov.com
Published on kojenov.com
This article discloses critical vulnerabilities in IPTV/H.264/H.265 video encoders based on HiSilicon hi3520d hardware. The vulnerabilities exist in vendor application software running on these devices.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the vendor's custom web application contains multiple coding errors, such as hardcoded credentials, missing authentication checks, and improper input validation.
What the attacker needed
Network access to the device; default credentials admin/admin; ability to upload firmware
The fix
The article states that no complete fixes were available at the time of publication, and recommends using the encoders only on fully trusted networks behind firewalls.
How it was found
- Scan the device to find open ports including telnet, HTTP, RTSP, and others.
- Access the web interface on port 80 or 8086 and log in with default credentials admin/admin.
- Use the backup feature to download the firmware and configuration.
- Extract the firmware archive to find the password file and the main web application binary.
- Modify the password file to set a known root password, repackage the firmware, and upload it via the web interface.
- Reboot the device and log in via telnet as root with the new password.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
These video encoders have several security flaws. One flaw is a hidden password that lets anyone log in as admin. Another lets someone upload a file that runs commands on the device, giving full control. The devices are often exposed to the internet, so attackers can find and exploit them.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.