Arbitrary Command Execution in ASUS Router AiCloud
CVE-2024-12912 is an improper input insertion vulnerability in ASUS Router AiCloud on certain router models that can lead to arbitrary command execution. The provided content states that the flaw affects the AiCloud remote access feature and is exploitable via remote access through AiCloud. Reporting on Operation WrtHug indicates attackers leveraged this issue against outdated or end-of-life ASUS WRT routers as part of intrusion chains targeting AiCloud-exposed devices. Specific vulnerable functions or code paths are not provided in the supplied content, but the issue is characterized as a command-execution flaw caused by unsafe insertion of attacker-controlled input.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
Repository contains a single substantive Go program, origasus.go, plus a README. The code is an operational exploit/scanner targeting ASUS AiCloud/AsusWRT devices and explicitly references a chained attack involving SETROOTCERTIFICATE to write /etc/cert.pem.1 and APPLYAPP/RC_SERVICE to execute commands. It is not merely a detector: it reads targets from stdin or a file, supports optional TLS and multi-port scanning, verifies ASUS-related indicators to reduce false positives, and then attempts exploitation using multiple HTTP request and shell-execution variants. The exploit is structured as a concurrent scanner with global configuration, signal handling, exploited-host tracking, and environment-driven loader customization. It maintains a list of common ASUS management ports, supports host:port parsing or separator-based input, and skips previously exploited hosts unless disabled. The payload logic is the most notable part: it builds several shell-script variants intended to be written to /etc/cert.pem.1, then tries many command-injection forms to execute that file. The staged script attempts to download kla.sh from a configurable loader host over HTTP or raw TCP using wget, busybox wget, curl, nc, or toybox nc, stores it in writable temp locations, marks it executable, and launches it in the background with a campaign tag. Fingerprintable observables include the default loader IP 11.11.11.11, HTTP path /bins/kla.sh, TCP port 3342, target-side file /etc/cert.pem.1, temp directories /dev/shm, /var/tmp, /tmp, and the local bookkeeping file exploited.txt. Overall, this repository is a compact standalone Go-based exploitation utility for mass-targeting vulnerable ASUS router/web-management interfaces, with built-in staging for a second-phase shell payload.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
An arbitrary command execution vulnerability in ASUS routers, exploited by threat actors to compromise devices via the AiCloud service.
An ASUS WRT/AiCloud-related arbitrary command execution vulnerability used in Operation WrtHug to obtain remote command execution on exposed/accessible routers.
Unknown (n-day vulnerability in end-of-life ASUS WRT routers, used for compromise/proliferation in Operation WrtHug).
Arbitrary command execution vulnerability in ASUS WRT routers, cited as leveraged in Operation WrtHug.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.