ghsa-xhw3-wmx2-76wf
Vulnerability from github
Published
2022-05-18 00:00
Modified
2022-12-02 21:02
Summary
Buffer overflow in Jenkins WMI Windows Agents plugin
Details

WMI Windows Agents Plugin 1.8 and earlier includes the Windows Remote Command library. It provides a general-purpose remote command execution capability that Jenkins uses to check if Java is available, and if not, to install it.

This library has a buffer overflow vulnerability that may allow users able to connect to a named pipe to execute commands on the Windows agent machine.

Additionally, while the processes are started as the user who connects to the named pipe, no access control takes place, potentially allowing users to start processes even if they’re not allowed to log in.

WMI Windows Agents Plugin 1.8.1 no longer includes the Windows Remote Command library. A Java runtime is expected to be available on agent machines and WMI Windows Agents Plugin 1.8.1 does not install a JDK automatically otherwise.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Maven",
            name: "org.jenkins-ci.plugins:windows-slaves",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "1.8.1",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2022-30950",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-120",
      ],
      github_reviewed: true,
      github_reviewed_at: "2022-06-02T15:50:29Z",
      nvd_published_at: "2022-05-17T15:15:00Z",
      severity: "MODERATE",
   },
   details: "WMI Windows Agents Plugin 1.8 and earlier includes the Windows Remote Command library. It provides a general-purpose remote command execution capability that Jenkins uses to check if Java is available, and if not, to install it.\n\nThis library has a buffer overflow vulnerability that may allow users able to connect to a named pipe to execute commands on the Windows agent machine.\n\nAdditionally, while the processes are started as the user who connects to the named pipe, no access control takes place, potentially allowing users to start processes even if they’re not allowed to log in.\n\nWMI Windows Agents Plugin 1.8.1 no longer includes the Windows Remote Command library. A Java runtime is expected to be available on agent machines and WMI Windows Agents Plugin 1.8.1 does not install a JDK automatically otherwise.",
   id: "GHSA-xhw3-wmx2-76wf",
   modified: "2022-12-02T21:02:51Z",
   published: "2022-05-18T00:00:39Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2022-30950",
      },
      {
         type: "WEB",
         url: "https://github.com/jenkinsci/windows-slaves-plugin/commit/4638cf0e56caf839eadfdf0fab545abd2a9ac65e",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/jenkinsci/windows-slaves-plugin",
      },
      {
         type: "WEB",
         url: "https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2604",
      },
      {
         type: "WEB",
         url: "http://www.openwall.com/lists/oss-security/2022/05/17/8",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N",
         type: "CVSS_V3",
      },
   ],
   summary: "Buffer overflow in Jenkins WMI Windows Agents plugin",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.