#VU35037 Improper Neutralization of Special Elements in Output Used by a Downstream Component in Ruby


Published: 2019-11-26 | Updated: 2020-08-08

Vulnerability identifier: #VU35037

Vulnerability risk: Medium

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

CVE-ID: CVE-2011-3624

CWE-ID: CWE-74

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Ruby
Universal components / Libraries / Scripting languages

Vendor: Ruby

Description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

Various methods in WEBrick::HTTPRequest in Ruby 1.9.2 and 1.8.7 and earlier do not validate the X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server headers in requests, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Ruby: 1.8.7 - 1.9.2


External links
http://access.redhat.com/security/cve/cve-2011-3624
http://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-3624
http://redmine.ruby-lang.org/issues/5418
http://security-tracker.debian.org/tracker/CVE-2011-3624


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