Wild Card (JOB)
Bob can influence, alter or affect the application so that it no longer complies with legal, regulatory, contractual or other organizational mandates
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:
- Tampering: The attacker changes application behavior, configuration, or stored data to cause non-compliance.
- Elevation of Privilege (EoP): By gaining higher privileges, the attacker can override controls that enforce compliance.
- Information Disclosure: Exposing regulated or sensitive data inappropriately may violate privacy regulations.
- 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:
- An undocumented installed component has a vulnerability announced.
- The server hosting the application makes an unapproved connection to another system.
- The fully outsourced payment form template is modified to include code from the merchant's server.
- Personal data relating to an individual is used for a purpose the individual has not consented to.
- An unauthorised change to configuration data such that some component/service is no longer configured adequately.
- Unapproved/insecure services/applications are installed/enabled.
- The terms of service, or privacy statement, are modified without approval.
- Personal data is inadvertently mixed with business contact data.
- 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.
- 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:
- What could change that affects compliance?
- How will the application detect this?
- What is the incident response process for these?
A compromise related to legal, regulatory, contractual or other organizational mandates may lead to:
- Non-compliance with regulations such as GDPR, HIPAA, or PCI DSS.
- Violations of contractual obligations or internal policies.
- Financial penalties, legal actions, or regulatory fines.
- Reputational damage or loss of customer trust.
- Data integrity or confidentiality violations.
- Inaccurate compliance reporting (e.g., SAQ misreporting for PCI DSS).
- Operational disruptions due to disabled or insecure processes.
What are we going to do about it?
- Access Controls & Privilege Management: Restrict who can modify configuration, components, or application logic.
- Change Management: Enforce approval workflows and documented change procedures for all updates.
- Audit & Logging: Maintain tamper-evident logs for compliance monitoring and forensic purposes.
- Continuous Monitoring: Detect unauthorized changes, insecure connections, or unapproved components.
- Data Protection & Segregation: Ensure personal/business data separation, consent enforcement, and secure storage.
- Patch & Configuration Management: Keep software, components, and infrastructure up-to-date and securely configured.
- Policy Alignment: Map application processes to relevant regulations and review periodically.
- Backup & Recovery: Implement procedures to restore compliant states if misconfigurations or compromises occur.
- Validation and Monitoring: Continuously check that configurations, workflows, and data handling comply with mandates.
- 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: -