Gogs
Gogs: Authentication Bypass via Unvalidated Reverse Proxy Headers
Gogs is an open source self-hosted Git service. Prior to 0.14.3, when ENABLE_REVERSE_PROXY_AUTHENTICATION is enabled, Gogs accepts the configured authentication header (default: X-WEBAUTH-USER) directly from client requests without validating that the request originated from a trusted reverse proxy. Any remote attacker who can reach the Gogs service can forge this header to impersonate any user or trigger automatic account creation, completely bypassing authentication. This vulnerability is fixed in 0.14.3.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by CNA · CWE-290
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
gogs gogs
- < 0.14.3
Fixed in 0.14.3
Mitigation
Upgrade gogs to 0.14.3 or later.
References
- Vendor advisory github.com/gogs/gogs/security/advisories/GHSA-…
- Patch github.com/gogs/gogs/pull/8264
- Patch github.com/gogs/gogs/commit/0089c4c8e5b8d99eb6…
1 more
- Release notes github.com/gogs/gogs/releases/tag/v0.14.3
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.