gsd-2022-43781
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled “Allow public signup”.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-43781",
    "id": "GSD-2022-43781"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-43781"
      ],
      "details": "There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled \u201cAllow public signup\u201d.",
      "id": "GSD-2022-43781",
      "modified": "2023-12-13T01:19:31.719045Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@atlassian.com",
        "ID": "CVE-2022-43781",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Bitbucket Data Center",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "!",
                          "version_value": "before 7.0"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 7.17.12"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 7.21.6"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 7.6.19"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.0.5"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.1.5"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.2.4"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.3.3"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.4.2"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.5.0"
                        }
                      ]
                    }
                  },
                  {
                    "product_name": "Bitbucket Server",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "!",
                          "version_value": "before 7.0"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 7.17.12"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 7.21.6"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 7.6.19"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.0.5"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.1.5"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.2.4"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.3.3"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.4.2"
                        },
                        {
                          "version_affected": "=",
                          "version_value": "before 8.5.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Atlassian"
            }
          ]
        }
      },
      "credits": [
        {
          "lang": "en",
          "value": "https://github.com/Ry0taK"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled \u201cAllow public signup\u201d."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "RCE (Remote Code Execution)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://confluence.atlassian.com/x/Y4hXRg",
            "refsource": "MISC",
            "url": "https://confluence.atlassian.com/x/Y4hXRg"
          },
          {
            "name": "https://jira.atlassian.com/browse/BSERV-13522",
            "refsource": "MISC",
            "url": "https://jira.atlassian.com/browse/BSERV-13522"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "8.4.2",
                "versionStartIncluding": "8.4.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "7.6.19",
                "versionStartIncluding": "7.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "7.17.12",
                "versionStartIncluding": "7.7.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "7.21.6",
                "versionStartIncluding": "7.18.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "8.1.5",
                "versionStartIncluding": "8.1.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "8.2.4",
                "versionStartIncluding": "8.2.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "8.3.3",
                "versionStartIncluding": "8.3.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "8.0.5",
                "versionStartIncluding": "7.22.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@atlassian.com",
          "ID": "CVE-2022-43781"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled \u201cAllow public signup\u201d."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-77"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://confluence.atlassian.com/x/Y4hXRg",
              "refsource": "MISC",
              "tags": [
                "Mitigation",
                "Release Notes",
                "Vendor Advisory"
              ],
              "url": "https://confluence.atlassian.com/x/Y4hXRg"
            },
            {
              "name": "https://jira.atlassian.com/browse/BSERV-13522",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking",
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://jira.atlassian.com/browse/BSERV-13522"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2022-11-18T18:51Z",
      "publishedDate": "2022-11-17T00:15Z"
    }
  }
}


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.