Join our Newsletter — 33% off our NHI Course

How do you patch or mitigate CVE-2022-24990 (TerraMaster OS Remote Command Execution)?

CISA’s required action for CVE-2022-24990 is to apply updates per vendor instructions. In practice, find every instance of TerraMaster TerraMaster OS in your estate, apply the vendor security update or documented mitigation, and if no fix can be applied, remove internet exposure or take the product out of service. After patching, review logs for signs of earlier exploitation, because attackers used this flaw in the wild.

What to verify before you treat CVE-2022-24990 as fixed

Start by confirming every TerraMaster TerraMaster OS instance in the environment, including appliances that are no longer actively managed or that sit behind NAT. For an exploited-in-the-wild RCE flaw, asset discovery matters as much as the patch itself because unmanaged devices often remain the easiest entry point.

If the vendor update is available for the exact model and release train, apply it first and validate that the device is actually on the corrected build. If the product cannot be updated promptly, remove direct internet exposure, place it behind restrictive access paths, or remove it from service until a supported fix can be applied.

How to reduce exposure when patching must wait

When a fix is delayed, mitigation is about shrinking reachability, not pretending the risk is gone. Limit access to trusted administrative networks, block inbound management exposure, and disable any unnecessary remote administration paths that can turn a pre-authentication RCE into an immediate compromise.

Because the weakness was used in the wild, assume opportunistic scanning may already be looking for exposed systems. Monitoring should focus on whether the device is externally reachable, whether management interfaces are internet-facing, and whether any compensating controls still leave an attacker with a viable execution path.

For broader response planning, NHIMG’s Zero-Day and Exploited Vulnerabilities Guide is useful when a vulnerability is already being exploited and you need to triage patching, mitigation, and post-patch hunting in the right order.

What to look for after remediation

After update or isolation, review logs and operational telemetry for signs that the flaw was abused before remediation. Focus on unexpected command execution, unusual process launches, new accounts or configuration changes, outbound connections that do not fit normal device behaviour, and any evidence that the appliance was used as a foothold.

If you find suspicious activity, treat the device as potentially compromised rather than merely out of date. In practice that means preserving evidence, checking adjacent systems for lateral movement, and resetting any credentials or administrative sessions that may have been exposed through the appliance.

When the question is not just patching but whether the exposure has already been exploited, NHIMG’s Vulnerability Management Guide helps frame the follow-up work around scope, verification, exceptions, and remediation evidence.

Risk and Threat Considerations

This vulnerability is dangerous because remote command execution on an internet-reachable storage appliance can turn a single exposed device into full administrative compromise. The practical risk is not only initial access, but persistence, credential theft, and use of the device as a staging point inside the network.

Failure mechanism: An attacker can exploit the command execution condition remotely, then use the appliance to run arbitrary actions, alter settings, or harvest data and credentials before defenders notice.

Impact: The result can include data exposure, service disruption, follow-on compromise of connected systems, and a longer cleanup because the attacker may have acted before patching was completed.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while CIS Controls v8, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
CIS Controls v8 CIS-7 — Continuous Vulnerability Management CVE remediation and exposed-device triage are core continuous vulnerability management work.
Recommendation — Prioritise exposed TerraMaster systems for remediation and verify closure with rescans.
NIST CSF 2.0 PR.IP-12 — Vulnerability Management The answer is about patching, mitigation, and validating remediation for an exploited CVE.
Recommendation — Track the affected devices, apply the vendor fix, and verify remediation status.
NIST SP 800-53 Rev 5 SI-2 — Flaw Remediation This CVE response requires applying vendor updates and handling delayed patching safely.
Recommendation — Apply the vendor remediation and document exceptions until the flaw is closed.
MITRE ATT&CK T1190 — Exploit Public-Facing Application Remote command execution on exposed systems maps directly to exploitation of a public-facing target.
Recommendation — Reduce public exposure and hunt for signs that the interface was already exploited.
OWASP Non-Human Identity Top 10 NHI-06 — Insecure Cloud Deployment Configurations The mitigation logic includes removing internet exposure and constraining exposed management surfaces.
Recommendation — Remove external reachability and harden the exposed deployment until the fix is applied.

Practitioner Guidance

What to prioritise: Patch or isolate the most exposed TerraMaster systems first, especially anything with internet-facing management access. If you have multiple devices, rank them by exposure and business criticality rather than by age alone.

What to verify: Do not rely on a change ticket or vendor notice as proof of safety. Verify the running version on the device itself, confirm that remote access paths are closed or constrained, and check for signs of pre-patch execution before declaring the issue closed.

Practitioner takeaway: For exploited RCE flaws, the real decision is not patch versus wait, it is whether you can remove the attacker’s reachability before you can remove the bug.