GHSA-7w8v-5fcq-pvqw

Suggest an improvement
Source
https://github.com/advisories/GHSA-7w8v-5fcq-pvqw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-7w8v-5fcq-pvqw/GHSA-7w8v-5fcq-pvqw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7w8v-5fcq-pvqw
Aliases
Published
2023-10-19T09:30:18Z
Modified
2024-02-16T08:15:37.869704Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
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  .

Database specific
{
    "nvd_published_at": "2023-10-19T09:15:08Z",
    "cwe_ids": [
        "CWE-918"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-10-19T17:03:21Z"
}
References

Affected packages

Maven / org.apache.shenyu:shenyu-admin

Package

Name
org.apache.shenyu:shenyu-admin
View open source insights on deps.dev
Purl
pkg:maven/org.apache.shenyu/shenyu-admin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.0

Affected versions

2.*

2.4.0
2.4.1
2.4.2
2.4.3
2.5.0
2.5.1

Maven / org.apache.shenyu:shenyu-common

Package

Name
org.apache.shenyu:shenyu-common
View open source insights on deps.dev
Purl
pkg:maven/org.apache.shenyu/shenyu-common

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.0

Affected versions

2.*

2.4.0
2.4.1
2.4.2
2.4.3
2.5.0
2.5.1