-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questionable control 16 #21
Comments
I've run into this issue as well and end up skipping this control across the board. I'm also questioning nginx-14 since it's assuming the |
We could introduce attributes to make tests optional. If a test is not working, we should remove it |
I think, making tests optional is a good idea! However I also think that this test should the be off by default (opt-in) since building nginx from source is IMO still not a good idea. |
Thank you @woneill @rndmh3ro for bringing up that question. I agree that we should try to stick to vendor supported compiled versions and try to squeeze the most secure configuration out of it. If we change the default behavior, we need to bump it to 3.x @atomic111 It like to get your perspective on that? We could make this an optional tests as @woneill has done in his PR #26 |
Make nginx-14 and nginx-16 disabled by default based on #21
Control 16 adds a check for
set_cookie_flag
. Looking at this option it seems you can only activate this if you use the nginx_cookie_flag_module. And to activate it you need to compile nginx from source.I'm not sure that compiling nginx from source and using a third-party module really improves security, especially if you look at the problems this setting can cause: https://unix.stackexchange.com/a/307479
In my opinion this control should be deleted. Setting cookies should be part of a secure application, not the webserver.
The text was updated successfully, but these errors were encountered: