CVE-2022-36804 (GCVE-0-2022-36804)
Vulnerability from cvelistv5
Published
2022-08-25 05:40
Modified
2025-10-21 23:15
CWE
  • Remote Code Execution
Summary
Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew.
Impacted products
Vendor Product Version
Atlassian Bitbucket Server Version: 7.0.0   < unspecified
Version: unspecified   < 7.6.17
Version: 7.7.0   < unspecified
Version: unspecified   < 7.17.10
Version: 7.18.0   < unspecified
Version: unspecified   < 7.21.4
Version: 8.0.0   < unspecified
Version: unspecified   < 8.0.3
Version: 8.1.0   < unspecified
Version: unspecified   < 8.1.3
Version: 8.2.0   < unspecified
Version: unspecified   < 8.2.2
Version: 8.3.0   < unspecified
Version: unspecified   < 8.3.1
Create a notification for this product.
   Atlassian Bitbucket Data Center Version: 7.0.0   < unspecified
Version: unspecified   < 7.6.17
Version: 7.7.0   < unspecified
Version: unspecified   < 7.17.10
Version: 7.18.0   < unspecified
Version: unspecified   < 7.21.4
Version: 8.0.0   < unspecified
Version: unspecified   < 8.0.3
Version: 8.1.0   < unspecified
Version: unspecified   < 8.1.3
Version: 8.2.0   < unspecified
Version: unspecified   < 8.2.2
Version: 8.3.0   < unspecified
Version: unspecified   < 8.3.1
Create a notification for this product.
CISA Known Exploited Vulnerability
Data from the CISA Known Exploited Vulnerabilities Catalog

Date added: 2022-09-30

Due date: 2022-10-21

Required action: Apply updates per vendor instructions.

Used in ransomware: Unknown

