Static Web Server: Authentication bypass on /metrics endpoint when --basic-auth is enabled
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| static-web-server | static-web-server | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Static-web-server | Static Web Server |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.392% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Static-web-server
Static-web-server static Web Server |
|
| Vendors & Products |
Static-web-server
Static-web-server static Web Server |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Static Web Server (SWS) is a production-ready web server suitable for static web files or assets. Through 2.43.0, instances with both basic-auth and metrics features enabled process the /metrics endpoint before the basic-auth check in src/handler.rs, allowing an unauthenticated remote attacker to retrieve Prometheus metrics that disclose virtual host names, request volumes, error rates, latency distributions, and active connections. This issue is fixed in version 2.44.0. | |
| Title | Static Web Server: Authentication bypass on /metrics endpoint when --basic-auth is enabled | |
| Weaknesses | CWE-306 | |
| References |
| |
| Metrics |
cvssV3_1
|