CVE-2024-46977: GHSL-2024-127_GHSL-2024-129: Remote Code Execution (RCE) via Cross-Site Scripting (XSS) in OpenC3 COSMOS - CVE-2024-43795, CVE-2024-46977, CVE-2024-47529

Published Oct 2, 2024
·
Updated

Summary A path traversal vulnerability inside of LocalMode's openlocalfile method allows an authenticated user with adequate permissions to download any .txt via the ScreensController#show on the web server COSMOS is running on (depending on the file permissions).

Note: This CVE affects all OpenC3 COSMOS Editions

Impact This issue may lead to Information Disclosure.

Other sources

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. A path traversal vulnerability inside of LocalMode's openlocalfile method allows an authenticated user with adequate permissions to download any .txt via the ScreensController#show on the web server COSMOS is running on (depending on the file permissions). This vulnerability is fixed in 5.19.0.

MITRE

Several vulnerabilities were found in OpenC3 COSMOS, a web application that is used to control satellites and test equipment. They can lead up to Remote Code Execution (RCE) via cross-site scripting (XSS).

GitHub Security Lab

Affected Software

4 affected componentsFixes available
pip/openc3<5.19.0
5.19.0
rubygems/openc3<5.19.0
5.19.0
OpenC3 COSMOS<5.19.0
OpenC3 COSMOS<5.19.0

Event History

Oct 2, 2024
CVE Published
via MITRE·07:17 PM
Data Sourced
via MITRE·07:17 PM
DescriptionWeakness
Advisory Published
via GitHub·07:29 PM
Oct 17, 2024
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-46977?

CVE-2024-46977 is classified as a medium severity vulnerability due to its potential exploitation by authenticated users with sufficient permissions.

2

How do I fix CVE-2024-46977?

To fix CVE-2024-46977, update OpenC3 COSMOS to version 5.19.0 or later.

3

What type of vulnerability is CVE-2024-46977?

CVE-2024-46977 is a path traversal vulnerability affecting the open_local_file method in OpenC3 COSMOS.

4

Who is affected by CVE-2024-46977?

Authenticated users with adequate permissions on OpenC3 COSMOS versions prior to 5.19.0 are affected by CVE-2024-46977.

5

What can attackers do with CVE-2024-46977?

Attackers can use CVE-2024-46977 to download arbitrary .txt files from the server, depending on file permissions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203