Repository navigation
Closed
Labels
IaaSIssues or pull requests relevant for Team1: IaaSSCS is standardizedSCS is standardizedSCS-VP10Related to tender lot SCS-VP10standardsIssues / ADR / pull requests relevant for standardization & certification
Description
While looking into #473 I came across the network rbac command. It allows to share network resources. Networks shared like this can be marked as external and Security Groups can be adjusted by all projects that it is shared with, risking open ports because those changes are applied immediately.
A possible solution for those potential security issues is to disallow this API endpoint being used by users. This requires a policy change.
When looking into the Neutron policies this may not be the only policy we want to adjust to improve network security. So this issue should:
- first gather possible issues, that need adjustments in the policies
- describe a way to standardize a new policy for Neutron (a blueprint for other services if needed)
- describe the first policy change (as a blueprint)
Definition of Done:
- Proposal has been written with name of the form
scs-xxxx-v1-slug.md(only substituteslug) - Proposal has the fields
status,type,trackset - Proposal has been voted upon in the corresponding team
- Status has been changed into
Draft, file renamed:xxxxreplaced by document number - If applicable: test script has been written (this item may be moved into a separate issue so long as the state is
Draft)
Metadata
Metadata
Assignees
Labels
IaaSIssues or pull requests relevant for Team1: IaaSSCS is standardizedSCS is standardizedSCS-VP10Related to tender lot SCS-VP10standardsIssues / ADR / pull requests relevant for standardization & certification
Type
Projects
- StatusShow more project fieldsDone
Activity
josephineSei commentedon Mar 28, 2024
This issue has links to:
josephineSei commentedon Mar 28, 2024
Network rbac
An example of a user editing the rules of a shared security group (not the users one)
josephineSei commentedon Mar 28, 2024
Network rbac
As a user it is alos possible to share a network as external:
josephineSei commentedon Mar 28, 2024
network rbac
router cannot be shared:
qos policies
They should be handled but:
It seems this has to be activated in the Plug-Ins config:
https://docs.openstack.org/neutron/latest/admin/config-qos.html
But even after setting parts of these config options (some i could not find) I still got the Error message.
josephineSei commentedon Mar 28, 2024
network rbac
Subnet pools can be shared too:
I currently do not see any reason to share access to this for customers.
Concerning address scope, it seems this can be shared between projects for itself:
The address groups can also be shared:
Conclusion
garloff commentedon Apr 10, 2024
Great research, thanks, @josephineSei!
From what I can see, the security risk with sharing networks and SGs would come from the fact that the sharer may not expect the sharing to be a read-write thing, but a read-only thing.
So, a good thing to document well, possibly in a blog article, rather than forbidding it. (Making things admin-only in a public cloud is practically the same as forbidding it.)
Is the option to read-only sharing something that is being worked on upstream? Maybe something we want to contribute?
In general, sharing SGs and networks would seem useful to me: I could easily imagine that you have a company with a central IT department that provides certain centralized services that the various departments can use. For this, they may share networks and SGs to the projects used by these departments, saving their departments some work. Due to the read-write character, this only works if they trust these departments not to do bad things. (They may have a reconciliation loop in there for robustness and alarming ...)
Sharing a network as external network can also be confusing, but my default approach would again be to prefer education over ruling things out. Or maybe have an upstream discussion and see if we can have it changed there. Maybe there is no scenario where sharing a network as external makes sense?
I'll have a look how clouds that I have access to behave w.r.t. network rbac.
josephineSei commentedon Nov 19, 2024
This should be done as part of #572 .