cve-2022-43781
Vulnerability from cvelistv5
Published
2022-11-17 00:00
Modified
2024-10-02 14:56
Severity ?
EPSS score ?
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
▼ | URL | Tags | |
---|---|---|---|
security@atlassian.com | https://confluence.atlassian.com/x/Y4hXRg | Mitigation, Release Notes, Vendor Advisory | |
security@atlassian.com | https://jira.atlassian.com/browse/BSERV-13522 | Issue Tracking, Patch, Vendor Advisory |
Impacted products
▼ | Vendor | Product |
---|---|---|
Atlassian | Bitbucket Data Center | |
Atlassian | Bitbucket Server |
{ "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", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2022-43781\",\"sourceIdentifier\":\"security@atlassian.com\",\"published\":\"2022-11-17T00:15:18.483\",\"lastModified\":\"2024-10-02T15:35:02.723\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"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.\"},{\"lang\":\"es\",\"value\":\"Existe una vulnerabilidad de inyecci\u00f3n de comandos mediante variables de entorno en Bitbucket Server y Data Center. Un atacante con permiso para controlar su nombre de usuario puede aprovechar este problema para ejecutar c\u00f3digo arbitrario en el sistema. Esta vulnerabilidad puede no autenticarse si la instancia de Bitbucket Server y Data Center ha habilitado \\\"Allow public signup\\\".\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-77\"}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-77\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"7.0.0\",\"versionEndExcluding\":\"7.6.19\",\"matchCriteriaId\":\"724D75B1-262B-4834-BDF9-359992FE358F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"7.7.0\",\"versionEndExcluding\":\"7.17.12\",\"matchCriteriaId\":\"7DDB30B8-27BB-4754-A801-CC6D7FBD112D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"7.18.0\",\"versionEndExcluding\":\"7.21.6\",\"matchCriteriaId\":\"C46D83C6-2375-4187-9A5F-1AD81A6520DA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"7.22.0\",\"versionEndExcluding\":\"8.0.5\",\"matchCriteriaId\":\"18D68073-ED08-433F-9EB3-6BE4D58B08E6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"8.1.0\",\"versionEndExcluding\":\"8.1.5\",\"matchCriteriaId\":\"7C1B0213-8CA7-4179-90D3-FCFE8BBE33BA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"8.2.0\",\"versionEndExcluding\":\"8.2.4\",\"matchCriteriaId\":\"0D270F32-1BB2-46F8-8737-4CB39508EDD4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"8.3.0\",\"versionEndExcluding\":\"8.3.3\",\"matchCriteriaId\":\"CF6224A3-4AD8-4DA7-8E68-A890B3915337\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"8.4.0\",\"versionEndExcluding\":\"8.4.2\",\"matchCriteriaId\":\"224634CB-9CA5-4292-B3F8-B3A86E4ADD70\"}]}]}],\"references\":[{\"url\":\"https://confluence.atlassian.com/x/Y4hXRg\",\"source\":\"security@atlassian.com\",\"tags\":[\"Mitigation\",\"Release Notes\",\"Vendor Advisory\"]},{\"url\":\"https://jira.atlassian.com/browse/BSERV-13522\",\"source\":\"security@atlassian.com\",\"tags\":[\"Issue Tracking\",\"Patch\",\"Vendor Advisory\"]}]}}" } }
Loading...
Loading...
- 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.