CVE-2023-27163: request-baskets vulnerable to Server-Side Request Forgery
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.9975%
CWE
Published
3/31/2023
Updated
8/11/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/darklynx/request-baskets | go | <= 1.2.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The SSRF vulnerability stems from improper validation of user-controlled 'forward_url' parameters in basket creation/update API endpoints. The handlers.go file contains the HTTP request processing logic for /api/baskets/{name} routes. The CreateBasket and UpdateBasket functions directly process the 'forward_url' value from untrusted input without sufficient validation of allowed protocols or target domains, enabling attackers to make requests to internal network resources. The high confidence comes from: 1) Explicit vulnerability reports linking the issue to these API endpoints 2) The documented exploit requiring manipulation of forward_url 3) The architectural role of these handlers in processing basket configurations.