ghsa-369m-2gv6-mw28
Vulnerability from github
Published
2022-05-14 02:03
Modified
2023-07-27 14:58
Summary
WEBrick RCE Vulnerability
Details

The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "webrick"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.4.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2017-10784"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-287"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-26T20:26:17Z",
    "nvd_published_at": "2017-09-19T17:29:00Z",
    "severity": "HIGH"
  },
  "details": "The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.",
  "id": "GHSA-369m-2gv6-mw28",
  "modified": "2023-07-27T14:58:44Z",
  "published": "2022-05-14T02:03:29Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-10784"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ruby/ruby/commit/6617c41292"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ruby/webrick/commit/4ac0f3843ab82d1c31e1cfc719409208adef7813"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/223363"
    },
    {
      "type": "WEB",
      "url": "https://www.ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784"
    },
    {
      "type": "WEB",
      "url": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released"
    },
    {
      "type": "WEB",
      "url": "https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released"
    },
    {
      "type": "WEB",
      "url": "https://www.debian.org/security/2017/dsa-4031"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20211025092552/http://www.securitytracker.com/id/1039363"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20210919031115/http://www.securitytracker.com/id/1042004"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20210621131814/http://www.securityfocus.com/bid/100853"
    },
    {
      "type": "WEB",
      "url": "https://usn.ubuntu.com/3685-1"
    },
    {
      "type": "WEB",
      "url": "https://usn.ubuntu.com/3528-1"
    },
    {
      "type": "WEB",
      "url": "https://security.gentoo.org/glsa/201710-18"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2017-10784.yml"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ruby/webrick"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2018:0585"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2018:0583"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2018:0378"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2017:3485"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "WEBrick RCE 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.