SB2025102809 - Spoofing attack via X-Forwarded-For/X-Real-IP headers in Cpp-httplib
Published: October 28, 2025 Updated: December 8, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Insufficient verification of data authenticity (CVE-ID: CVE-2025-66570)
The vulnerability allows a remote attacker to bypass implemented security restrictions.
The vulnerability exists due to software trusts data passed via the X-Forwarded-For/X-Real-IP headers and uses this date when writing log entries or appending headers to the request. A remote attacker can modify these headers and poison log files or inject arbitrary HTTP headers into HTTP requests.
2) Insufficient verification of data authenticity (CVE-ID: CVE-2025-66577)
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to software trusts data passed via the X-Forwarded-For/X-Real-IP headers. A remote attacker can modify these headers and poison log files or inject arbitrary HTTP headers into HTTP requests.
Remediation
Install update from vendor's website.