CVE-2025-28388

9.8 CRITICAL

📋 TL;DR

OpenC3 COSMOS versions before v6.0.2 contain hardcoded credentials for a Service Account, allowing attackers to gain unauthorized access to the system. This affects all deployments using vulnerable versions of the OpenC3 COSMOS mission framework.

💻 Affected Systems

Products:
  • OpenC3 COSMOS
Versions: All versions before v6.0.2
Operating Systems: All supported platforms
Default Config Vulnerable: ⚠️ Yes
Notes: All deployments using default or custom configurations are affected if using vulnerable versions.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete compromise of the COSMOS system, allowing attackers to execute arbitrary commands, access sensitive mission data, and potentially pivot to connected systems.

🟠

Likely Case

Unauthorized access to COSMOS functionality, data exfiltration, and potential privilege escalation within the system.

🟢

If Mitigated

Limited impact if proper network segmentation and access controls prevent exploitation attempts.

🌐 Internet-Facing: HIGH - Internet-facing instances are directly exploitable without authentication.
🏢 Internal Only: HIGH - Internal instances remain vulnerable to insider threats or compromised internal systems.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires only knowledge of the hardcoded credentials, which are publicly documented in the fix commit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: v6.0.2

Vendor Advisory: https://github.com/OpenC3/cosmos/releases/tag/v6.0.2

Restart Required: Yes

Instructions:

1. Backup current configuration and data. 2. Update to OpenC3 COSMOS v6.0.2 or later. 3. Restart all COSMOS services. 4. Rotate any credentials that may have been exposed.

🔧 Temporary Workarounds

Credential Rotation

all

Manually change the Service Account credentials to prevent use of hardcoded values

# Edit COSMOS configuration to set new Service Account credentials
# Restart COSMOS services after changes

Network Isolation

linux

Restrict network access to COSMOS services to trusted sources only

# Configure firewall rules to limit access
# Example: iptables -A INPUT -p tcp --dport <COSMOS_PORT> -s <TRUSTED_IP> -j ACCEPT

🧯 If You Can't Patch

  • Implement strict network access controls to limit who can reach COSMOS services
  • Monitor authentication logs for attempts using known hardcoded credentials

🔍 How to Verify

Check if Vulnerable:

Check if OpenC3 COSMOS version is earlier than v6.0.2 by examining the installed version or configuration files.

Check Version:

Check COSMOS version via web interface or configuration files; exact command depends on deployment method.

Verify Fix Applied:

Confirm installation of v6.0.2 or later and verify that Service Account credentials are no longer hardcoded defaults.

📡 Detection & Monitoring

Log Indicators:

  • Authentication attempts using the hardcoded Service Account credentials
  • Unusual access patterns or privilege escalation from Service Account

Network Indicators:

  • Unauthorized access attempts to COSMOS service ports
  • Traffic from unexpected sources to COSMOS endpoints

SIEM Query:

source="cosmos" AND (event_type="authentication" AND (username="service_account" OR result="failure"))

🔗 References

📤 Share & Export