9.6 CRITICAL
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): LOW
- User interaction (UI): NONE
- Scope (S): CHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): HIGH
- Availability impact (A): NONE
Activity log
- Created suggestion
OpenC3 COSMOS: Administrative Actions via the Script Runner Tool
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. Prior to version 7.0.0-rc3, the Script Runner widget allows users to execute Python and Ruby scripts directly from the openc3-COSMOS-script-runner-api container. Because all the docker containers share a network, users can execute specially crafted scripts to bypass the API permissions check and perform administrative actions, including reading and modifying data inside the Redis database, which can be used to read secrets and change COSMOS settings, as well as read and write to the buckets service, which holds configuration, log, and plugin files. These actions are normally only available from the Admin Console or with administrative privileges. Any user with permission to create and run scripts can connect to any service in the docker network. This issue has been patched in version 7.0.0-rc3.
References
-
-
https://github.com/OpenC3/cosmos/releases/tag/v7.0.0 x_refsource_MISC
-
https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 x_refsource_MISC
Affected products
- ==< 7.0.0-rc3
Matching in nixpkgs
pkgs.python312Packages.azure-cosmos
Azure Cosmos DB API
pkgs.python313Packages.azure-cosmos
Azure Cosmos DB API
pkgs.python314Packages.azure-cosmos
Azure Cosmos DB API
pkgs.azure-cli-extensions.cosmosdb-preview
Microsoft Azure Command-Line Tools Cosmosdb-preview Extension
pkgs.python312Packages.azure-mgmt-cosmosdb
Module to work with the Microsoft Azure Cosmos DB Management
pkgs.python313Packages.azure-mgmt-cosmosdb
Module to work with the Microsoft Azure Cosmos DB Management
pkgs.python314Packages.azure-mgmt-cosmosdb
Module to work with the Microsoft Azure Cosmos DB Management
pkgs.python312Packages.azure-cosmosdb-nspkg
This is the Microsoft Azure CosmosDB namespace package
pkgs.python312Packages.azure-cosmosdb-table
This is the Microsoft Azure Log Analytics Client Library
pkgs.python313Packages.azure-cosmosdb-nspkg
This is the Microsoft Azure CosmosDB namespace package
pkgs.python313Packages.azure-cosmosdb-table
This is the Microsoft Azure Log Analytics Client Library
pkgs.python314Packages.azure-cosmosdb-nspkg
This is the Microsoft Azure CosmosDB namespace package
pkgs.python314Packages.azure-cosmosdb-table
This is the Microsoft Azure Log Analytics Client Library
Package maintainers
-
@katexochen Paul Meyer <katexochen0@gmail.com>
-
@mwilsoncoding Max Wilson <nixpkgs@maxwilson.dev>