Skip to content
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

Detect incorrect ACL (allow without deny) #109

Open
beched opened this issue May 12, 2020 · 0 comments
Open

Detect incorrect ACL (allow without deny) #109

beched opened this issue May 12, 2020 · 0 comments

Comments

@beched
Copy link

beched commented May 12, 2020

When a configuration block contains allow directive with some IP address or subnet, it most likely should also contain "deny all" directive (or it should be enforced somewhere else). Otherwise, there's basically no access limitation.
Probably it's a good idea to detect such vulnerable configurations.

Example:

location / {
      root /var/www/;
      allow 10.0.0.0/8;
      . . .
}
dvershinin added a commit to dvershinin/gixy that referenced this issue Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant