Description
Miaomiaowu before 0.9.3 contains an insecure direct object reference vulnerability in /api/user/proxy-provider-configs that allows authenticated users to read other users' configurations. Attackers can iterate the global auto-increment external_subscription_id parameter to disclose override scripts, filter rules, custom request headers and health-check URLs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| iluobei | miaomiaowu | < 0.9.3 | 0.9.3 |
References
- https://github.com/iluobei/miaomiaowu/commit/14ccf37ef82cff06b636454c29db7752cdce7cab patch
- https://github.com/iluobei/miaomiaowu/issues/131 issue-tracking
- https://github.com/iluobei/miaomiaowu/blob/v0.9.2/internal/handler/proxy_provider.go#L114 technical-description
- https://github.com/iluobei/miaomiaowu/blob/v0.9.2/internal/storage/traffic.go#L4808 technical-description
- miaomiaowu v0.9.3 Release Notes release-notes
- https://hackmd.io/@hieuPenguinnn/miaomiaowu-proxy-provider-config-cross-user-idor third-party-advisory
- https://github.com/iluobei/miaomiaowu product
- VulnCheck Advisory: Miaomiaowu before 0.9.3 Cross-User Proxy Provider Config Disclosure via external_subscription_id third-party-advisory