Description
Refly through 1.1.0 contains a server-side request forgery vulnerability in the POST /v1/misc/scrape endpoint that fetches caller-supplied URLs without validating the scheme, host, or resolved address. Authenticated attackers can make the backend issue requests to loopback, private, and link-local addresses including cloud metadata services to read page titles and descriptions of internal resources.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| refly-ai | refly | ≤ 1.1.0 | — |
References
- GitHub Issue #2280 issue-tracking
- https://github.com/refly-ai/refly product
- https://github.com/refly-ai/refly/blob/77fb0ca184251bba7380cbac2dbdf7a6c9944652/packages/utils/src/scrape-weblink.ts technical-description
- https://github.com/refly-ai/refly/blob/77fb0ca184251bba7380cbac2dbdf7a6c9944652/apps/api/src/modules/misc/misc.controller.ts#L38-L43 technical-description
- VulnCheck Advisory: Refly through 1.1.0 Server-Side Request Forgery via scrape endpoint third-party-advisory