Notes: https://jira.atlassian.com/browse/BSERV-13438; https://nvd.nist.gov/vuln/detail/CVE-2022-36804

Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T10:14:28.471Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://jira.atlassian.com/browse/BSERV-13438"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 8.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-36804",
                "options": [
                  {
                    "Exploitation": "active"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-01-29T16:19:10.861167Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          },
          {
            "other": {
              "content": {
                "dateAdded": "2022-09-30",
                "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804"
              },
              "type": "kev"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-78",
                "description": "CWE-78 Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
                "lang": "en",
                "type": "CWE"
              }
            ]
          },
          {
            "descriptions": [
              {
                "cweId": "CWE-88",
                "description": "CWE-88 Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-21T23:15:36.273Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "government-resource"
            ],
            "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804"
          }
        ],
        "timeline": [
          {
            "lang": "en",
            "time": "2022-09-30T00:00:00.000Z",
            "value": "CVE-2022-36804 added to CISA KEV"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "Bitbucket Server",
          "vendor": "Atlassian",
          "versions": [
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "7.0.0",
              "versionType": "custom"
            },
            {
              "lessThan": "7.6.17",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "7.7.0",
              "versionType": "custom"
            },
            {
              "lessThan": "7.17.10",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "7.18.0",
              "versionType": "custom"
            },
            {
              "lessThan": "7.21.4",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "custom"
            },
            {
              "lessThan": "8.0.3",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "8.1.0",
              "versionType": "custom"
            },
            {
              "lessThan": "8.1.3",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "8.2.0",
              "versionType": "custom"
            },
            {
              "lessThan": "8.2.2",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "8.3.0",
              "versionType": "custom"
            },
            {
              "lessThan": "8.3.1",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            }
          ]
        },
        {
          "product": "Bitbucket Data Center",
          "vendor": "Atlassian",
          "versions": [
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "7.0.0",
              "versionType": "custom"
            },
            {
              "lessThan": "7.6.17",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "7.7.0",
              "versionType": "custom"
            },
            {
              "lessThan": "7.17.10",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "7.18.0",
              "versionType": "custom"
            },
            {
              "lessThan": "7.21.4",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "custom"
            },
            {
              "lessThan": "8.0.3",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "8.1.0",
              "versionType": "custom"
            },
            {
              "lessThan": "8.1.3",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "8.2.0",
              "versionType": "custom"
            },
            {
              "lessThan": "8.2.2",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "8.3.0",
              "versionType": "custom"
            },
            {
              "lessThan": "8.3.1",
              "status": "affected",
              "version": "unspecified",
              "versionType": "custom"
            }
          ]
        }
      ],
      "datePublic": "2022-08-24T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "Remote Code Execution",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-03-24T00:00:00.000Z",
        "orgId": "f08a6ab8-ed46-4c22-8884-d911ccfe3c66",
        "shortName": "atlassian"
      },
      "references": [
        {
          "url": "https://jira.atlassian.com/browse/BSERV-13438"
        },
        {
          "url": "http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html"
        },
        {
          "url": "http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "f08a6ab8-ed46-4c22-8884-d911ccfe3c66",
    "assignerShortName": "atlassian",
    "cveId": "CVE-2022-36804",
    "datePublished": "2022-08-25T05:40:08.899Z",
    "dateReserved": "2022-07-26T00:00:00.000Z",
    "dateUpdated": "2025-10-21T23:15:36.273Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "cisa_known_exploited": {
      "cveID": "CVE-2022-36804",
      "cwes": "[\"CWE-78\", \"CWE-88\", \"CWE-158\"]",
      "dateAdded": "2022-09-30",
      "dueDate": "2022-10-21",
      "knownRansomwareCampaignUse": "Unknown",
      "notes": "https://jira.atlassian.com/browse/BSERV-13438;  https://nvd.nist.gov/vuln/detail/CVE-2022-36804",
      "product": "Bitbucket Server and Data Center",
      "requiredAction": "Apply updates per vendor instructions.",
      "shortDescription": "Multiple API endpoints of Atlassian Bitbucket Server and Data Center contain a command injection vulnerability where an attacker with access to a public Bitbucket repository, or with read permissions to a private one, can execute code by sending a malicious HTTP request.",
      "vendorProject": "Atlassian",
      "vulnerabilityName": "Atlassian Bitbucket Server and Data Center Command Injection Vulnerability"
    },
    "vulnrichment": {
      "containers": "{\"cna\": {\"datePublic\": \"2022-08-24T00:00:00.000Z\", \"providerMetadata\": {\"orgId\": \"f08a6ab8-ed46-4c22-8884-d911ccfe3c66\", \"shortName\": \"atlassian\", \"dateUpdated\": \"2023-03-24T00:00:00.000Z\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew.\"}], \"affected\": [{\"vendor\": \"Atlassian\", \"product\": \"Bitbucket Server\", \"versions\": [{\"version\": \"7.0.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"7.6.17\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"7.7.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"7.17.10\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"7.18.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"7.21.4\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"8.0.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"8.0.3\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"8.1.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"8.1.3\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"8.2.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"8.2.2\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"8.3.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"8.3.1\", \"status\": \"affected\", \"versionType\": \"custom\"}]}, {\"vendor\": \"Atlassian\", \"product\": \"Bitbucket Data Center\", \"versions\": [{\"version\": \"7.0.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"7.6.17\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"7.7.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"7.17.10\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"7.18.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"7.21.4\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"8.0.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"8.0.3\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"8.1.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"8.1.3\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"8.2.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"8.2.2\", \"status\": \"affected\", \"versionType\": \"custom\"}, {\"version\": \"8.3.0\", \"status\": \"affected\", \"lessThan\": \"unspecified\", \"versionType\": \"custom\"}, {\"version\": \"unspecified\", \"lessThan\": \"8.3.1\", \"status\": \"affected\", \"versionType\": \"custom\"}]}], \"references\": [{\"url\": \"https://jira.atlassian.com/browse/BSERV-13438\"}, {\"url\": \"http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html\"}, {\"url\": \"http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html\"}], \"problemTypes\": [{\"descriptions\": [{\"type\": \"text\", \"lang\": \"en\", \"description\": \"Remote Code Execution\"}]}]}, \"adp\": [{\"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T10:14:28.471Z\"}, \"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://jira.atlassian.com/browse/BSERV-13438\", \"tags\": [\"x_transferred\"]}, {\"url\": \"http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html\", \"tags\": [\"x_transferred\"]}, {\"url\": \"http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html\", \"tags\": [\"x_transferred\"]}]}, {\"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 8.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-36804\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"active\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-01-29T16:19:10.861167Z\"}}}, {\"other\": {\"type\": \"kev\", \"content\": {\"dateAdded\": \"2022-09-30\", \"reference\": \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804\"}}}], \"references\": [{\"url\": \"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804\", \"tags\": [\"government-resource\"]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-78\", \"description\": \"CWE-78 Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)\"}]}, {\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-88\", \"description\": \"CWE-88 Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-01-29T16:18:53.058Z\"}, \"timeline\": [{\"time\": \"2022-09-30T00:00:00+00:00\", \"lang\": \"en\", \"value\": \"CVE-2022-36804 added to CISA KEV\"}], \"title\": \"CISA ADP Vulnrichment\"}]}",
      "cveMetadata": "{\"state\": \"PUBLISHED\", \"cveId\": \"CVE-2022-36804\", \"assignerOrgId\": \"f08a6ab8-ed46-4c22-8884-d911ccfe3c66\", \"assignerShortName\": \"atlassian\", \"dateUpdated\": \"2025-10-21T19:45:59.972Z\", \"dateReserved\": \"2022-07-26T00:00:00.000Z\", \"datePublished\": \"2022-08-25T05:40:08.899Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…