PT-2023-20525 · Unknown · Ithewei/Libhv
Alessio Della Libera
·
Published
2023-09-28
·
Updated
2023-10-02
·
CVE-2023-26147
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
ithewei/libhv versions all
Description
The issue arises when untrusted user input is used to build header values, allowing an attacker to inject malicious content by adding carriage return line feeds (
r ) to end the HTTP response headers. This can lead to a potential XSS vulnerability, enabling the attacker to inject additional headers or a new response body.Recommendations
For all versions, consider validating and sanitizing user input to prevent the injection of malicious characters, such as
r , into HTTP response headers. As a temporary workaround, restrict the use of user-inputted data in building header values until a more comprehensive fix is available.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Ithewei/Libhv