Devops (DVO3)

DevOps
3

Aryan can exploit an internal system or service, because it, its infrastructure, or other components were not properly hardened, or the configuration was not maintained over time

How to play?

This card addresses the risk of insufficiently hardened internal systems and services, or configurations that degrade over time, creating exploitable weaknesses in the development and deployment infrastructure.

Scenario: Aryan's Exploitation of a Poorly Hardened Internal Service

Consider a scenario where Aryan exploits an internal system or service that was not properly hardened from the start, or whose security configuration has degraded over time. This vulnerability arises from:

  1. Insufficient Initial Hardening: The system was deployed with default configurations, unnecessary services enabled, or overly permissive settings.
  2. Configuration Drift: Security settings that were once appropriate have drifted over time due to ad-hoc changes, updates, or lack of maintenance.

Example

Aryan discovers that an internal service used for artifact storage still runs with its default administrative credentials and has several unnecessary network services exposed. The service was initially set up quickly to unblock a team and was never revisited. Over time, patches were skipped and the configuration was loosened to work around integration issues. Aryan leverages the default credentials to gain administrative access, then uses the exposed services to pivot to other internal systems.

Threat Modeling

STRIDE

This scenario maps primarily to STRIDE: Tampering and Elevation of Privilege.

Tampering applies because poorly hardened systems allow attackers to modify configurations, data, or behavior of the system in unauthorized ways.

Elevation of Privilege fits because Aryan exploits weak configurations, such as default credentials or unnecessary services, to gain a level of access he should not have.

What can go wrong?

Insufficiently hardened systems create a broad attack surface within the internal infrastructure. This can manifest in various forms, including but not limited to:

  • Exploitation of default credentials or known default configurations
  • Unauthorized access through unnecessary exposed services or ports
  • Privilege escalation through misconfigured access controls
  • Lateral movement to other systems after compromising a poorly hardened service
  • Persistent access due to unpatched vulnerabilities in internal tools

What are we going to do about it?

  1. Check if your organization has hardening baselines or guidelines for internal systems, and follow them. If none exist, start by changing default credentials, disabling unnecessary services, and locking down network access.
  2. Define infrastructure and system configurations as code so they are version-controlled, reviewable, and reproducible. This also makes configuration drift easier to spot and fix.
  3. Disable or remove unnecessary services, ports, and features from internal systems you manage.
  4. Make sure internal services require proper authentication and are not accessible with default or shared credentials.
  5. Don't forget to patch internal systems and DevOps infrastructure - not just the application itself.
  6. Give service accounts only the permissions they actually need.

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, O-EM-A breaks down as Operations - Environment Management - Stream AĀ (Configuration Hardening).

DSOMM identifiers specify a Dimension and Sub-Dimension. For example, I-IH breaks down as Implementation - Infrastructure Hardening, and I-AH as Implementation - Application Hardening. 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,E

CAPEC: CAPEC-554,CAPEC-17

OWASP SAMM: O-EM-A

OWASP DSOMM: I-IH,I-AH

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.