CVE-2022-25850 Server-side Request Forgery (SSRF)
An attacker can exploit SSRF in the proxy mode to leak sensitive server information via untrusted URLs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-25850?
CVE-2022-25850 is a high-severity server-side request forgery vulnerability in github.com/hoppscotch/proxyscotch, published on 1 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The package github.com/hoppscotch/proxyscotch before 1.0.0 are vulnerable to Server-side Request Forgery (SSRF) when interceptor mode is set to proxy. It occurs when an HTTP request is made by a backend server to an untrusted URL submitted by a user. It leads to a leakage of sensitive information from the server.
Weakness: CWE-918
Which versions are affected by CVE-2022-25850?
2 open source packages ship an affected version, including github.com/hoppscotch/proxyscotch. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hoppscotch/proxyscotch Go | All versions | 1.0.0 |
github.com/hoppscotch/proxyscotch Go | All versions | 1.0.0 |
Products include Proxyscotch Project Proxyscotch.
How do I fix CVE-2022-25850?
Upgrade github.com/hoppscotch/proxyscotch to 1.0.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2022-25850 being exploited?
There is no known exploitation of CVE-2022-25850 in the wild and no public exploit code.
Sources
Also known as GHSA-5hjh-c26m-xw8w, SNYK-GOLANG-GITHUBCOMHOPPSCOTCHPROXYSCOTCH-2435228.