REDHAT-BUG-2129193: Medium severity Openstack Neutron vulnerability
Upstream bug description: When a non-admin user tries to list security groups for projectid "None", Neutron creates a default security group for that project and returns an empty list to the caller.
To reproduce:
openstack --os-cloud devstack security group list --project None openstack --os-cloud devstack-admin security group list
The API call that is made is essentially
GET /networking/v2.0/security-groups?projectid=None
The expected result would be an authorization failure, since normal users should not be allowed to list security groups for other projects.
Affected Software
Event History
Frequently Asked Questions
What level of access does an attacker need?
The issue can be triggered by a non-admin user. The affected request is a security-group listing request that specifies project_id=None.
What is the impact of a successful request?
Neutron creates a default security group for the project represented by "None" and returns an empty list to the non-admin caller. The expected behavior is an authorization failure.
How can administrators identify this behavior?
Review requests to the security-groups API for a project_id value of None, such as GET /networking/v2.0/security-groups?project_id=None. An administrative security-group listing can be used to check whether a default security group was created.