7.5
HIGH
CVE-2009-4492
WEBrick Terminal Evasion & Code Injection Vulnerability
Description

WEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.8.8dev, 1.9.1 through patchlevel 376, and 1.9.2dev writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator.

INFO

Published Date :

Jan. 13, 2010, 8:30 p.m.

Last Modified :

Aug. 1, 2023, 6:59 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

10.0
Affected Products

The following products are affected by CVE-2009-4492 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ruby-lang webrick
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2009-4492.

URL Resource
http://secunia.com/advisories/37949 Not Applicable Vendor Advisory
http://securitytracker.com/id?1023429 Broken Link Exploit Third Party Advisory VDB Entry
http://www.redhat.com/support/errata/RHSA-2011-0908.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2011-0909.html Third Party Advisory
http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection Patch Vendor Advisory
http://www.securityfocus.com/archive/1/508830/100/0/threaded Broken Link Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/37710 Broken Link Exploit Third Party Advisory VDB Entry
http://www.ush.it/team/ush/hack_httpd_escape/adv.txt Broken Link Exploit
http://www.vupen.com/english/advisories/2010/0089 Permissions Required

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2009-4492 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2009-4492 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Aug. 01, 2023

    Action Type Old Value New Value
    Removed Evaluator Impact Per: http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection "Affected versions * Ruby 1.8.6 patchlevel 383 and all prior versions * Ruby 1.8.7 patchlevel 248 and all prior versions * Development versions of Ruby 1.8 (1.8.8dev) * Ruby 1.9.1 patchlevel 376 and all prior versions * Development versions of Ruby 1.9 (1.9.2dev)"
    Removed CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Changed Reference Type http://secunia.com/advisories/37949 Vendor Advisory http://secunia.com/advisories/37949 Not Applicable, Vendor Advisory
    Changed Reference Type http://securitytracker.com/id?1023429 Exploit http://securitytracker.com/id?1023429 Broken Link, Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2011-0908.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2011-0908.html Third Party Advisory
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2011-0909.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2011-0909.html Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/archive/1/508830/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/508830/100/0/threaded Broken Link, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.securityfocus.com/bid/37710 Exploit http://www.securityfocus.com/bid/37710 Broken Link, Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.ush.it/team/ush/hack_httpd_escape/adv.txt Exploit http://www.ush.it/team/ush/hack_httpd_escape/adv.txt Broken Link, Exploit
    Changed Reference Type http://www.vupen.com/english/advisories/2010/0089 No Types Assigned http://www.vupen.com/english/advisories/2010/0089 Permissions Required
    Removed CWE NIST CWE-20
    Added CWE NIST NVD-CWE-noinfo
    Removed CPE Configuration AND OR *cpe:2.3:a:webrick:webrick:1.3.1:*:*:*:*:*:*:* OR *cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:1.8.8:dev:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:1.9.2:dev:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:ruby-lang:webrick:1.3.1:*:*:*:*:ruby:*:* OR cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 1.8.6 up to (including) 1.8.6.383 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 1.8.7 up to (including) 1.8.7.248 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 1.9.1 up to (including) 1.9.1.376
  • CVE Modified by [email protected]

    Oct. 10, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/508830/100/0/threaded [Exploit]
    Added Reference http://www.securityfocus.com/archive/1/508830/100/0/threaded [No Types Assigned]
  • Initial Analysis by [email protected]

    Jan. 14, 2010

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2009-4492 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2009-4492 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

54.86 }} -7.26%

score

0.97734

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability