Security controls bypass or absence - Firewall
Description
The firewall security verifications either do not exist or can be bypassed.
Impact
Bypass security validations to perform diferent attacks.
Recommendation
Guarantee that firewall security mechanisms and access rules are active and cannot be bypassed.
Threat
Anonymous attacker from the Internet.
Expected Remediation Time
⌚ 60 minutes.
Score
Default score using CVSS 3.1. It may change depending on the context of the vulnerability.
Base
- Attack vector: N
- Attack complexity: H
- Privileges required: N
- User interaction: N
- Scope: U
- Confidentiality: N
- Integrity: L
- Availability: N
Temporal
- Exploit code madurity: H
- Remediation level: U
- Report confidence: C
Result
- Vector string: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:H/RL:U/RC:C
- Score:
- Base: 3.7
- Temporal: 3.7
- Severity:
- Base: Low
- Temporal: Low
Code Examples
Compliant code
The firewall is safely configured over a secure port
gateway: "My gateway name"
firewall_service:
enabled: true
policy: 'drop'
log_default_action: true
firewall_rules:
- :id: '1'
:enabled: true
:description: 'disallow_conections'
:policy: 'disallow'
:destination_port_range: '5353'
:destination_ip: '00.01.02.03'
:source_port_range: '5353'
:source_ip: 'Any'
Non compliant code
The firewall configuration allows insecure port connections through its configuration files
gateway: "My gateway name"
firewall_service:
enabled: true
policy: 'drop'
log_default_action: true
firewall_rules:
- :id: '1'
:enabled: true
:description: 'allow_conections'
:policy: 'allow'
:destination_port_range: '*'
:destination_ip: '00.01.02.03'
:source_port_range: '*'
:source_ip: 'Any'