Check ID:
Provider: OpenStack
Service:
Severity: HIGH
Categories:
Resource type:
networking_port_security_disabledProvider: OpenStack
Service:
networkingSeverity: HIGH
Categories:
trust-boundaries, vulnerabilitiesResource type:
OS::Neutron::NetWhat this check verifies
OpenStack networks and ports are evaluated to verify that port security is enabled (port_security_enabled=True). Port security prevents MAC and IP spoofing by enforcing anti-spoofing rules. When disabled, instances can forge source addresses, bypass network isolation, and enable man-in-the-middle attacks. Disabling is sometimes required for NFV/SR-IOV use cases.Risk
Disabled port security allows MAC/IP spoofing attacks, bypassing network isolation. Attackers can intercept traffic via ARP poisoning (MITM attacks), bypass security group rules by forging source IPs, and attack other tenants in multi-tenant environments (cross-tenant data exfiltration). Security groups cannot be enforced properly. Violates compliance requirements (PCI-DSS, HIPAA, SOC 2).Recommendation
Enable port security on all networks and ports to prevent MAC and IP spoofing attacks. For legitimate NFV or SR-IOV use cases requiring disabled port security, deploy on isolated networks with compensating controls like network-level ACLs and monitoring. Use allowed-address-pairs instead of disabling port security when additional IPs are needed.Remediation
- Terraform
- Dashboard steps
References
- https://docs.openstack.org/neutron/latest/admin/intro-os-networking.html
- https://docs.openstack.org/neutron/latest/admin/config-ipam.html
- https://docs.openstack.org/security-guide/networking/architecture.html
Where this check fires
This check runs on every scheduled scan against your OpenStack account. Findings appear at Cloud Security → Findings filterable byCheck ID = networking_port_security_disabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to OpenStack checks