Skip to main content
Menu
Advisories

Arbitrary HTTP Header Injection into Server-Side Requests

GHSA-P6WW-W6VR-WCHQPublished Updated GitHub

Description

Impact

An attacker who can control a Link's Header can inject arbitrary headers into server-side HTTP requests made by OpenList (the proxy flow), potentially affecting authentication, authorization, proxy behavior, and application-specific request handling of those outbound requests.

Proof of Concept

Create a Link whose Header contains an attacker-controlled value (e.g. X-Test: attacker-controlled-value). It reaches Proxy() (server/common/proxy.go:48-53), is copied into the outbound headers by ProcessHeader() (internal/net/serve.go:213-225, which copies every override header without an allowlist), assigned to req.Header by RequestHttp() (internal/net/serve.go:227-239), and transmitted to the destination by HttpClient().Do(req).

Affected versions

References

GitHub · OpenListTeam/OpenList