ghsa-6mq2-37j5-w6r6
Vulnerability from github
Published
2017-10-24 18:33
Modified
2023-08-01 21:37
Summary
WEBrick Improper Input Validation vulnerability
Details

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.

Show details on source website


{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 1.3.1"
      },
      "package": {
        "ecosystem": "RubyGems",
        "name": "webrick"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.4.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2009-4492"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:19:44Z",
    "nvd_published_at": "2010-01-13T20:30:00Z",
    "severity": "MODERATE"
  },
  "details": "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\u0027s title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator.",
  "id": "GHSA-6mq2-37j5-w6r6",
  "modified": "2023-08-01T21:37:33Z",
  "published": "2017-10-24T18:33:38Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2009-4492"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-6mq2-37j5-w6r6"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ruby/webrick"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20100113155532/http://www.vupen.com/english/advisories/2010/0089"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20100815010948/http://secunia.com/advisories/37949"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20170402100552/http://securitytracker.com/id?1023429"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20170908140655/http://www.securityfocus.com/archive/1/508830/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20200228145937/http://www.securityfocus.com/bid/37710"
    },
    {
      "type": "WEB",
      "url": "http://www.redhat.com/support/errata/RHSA-2011-0908.html"
    },
    {
      "type": "WEB",
      "url": "http://www.redhat.com/support/errata/RHSA-2011-0909.html"
    },
    {
      "type": "WEB",
      "url": "http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection"
    },
    {
      "type": "WEB",
      "url": "http://www.ush.it/team/ush/hack_httpd_escape/adv.txt"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "WEBrick Improper Input Validation vulnerability"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.