#VU79777 HTTP response splitting in Cpp-httplib


Published: 2023-08-21

Vulnerability identifier: #VU79777

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-26130

CWE-ID: CWE-113

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Cpp-httplib
/

Vendor: Cpp-httplib Project

Description

The vulnerability allows a remote attacker to perform HTTP splitting attacks.

The vulnerability exists due to software does not correclty process CRLF character sequences passed via the Content-Type HTTP header in Patch, Post, Put and Delete requests. A remote attacker can send specially crafted request containing CRLF sequence and make the application to send a split HTTP response.

Successful exploitation of the vulnerability may allow an attacker perform cache poisoning attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Cpp-httplib: 0.2.0 - 0.12.3


External links
http://gist.github.com/dellalibera/094aece17a86069a7d27f93c8aba2280
http://github.com/yhirose/cpp-httplib/releases/tag/v0.12.4
http://github.com/yhirose/cpp-httplib/commit/5b397d455d25a391ba346863830c1949627b4d08
http://security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-5591194
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JY2E7EIRWQMKH6GY4OZOWWBZBY3Q7CGS/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability