Back to CVE catalog
CVE-2011-3624

Lack of input validation for X-Forwarded headers in WEBrick::HTTPRequest

Ruby Ruby

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS summary v3.1

5.3Medium
Published:
Updated:
EPSS:
1.521%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:RubyRubyAffected versions:
1.9.2Show full version range for Ruby
1.8.7 and earlier
Vendor:ruby-langrubyAffected versions:
1.8.7Show full version range for ruby
1.9.2
Vendor:redhatruby
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ruby
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatruby-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ruby-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatruby-docs
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ruby-docs
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatruby-irb
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ruby-irb
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatruby-libs
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ruby-libs
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatruby-rdoc
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ruby-rdoc
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatruby-ri
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ruby-ri
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatruby-static
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ruby-static
  • Other versions are affected by default; consult the source for exceptions.

1–10 of 14 · Page 1 of 2

CVSS scores and metrics6
[email protected] · NVD (Primary)Primary5.3 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
nvd · Wazuh CTI (cna)5.3 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:N
nvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:N
redhat · Wazuh CTI (adp)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:N
Red Hat · Red Hat VEX (adp)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories10

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences