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 vulnerabilities.
1) Insufficient verification of data authenticity (CVE-ID: CVE-2025-66570)
CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
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)
CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
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.