Dark Mode

Settings

Capec-445 Detail

Malicious Logic Insertion into Product Software via Configuration Management Manipulation

Detailed Supply Chain Software Likelihood: Medium Typical Severity: High

Parents: 444

Threats: T62 T68 T274 T393

Description

An adversary exploits a configuration management system so that malicious logic is inserted into a software products build, update or deployed environment. If an adversary can control the elements included in a product's configuration management for build they can potentially replace, modify or insert code files containing malicious logic. If an adversary can control elements of a product's ongoing operational configuration management baseline they can potentially force clients receiving updates from the system to install insecure software when receiving updates from the server.

Extended Description

Configuration management servers operate on the basis of a client pool, instructing each client on which software to install. In some cases the configuration management server will automate the software installation process. A malicious insider or an adversary who has compromised the server can alter the software baseline that clients must install, allowing the adversary to compromise a large number of satellite machines using the configuration management system. If an adversary can control elements of a product's configuration management for its deployed environment they can potentially alter fundamental security properties of the system based on assumptions that secure configurations are in place. It is also worth noting that this attack can occur during initial product development or throughout a product's sustainment.
External ID Source Link Description
CAPEC-445 capec https://capec.mitre.org/data/definitions/445.html
T1195.001 ATTACK https://attack.mitre.org/wiki/Technique/T1195/001 Supply Chain Compromise: Compromise Software Dependencies and Development Tools
REF-379 reference_from_CAPEC https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-161r1-draft2.pdf Jon Boyens, Angela Smith, Nadya Bartol, Kris Winkler, Alex Holbrook, Matthew Fallon, Cybersecurity Supply Chain Risk Management Practices for Systems and Organizations (2nd Draft), 2021--10---28, National Institute of Standards and Technology (NIST)
REF-706 reference_from_CAPEC https://www.kb.cert.org/vuls/id/586503 Chef Manage deserializes cookie data insecurely, 2016--05---17, Carnegie Mellon University

Not present

  1. Access to the configuration management system during deployment or currently deployed at a victim location. This access is often obtained via insider access or by leveraging another attack pattern to gain permissions that the adversary wouldn't normally have.

Not present

Not present

Authorization
Execute Unauthorized Commands
  1. In 2016, the policy-based configuration management system Chef was shown to be vulnerable to remote code execution attacks based on its Chef Manage add-on improperly deserializing user-driven cookie data. This allowed unauthenticated users the ability to craft cookie data that executed arbitrary code with the web server's privileges. [REF-706]