Cornucopia (C8)
David can bypass the application to gain access to data because the network and host infrastructure, and supporting services/applications, have not been securely configured, the configuration rechecked periodically and security patches applied, or the data is stored locally, or the data is not physically protected
The key concept for this card is host/network hardening, configuration and patching. See Cornucopia 10 (CX) for software hardening, configuration and patching.
Scenario: David’s Bypass of Application via Infrastructure Vulnerabilities
Envision a scenario where David bypasses the application to access data by exploiting vulnerabilities in the network and host infrastructure, supporting services/applications, or physical data storage. This occurs due to:
- Insecure Configuration of Infrastructure and Services: The network, hosts, and supporting services or applications are not securely configured.
- Lack of Regular Security Rechecks and Patching: Security configurations are not periodically rechecked, and patches are not consistently applied.
- Local Data Storage Vulnerabilities: Sensitive data stored locally on devices is not adequately protected.
- Inadequate Physical Protection of Data: Physical measures to protect data storage areas are insufficient or lacking.
Example
David targets a company whose network infrastructure and host systems are configured with default settings, leaving several security gaps. He exploits these weaknesses to bypass the application layer and directly access the data. Additionally, the company does not regularly recheck its security configurations or apply necessary patches, allowing David to use known vulnerabilities to his advantage. He also discovers that sensitive data stored on local devices is easily accessible due to inadequate physical and digital protection measures.
Threat Modeling
STRIDE
The STRIDE category applicable here is Information Disclosure.
David is accessing data he should not be able to see because of weaknesses in the underlying infrastructure, host configuration, patching, and physical/digital storage. The primary impact is that confidential information is revealed to an unauthorized party. Even though the application layer is bypassed, the core effect is exposure of sensitive data, which aligns with Information Disclosure.
What can go wrong?
Such vulnerabilities can lead to unauthorized data access, data breaches, and potentially compromise the entire network and associated systems.
For more things that can go wrong, see the Common Attack Patterns related to this card in the table below.
What are we going to do about it?
- Ensure secure initial configuration of all network and host infrastructure, as well as supporting services and applications, adhering to best security practices.
- Establish a routine for regular security audits, rechecks, and timely application of patches and updates.
- Secure locally stored data with strong encryption and access controls, and ensure physical security measures for data storage areas.
- Continuously monitor and update security configurations to address emerging threats and vulnerabilities.
For detailed advice on how to mitigate threats related to the card, see the ASVS and OWASP Developer Guide requirements in the table below.
Mappings
OWASP ASVS (v5.0): 12.1.1,12.1.2,12.1.3,12.1.4,12.1.5,12.2.1,12.2.2,12.3.1,12.3.2,12.3.3,12.3.4,12.3.5,13.2.1,13.2.2,13.2.3,13.3.1,13.3.2,13.3.3,13.3.4,13.4.1,13.4.2,13.4.3,13.4.4,13.4.5,13.4.6,13.4.7,15.1.1,15.1.2,15.2.1,15.2.4,16.3.3,16.3.4
OWASP DevGuide: SC1,SC2,SC3,SC4,SC5,SC6,SC7,SC8,SC9,SC10,SC11,SC12,SC13,SFL1,SFL2,SFL14,SFL15,SDC2,SDC3,SDC4,SDC5,SDC6,SDA1,PDT1,PDT2,PDT3,PDT4,PDT5,PDT6,PDT7,PDT8,PDT9,PDT10,PDT11
STRIDE: Information Disclosure
CAPEC™: 37,121,159,169,217,220,310,446
SAFECode™: -
CAPEC Map
| Code | Title | ASVS |
|---|---|---|
| 37 | Retrieve Embedded Sensitive Data | 13.2.1,13.2.2,13.2.3,13.3.1,13.3.2,13.3.3,13.3.4,13.4.1,13.4.7 |
| 121 | Exploit Non-Production Interfaces | 13.4.2 |
| 169 | Footprinting | 13.4.1,13.4.2,13.4.3,13.4.4,13.4.5,13.4.6,13.4.7,15.1.1,15.1.2,16.3.4 |
| 217 | Exploiting Incorrectly Configured SSL/TLS | 12.1.1,12.1.2,12.1.3,12.1.4,12.1.5,12.2.1,12.2.2,12.3.1,12.3.2,12.3.3,12.3.4,12.3.5,16.3.3,16.3.4 |
| 220 | Client-Server Protocol Manipulation | 12.1.1,12.1.2,12.1.3,12.1.4,12.1.5,12.2.1,12.2.2,12.3.1,12.3.2,12.3.3,12.3.4,12.3.5,16.3.4 |
| 310 | Scanning for Vulnerable Software | 13.4.1,13.4.2,13.4.6,13.4.7,16.3.4 |
| 445 | Malicious Logic Insertion into Product Software via Configuration Management Manipulation | 15.1.1,15.1.2,15.2.1,15.2.4,16.3.4 |