CVE-2022-43781 (GCVE-0-2022-43781)
Vulnerability from cvelistv5
Published
2022-11-17 00:00
Modified
2024-10-02 14:56
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- RCE (Remote Code Execution)
Summary
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”.
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Atlassian | Bitbucket Data Center |
Version: before 7.17.12 Version: before 7.21.6 Version: before 7.6.19 Version: before 8.0.5 Version: before 8.1.5 Version: before 8.2.4 Version: before 8.3.3 Version: before 8.4.2 Version: before 8.5.0 |
|||||||
|
|||||||||
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-03T13:40:06.623Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://confluence.atlassian.com/x/Y4hXRg"
},
{
"tags": [
"x_transferred"
],
"url": "https://jira.atlassian.com/browse/BSERV-13522"
}
],
"title": "CVE Program Container"
},
{
"affected": [
{
"cpes": [
"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "bitbucket",
"vendor": "atlassian",
"versions": [
{
"lessThan": "7.6.19",
"status": "affected",
"version": "7.0.0",
"versionType": "custom"
},
{
"lessThan": "7.17.12",
"status": "affected",
"version": "7.7.0",
"versionType": "custom"
},
{
"lessThan": "7.21.6",
"status": "affected",
"version": "7.18.0",
"versionType": "custom"
},
{
"lessThan": "8.0.5",
"status": "affected",
"version": "7.22.0",
"versionType": "custom"
},
{
"lessThan": "8.1.5",
"status": "affected",
"version": "8.1.0",
"versionType": "custom"
},
{
"lessThan": "8.2.4",
"status": "affected",
"version": "8.2.0",
"versionType": "custom"
},
{
"lessThan": "8.3.3",
"status": "affected",
"version": "8.3.0",
"versionType": "custom"
},
{
"lessThan": "8.4.2",
"status": "affected",
"version": "8.4.0",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"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"
}
},
{
"other": {
"content": {
"id": "CVE-2022-43781",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-10-02T14:27:57.305026Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-77",
"description": "CWE-77 Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-10-02T14:56:09.693Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "Bitbucket Data Center",
"vendor": "Atlassian",
"versions": [
{
"status": "unaffected",
"version": "before 7.0"
},
{
"status": "affected",
"version": "before 7.17.12"
},
{
"status": "affected",
"version": "before 7.21.6"
},
{
"status": "affected",
"version": "before 7.6.19"
},
{
"status": "affected",
"version": "before 8.0.5"
},
{
"status": "affected",
"version": "before 8.1.5"
},
{
"status": "affected",
"version": "before 8.2.4"
},
{
"status": "affected",
"version": "before 8.3.3"
},
{
"status": "affected",
"version": "before 8.4.2"
},
{
"status": "affected",
"version": "before 8.5.0"
}
]
},
{
"product": "Bitbucket Server",
"vendor": "Atlassian",
"versions": [
{
"status": "unaffected",
"version": "before 7.0"
},
{
"status": "affected",
"version": "before 7.17.12"
},
{
"status": "affected",
"version": "before 7.21.6"
},
{
"status": "affected",
"version": "before 7.6.19"
},
{
"status": "affected",
"version": "before 8.0.5"
},
{
"status": "affected",
"version": "before 8.1.5"
},
{
"status": "affected",
"version": "before 8.2.4"
},
{
"status": "affected",
"version": "before 8.3.3"
},
{
"status": "affected",
"version": "before 8.4.2"
},
{
"status": "affected",
"version": "before 8.5.0"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "https://github.com/Ry0taK"
}
],
"descriptions": [
{
"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."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "RCE (Remote Code Execution)",
"lang": "en",
"type": "RCE (Remote Code Execution)"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2022-11-17T00:00:01.210Z",
"orgId": "f08a6ab8-ed46-4c22-8884-d911ccfe3c66",
"shortName": "atlassian"
},
"references": [
{
"url": "https://confluence.atlassian.com/x/Y4hXRg"
},
{
"url": "https://jira.atlassian.com/browse/BSERV-13522"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "f08a6ab8-ed46-4c22-8884-d911ccfe3c66",
"assignerShortName": "atlassian",
"cveId": "CVE-2022-43781",
"datePublished": "2022-11-17T00:00:01.210Z",
"dateReserved": "2022-10-26T14:49:11.114Z",
"dateUpdated": "2024-10-02T14:56:09.693Z",
"requesterUserId": "4ceb4895-2afc-4c29-bf72-c2e04b367c52",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://confluence.atlassian.com/x/Y4hXRg\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://jira.atlassian.com/browse/BSERV-13522\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T13:40:06.623Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-43781\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-02T14:27:57.305026Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*\"], \"vendor\": \"atlassian\", \"product\": \"bitbucket\", \"versions\": [{\"status\": \"affected\", \"version\": \"7.0.0\", \"lessThan\": \"7.6.19\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"7.7.0\", \"lessThan\": \"7.17.12\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"7.18.0\", \"lessThan\": \"7.21.6\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"7.22.0\", \"lessThan\": \"8.0.5\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"8.1.0\", \"lessThan\": \"8.1.5\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"8.2.0\", \"lessThan\": \"8.2.4\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"8.3.0\", \"lessThan\": \"8.3.3\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"8.4.0\", \"lessThan\": \"8.4.2\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-77\", \"description\": \"CWE-77 Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-02T14:55:51.362Z\"}}], \"cna\": {\"credits\": [{\"lang\": \"en\", \"value\": \"https://github.com/Ry0taK\"}], \"affected\": [{\"vendor\": \"Atlassian\", \"product\": \"Bitbucket Data Center\", \"versions\": [{\"status\": \"unaffected\", \"version\": \"before 7.0\"}, {\"status\": \"affected\", \"version\": \"before 7.17.12\"}, {\"status\": \"affected\", \"version\": \"before 7.21.6\"}, {\"status\": \"affected\", \"version\": \"before 7.6.19\"}, {\"status\": \"affected\", \"version\": \"before 8.0.5\"}, {\"status\": \"affected\", \"version\": \"before 8.1.5\"}, {\"status\": \"affected\", \"version\": \"before 8.2.4\"}, {\"status\": \"affected\", \"version\": \"before 8.3.3\"}, {\"status\": \"affected\", \"version\": \"before 8.4.2\"}, {\"status\": \"affected\", \"version\": \"before 8.5.0\"}]}, {\"vendor\": \"Atlassian\", \"product\": \"Bitbucket Server\", \"versions\": [{\"status\": \"unaffected\", \"version\": \"before 7.0\"}, {\"status\": \"affected\", \"version\": \"before 7.17.12\"}, {\"status\": \"affected\", \"version\": \"before 7.21.6\"}, {\"status\": \"affected\", \"version\": \"before 7.6.19\"}, {\"status\": \"affected\", \"version\": \"before 8.0.5\"}, {\"status\": \"affected\", \"version\": \"before 8.1.5\"}, {\"status\": \"affected\", \"version\": \"before 8.2.4\"}, {\"status\": \"affected\", \"version\": \"before 8.3.3\"}, {\"status\": \"affected\", \"version\": \"before 8.4.2\"}, {\"status\": \"affected\", \"version\": \"before 8.5.0\"}]}], \"references\": [{\"url\": \"https://confluence.atlassian.com/x/Y4hXRg\"}, {\"url\": \"https://jira.atlassian.com/browse/BSERV-13522\"}], \"descriptions\": [{\"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"RCE (Remote Code Execution)\", \"description\": \"RCE (Remote Code Execution)\"}]}], \"providerMetadata\": {\"orgId\": \"f08a6ab8-ed46-4c22-8884-d911ccfe3c66\", \"shortName\": \"atlassian\", \"dateUpdated\": \"2022-11-17T00:00:01.210Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2022-43781\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-10-02T14:56:09.693Z\", \"dateReserved\": \"2022-10-26T14:49:11.114Z\", \"assignerOrgId\": \"f08a6ab8-ed46-4c22-8884-d911ccfe3c66\", \"datePublished\": \"2022-11-17T00:00:01.210Z\", \"requesterUserId\": \"4ceb4895-2afc-4c29-bf72-c2e04b367c52\", \"assignerShortName\": \"atlassian\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
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…