Description
WeKnora before 0.8.2 contains a server-side request forgery vulnerability in isRestrictedIP() that misclassifies NAT64-prefixed IPv6 addresses as public. Authenticated attackers can supply URLs resolving to NAT64 encodings of internal addresses via web_fetch or URL-based knowledge import to reach internal services or cloud metadata endpoints.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Tencent | WeKnora | 0.2.11 – < 0.8.2 | 0.8.2 |
References
- https://github.com/Tencent/WeKnora/issues/4092 issue-tracking
- https://github.com/Tencent/WeKnora/commit/ff818b681f10bc29edbc48fe35f00009dc276bfa patch
- https://github.com/Tencent/WeKnora/commit/d7ccd5ba517cc3968e6d5000a2ab0f4b51ef1dda patch
- https://github.com/Tencent/WeKnora/blob/3d5d8bfcdfeeea266b292b71cea616847af28d0f/internal/utils/security.go#L267-L327 technical-description
- WeKnora v0.8.2 Release Notes release-notes
- https://github.com/Tencent/WeKnora product
- VulnCheck Advisory: WeKnora before 0.8.2 SSRF Guard Bypass via NAT64 IPv6 Addresses third-party-advisory