[Security] SSRF via unrestricted proxy endpoint (proxy.go:119)
- Dominant language
- Python
- Stars
- 4.3k
- Forks
- 371
- Avg merge
- 26d 1h
- Merged PRs (30d)
- 1
Description
## Security Vulnerability Report
A Server-Side Request Forgery (SSRF) vulnerability exists in the proxy endpoint (`proxy.go`, line 119). User-controlled URL from JSON body is passed directly to `http.NewRequest()` without validation.
**Impact:** Cloud credential theft, internal network access.
**CVSS:** 7.7 (HIGH)
Full details sent to prithvi@h2o.ai and support@h2o.ai.
I am happy to provide more details or coordinate a fix.
Contributor guide
Research direction
Start by reading proxy.go around line 119 and tracing how the JSON URL reaches http.NewRequest in the proxy endpoint. No test file or remediation is named, so first identify existing proxy security tests and validation conventions. Done means the reported unrestricted SSRF path is prevented and regression coverage verifies the restriction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100