Description (CNA)
rust-iot-platform's AuthToken request-guard implementation (api/src/main.rs) only checks whether the Authorization HTTP header is present, and never validates its value against any session, token store, or signature. Any request carrying an arbitrary non-empty Authorization header (e.g. ) satisfies the guard, granting access to every endpoint protected only by this request guard.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| iot-ecology / rust-iot-platform | affected 0 through * |
CWE
CWE-287
References
- https://github.com/iot-ecology/rust-iot-platform
- https://github.com/iot-ecology/rust-iot-platform/blob/main/api/src/main.rs
ADP enrichment
No English description supplied.
No references supplied.