Cyber Security News

Critical Vivotek Vulnerability Allows Remote Users to Inject Arbitrary Code

A critical remote code injection vulnerability in Vivotek legacy firmware that enables unauthenticated attackers to execute arbitrary commands with root privileges.

The vulnerability, tracked as CVE-2026-22755, affects dozens of camera models and poses significant risks to organizations relying on legacy surveillance infrastructure.

The vulnerability exists in the upload_map.cgi script, where user-supplied filenames are processed through an unsanitized snprintf() function before being passed to the system() call.

This allows attackers to inject shell commands via specially crafted filenames that contain metacharacters, such as semicolons.

Vivotek Vulnerability

Akamai researchers discovered that Vivotek legacy cameras lack password protection by default, eliminating authentication barriers.

The exploit requires five specific conditions: file size under 5MB, firmware verification bypass, and an intact /usr/sbin/confclient binary.

Disassembled code showing user input passed to system() (source : Akamai)

Non-standard web server environment variables, and access through upload_map.cgi rather than file_manager.cgi.

Researchers created a bash script that generates valid firmware images with proper magic bytes (FF V FF FF header and FF K FF FF footer) to bypass validation checks.

By setting environment variables, including POST_FILE_NAME=”test_firmware.bin; id;”, attackers trigger command execution as the root user, as evidenced by proof-of-concept demonstrations in which the id command showed a uid of 0 (root).

Decompiled code showing how cgi-bin script must be called( source: Akamai)

The vulnerability impacts 36 camera models across multiple product lines.

Model SeriesAffected Firmware
FD8365, FD9165, FD93710100a–0125c
FE9180, FE91910100a–0125c
IB9365, IP9165, IP91710100a–0125c
MA9321, MS9390, TB93300100a–0125c

Attack Scenario

An attacker can remotely upload a malicious firmware file with an embedded command in the filename.

When processed by the vulnerable upload_map.In a CGI script, the shell metacharacter triggers command execution.

The resulting payload executes with root privileges, enabling complete system compromise, lateral network movement, botnet installation, or data exfiltration.

According to Akamai, organizations should implement network-level detection using the following YARA rule to identify exploitation attempts:

rule CVE_2026_22755_Vivotek_upload
{
    meta:
        description = "Detects upload_map.cgi requests with camid parameter"

    strings:
        $path = "/cgi-bin/admin/upload_map.cgi"
        $param = "camid="

    condition:
        all of them
}

Prioritize firmware updates for affected camera models immediately. Implement network segmentation to isolate legacy camera infrastructure.

Deploy intrusion detection signatures for malicious upload_map.cgi requests. Conduct inventory audits to identify deployed vulnerable devices.

Monitor for suspicious file uploads and POST requests to camera administration interfaces.

This vulnerability represents a critical IoT security risk, particularly for organizations operating legacy surveillance systems in critical infrastructure, healthcare, and enterprise environments.

Unauthenticated remote code execution with root privileges enables complete device compromise and potential network propagation through botnet-based distributed denial-of-service attacks.

Follow us on Google News, LinkedIn, and X for daily cybersecurity updates. Contact us to feature your stories.

Abinaya

Abi is a Security Editor and fellow reporter with Cyber Security News. She is covering various cyber security incidents happening in the Cyber Space.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

4 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

5 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

6 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

6 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

7 hours ago