Wild Card (JOB)

WILD CARD
Joker

Bob puede influir, alterar o afectar la aplicación para que ya no cumpla con mandatos legales, regulatorios, contractuales u otros mandatos organizacionales

How to play?

Insufficient change management, access controls, and auditing allow an attacker to tamper with application configuration or data flows and cause the system to violate legal, regulatory, contractual, or organizational mandates.

Scenario: Bob's application compliance abuse

Bob accidentally or purposely manipulates the application, its configuration, or data flows in a way that causes it to violate laws, regulations, contractual obligations, or internal organizational policies through e.g, unauthorized changes, misconfigurations, or exploitation of logic flaws.

Threat Modeling

STRIDE

Primary impact depends on the impact of attack:

  1. Tampering: The attacker changes application behavior, configuration, or stored data to cause non-compliance.
  2. Elevation of Privilege (EoP): By gaining higher privileges, the attacker can override controls that enforce compliance.
  3. Information Disclosure: Exposing regulated or sensitive data inappropriately may violate privacy regulations.
  4. Repudiation: If logs or audit trails can be altered, proving compliance or tracking violations becomes impossible.

What can go wrong?

Most web applications will be subject to various legal, regulatory, contractual or other organizational mandates. These are likely to include requirements for data protection/privacy and payment card security. Some examples of risks that might compromise these legal, regulatory, contractual or other organizational mandates are:

  1. An undocumented installed component has a vulnerability announced.
  2. The server hosting the application makes an unapproved connection to another system.
  3. The fully outsourced payment form template is modified to include code from the merchant's server.
  4. Personal data relating to an individual is used for a purpose the individual has not consented to.
  5. An unauthorised change to configuration data such that some component/service is no longer configured adequately.
  6. Unapproved/insecure services/applications are installed/enabled.
  7. The terms of service, or privacy statement, are modified without approval.
  8. Personal data is inadvertently mixed with business contact data.
  9. A scheduled process is accidentally disabled so that quarterly data destruction is stopped, meaning the application no longer complies with the data retention and disposal policy.
  10. An unapproved change, or application compromise, could mean the ecommerce application is no longer in compliance, or that compliance reporting requirements change. For example, an ecommerce website might be eligible to assess and report under PCIDSS using Self Assessment Questionnaire (SAQ) A, but due to one of the above issues, the merchant no longer meets the eligibility requirements, and thus has to use controls in and report under the longer SAQ A-EP or full SAQ D.

These risks may materialize accidentally or purposely. Consider:

  1. What could change that affects compliance?
  2. How will the application detect this?
  3. What is the incident response process for these?

A compromise related to legal, regulatory, contractual or other organizational mandates may lead to:

  1. Non-compliance with regulations such as GDPR, HIPAA, or PCI DSS.
  2. Violations of contractual obligations or internal policies.
  3. Financial penalties, legal actions, or regulatory fines.
  4. Reputational damage or loss of customer trust.
  5. Data integrity or confidentiality violations.
  6. Inaccurate compliance reporting (e.g., SAQ misreporting for PCI DSS).
  7. Operational disruptions due to disabled or insecure processes.

What are we going to do about it?

  1. Access Controls & Privilege Management: Restrict who can modify configuration, components, or application logic.
  2. Change Management: Enforce approval workflows and documented change procedures for all updates.
  3. Audit & Logging: Maintain tamper-evident logs for compliance monitoring and forensic purposes.
  4. Continuous Monitoring: Detect unauthorized changes, insecure connections, or unapproved components.
  5. Data Protection & Segregation: Ensure personal/business data separation, consent enforcement, and secure storage.
  6. Patch & Configuration Management: Keep software, components, and infrastructure up-to-date and securely configured.
  7. Policy Alignment: Map application processes to relevant regulations and review periodically.
  8. Backup & Recovery: Implement procedures to restore compliant states if misconfigurations or compromises occur.
  9. Validation and Monitoring: Continuously check that configurations, workflows, and data handling comply with mandates.
  10. Regulatory Awareness: Map application components to relevant regulations and perform periodic compliance reviews.

Mappings

STRIDE:

OWASP ASVS: 1.1.1,1.1.2,1.2.1,1.2.2,1.2.3,1.2.4,1.2.5,1.2.6,1.2.7,1.2.8,1.2.9,1.2.10,1.3.1,1.3.2,1.3.3,1.3.4,1.3.5,1.3.6,1.3.7,1.3.8,1.3.9,1.3.10,1.3.11,1.3.12,1.4.1,1.4.2,1.4.3,1.5.1,1.5.2,1.5.3,3.1.1,3.2.1,3.2.2,3.2.3,3.4.3,3.4.6,3.4.7,3.5.4,3.5.5,3.5.6,3.5.7,3.6.1,3.7.1,3.7.2,3.7.3,3.7.4,3.7.5,5.1.1,5.2.2,5.3.1,5.3.2,5.4.1,5.4.2,5.4.3,6.3.3,6.4.5,6.4.6,6.7.1,7.6.2,10.4.7,10.7.1,10.7.2,10.7.3,11.1.3,11.1.4,11.4.1,11.4.3,11.6.1,11.6.2,13.1.3,13.1.4,13.3.1,13.3.2,13.3.3,14.2.4,14.2.8,15.1.1,15.1.2,15.1.4,15.1.5,15.2.1,15.2.4,15.2.5,15.4.3,15.4.4,16.3.3,16.4.1,16.5.2

CAPEC: 184,242,416,438,441,444,523,518,519,548,636,691

OWASP DevGuide: -

SAFECode: -

CAPEC™ Map

CodeTitleASVS
184Software Integrity Attack
242Code Injection
416Manipulate Human Behavior
441Malicious Logic Insertion
444Development Alteration
518Documentation Alteration to Produce Under-performing Systems
519Documentation Alteration to Cause Errors in System Design
523Malicious Software Implanted
548Contaminate Resource
603Blockage
636Hiding Malicious Data or Code within Files
691Spoof Open-Source Software Metadata

ASVS (5.0) Cheat Sheet Series Index

Attacks

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.