CVE-2025-65328 Mega-Fence (webgate-lib.*) 25.1.914 and prior trusts the first value of the X-Forwarded-For (XFF) header as the client IP without validating a trusted proxy chain. An attacker can supply an arbitrary....
MediumCVSS 6.5
EPSS 0.27%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
Mega-Fence (webgate-lib.*) 25.1.914 and prior trusts the first value of the X-Forwarded-For (XFF) header as the client IP without validating a trusted proxy chain. An attacker can supply an arbitrary XFF value in a remote request to spoof the client IP, which is then propagated to security-relevant state (e.g., WG_CLIENT_IP cookie). Deployments that rely on this value for IP allowlists may be bypassed.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mega-fence project mega-fence | <= 25.1.914 | after 25.1.914 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mega-fence project mega-fence | <= 25.1.914 | No fix listed |
References
- drive.proton.me broken-link
- raw.githubusercontent.com exploit third-party-advisory