OpenC3 COSMOS: Arbitrary write to plugins directory via path-traversed config filenames
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OpenC3 | cosmos | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Openc3 | Cosmos |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4jvx-93h3-f45h | OpenC3 COSMOS allows arbitrary writes to plugins directory via path-traversed config filenames |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.313% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:* cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:* cpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Openc3
Openc3 cosmos |
|
| Vendors & Products |
Openc3
Openc3 cosmos |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. Prior to versions 6.10.5 and 7.0.0-rc3, OpenC3 COSMOS contains a design flaw in the save_tool_config() function that allows saving tool configuration files at arbitrary locations inside the shared /plugins directory tree by supplying crafted configuration filenames. Although the implementation sufficiently mitigates standard path traversal attacks, by canonicalizing filename to an absolute path, all plugins share this same root directory. That enables users to create arbitrary file structures and overwrite existing configuration files within the shared /plugins directory. This issue has been patched in versions 6.10.5 and 7.0.0-rc3. | |
| Title | OpenC3 COSMOS: Arbitrary write to plugins directory via path-traversed config filenames | |
| Weaknesses | CWE-23 | |
| References |
|
|
| Metrics |
cvssV3_1
|