#VU47333 Inconsistent interpretation of HTTP requests in WEBrick and Ruby


Published: 2022-03-30

Vulnerability identifier: #VU47333

Vulnerability risk: Medium

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

CVE-ID: CVE-2020-25613

CWE-ID: CWE-444

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
WEBrick
Web applications / Modules and components for CMS
Ruby
Universal components / Libraries / Scripting languages

Vendor: Ruby

Description

The vulnerability allows a remote attacker to preform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP requests. A remote attacker can send a specially crafted HTTP request to the server and smuggle arbitrary HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

WEBrick: 1.4.0 - 1.6.0

Ruby: 2.5.0 - 2.7.1


External links
http://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613/


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. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability