4.3 MEDIUM
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): LOW
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): NONE
- Integrity impact (I): LOW
- Availability impact (A): NONE
Activity log
- Created suggestion
OpenC3 COSMOS: Arbitrary write to plugins directory via path-traversed config filenames
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.
References
-
-
https://github.com/OpenC3/cosmos/releases/tag/v6.10.5 x_refsource_MISC
-
https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 x_refsource_MISC
Affected products
- ==>= 7.0.0.pre.rc1, < 7.0.0-rc3
- ==< 6.10.5
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>