Devops (DVO7)

DevOps
7

John can deploy unauthorized or malicious changes to production because deployment approval gates, validation checks, or change control processes are missing or can be bypassed

How to play?

This card focuses on the risk of deploying unauthorized or malicious changes to production due to missing or bypassable approval gates and change control processes. It's similar to card 8, because both lead to malicious changes deployed in production, but this one focuses on attacks against the change management process.

Scenario: John's Bypass of Deployment Approval Controls

Consider a scenario where John deploys unauthorized or malicious changes directly to production by circumventing deployment approval gates and change control processes. This vulnerability arises from:

  1. Missing Approval Gates: The deployment pipeline lacks mandatory review or approval steps before changes reach production.
  2. Bypassable Validation Checks: Existing deployment controls can be skipped or overridden without proper authorization or audit trails.

Example

John, who gained access to a developer's access credentials, discovers that while the standard deployment workflow requires a peer review and approval, there is also a manual deployment capability intended for emergency rollbacks that has no approval requirement. Since this mechanism is not restricted and has no additional authorization, John uses it to push his changes directly to production, bypassing the review and approval process entirely. The change reaches production without anyone else being aware of it, and it introduces a backdoor that remains undetected until it is executed.

Threat Modeling

STRIDE

This scenario maps primarily to STRIDE: Tampering.

Tampering involves unauthorized modification of a system or its data. John modifies the production environment by deploying unauthorized changes, bypassing the controls that exist to prevent exactly this. The core issue is the ability to alter what runs in production without proper validation or approval.

What can go wrong?

Bypassed deployment controls allow untested, unauthorized, or malicious changes to reach production. This can manifest in various forms, including but not limited to:

  • Deployment of code that has not been reviewed or tested
  • Introduction of vulnerabilities or backdoors into production systems
  • Changes that break functionality or cause outages without going through validation
  • Circumvention of compliance requirements for change management
  • Difficulty attributing unauthorized changes due to weak audit trails around deployment

What are we going to do about it?

  1. Set up approval gates for production deployments that no single person can bypass. Every deployment should require at least one other person's sign-off.
  2. Check that all deployment paths are covered, including emergency and rollback mechanisms. If there is an "escape hatch," make sure it has equivalent controls or at least extra auditing.
  3. Separate duties so that the person who writes the code is not the same person who approves or triggers the deployment.
  4. Log all deployment activities: who triggered them, what was deployed, and whether approval gates were satisfied.
  5. Add automated checks to the pipeline, such as test suites and security scans, that must pass before deployment can proceed.
  6. Protect deployment configurations and pipeline definitions from unauthorized modification.

For detailed advice on how to mitigate threats related to the card, see the OWASP SAMM and OWASP DSOMM IDs in the table below and correlate these with the IDs in the OWASP SAMM and OWASP DSOMM documentation.

Reading the mappings

Mappings use identifiers from OWASP SAMM and OWASP DSOMM.

SAMM identifiers specify a Business Function, Security Practice and Stream. For example, I-SD-A breaks down as Implementation - Secure Deployment - Stream A (Deployment Process).

DSOMM identifiers specify a Dimension and Sub-Dimension. For example, BD-D breaks down as Build and Deployment - Deployment. A Sub-Dimension groups multiple related activities, and is used here because the activities as a group correspond to the card's scope.

Mappings

STRIDE: T

CAPEC: CAPEC-444,CAPEC-669,CAPEC-536

OWASP SAMM: I-SD-A

OWASP DSOMM: BD-D

Attacks

No attacks registered!

OWASP Cornucopia

OWASP Cornucopia is a mechanism in the form of a card game to assist software development teams identify security requirements in Agile, conventional and formal development processes. It is language, platform and technology-agnostic, and is free to use. OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 4.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar licence to this one.

Ā© 2012-2025 OWASP Foundation. The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation that works to improve the security of software.