
Cloud Vulnerability DB
A community-led vulnerabilities database
When basic authentication is enabled, OPTIONS requests are answered without a credential check, so an unauthenticated client can learn which files and directories exist behind the authentication.
Basic authentication exempts every OPTIONS request, not only CORS preflights. The OPTIONS handling then resolves the request path like a GET would: an existing file yields 204 No Content, a missing path 404 Not Found, a directory without a trailing slash a 308 redirect, and a symlink 403 Forbidden. The status code reveals the state of a path that should require authentication.
In v2, with --accept-markdown, the reply also carries Content-Type: text/markdown when a markdown variant of the path exists, and custom header rules ([[advanced.headers]]) match the resolved index file of a directory request, so the headers depend on the path as well.
basic-auth set.OPTIONS /existing-file and OPTIONS /missing-file.204 and 404 respectively instead of 401 Unauthorized for both.An unauthenticated client can enumerate the protected directory tree (file names, directories, symlinks). No file content is disclosed by this issue alone.
v3.0.0-beta.1, v3.0.0-beta.2 and v2.30.0 to v2.44.1 are affected when --basic-auth is set. v2.28.0 and earlier apply basic authentication to OPTIONS and return 401.
OPTIONS requests at a reverse proxy in front of SWS.OPTIONS requests except genuine CORS preflights (Origin plus Access-Control-Request-Method present, CORS enabled).OPTIONS with 204 before resolving the path, so the status does not depend on the resource.GET and HEAD, and match custom header rules of an OPTIONS reply by the request URI only.Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."