GitHub Advisory Database
GHSA-7w8v-5fcq-pvqw
Apache Shenyu Server Side Request Forgery vulnerability
Details
There exists an SSRF (Server-Side Request Forgery) vulnerability located at the /sandbox/proxyGateway endpoint. This vulnerability allows us to manipulate arbitrary requests and retrieve corresponding responses by inputting any URL into the requestUrl parameter.
Of particular concern is our ability to exert control over the HTTP method, cookies, IP address, and headers. This effectively grants us the capability to dispatch complete HTTP requests to hosts of our choosing.
This issue affects Apache ShenYu: 2.5.1.
Upgrade to Apache ShenYu 2.6.0 or apply patch https://github.com/apache/shenyu/pull/4776 .
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.shenyu:shenyu-admin | All versions before 2.6.0 (fixed in 2.6.0) |
| Maven | org.apache.shenyu:shenyu-common | All versions before 2.6.0 (fixed in 2.6.0) |