Home/CVE/There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker
CVE

CVE-2022-43781

There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker

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”.

CRITICAL · CVSS 9.8 EPSS 0.87475
Act now
  • EPSS ≥ 0.50 - high probability of exploitation in the next 30 days
  • EPSS percentile: top 1% of all CVEs by exploitation likelihood
  • SSVC automatable: yes - attacks can be scripted at scale
  • CVSS base score ≥ 7.0
Sigma rules8 YARA rules0

Affected Products & Versions

8
atlassian bitbucket>= 7.0.0 and < 7.6.19
atlassian bitbucket>= 7.7.0 and < 7.17.12
atlassian bitbucket>= 7.18.0 and < 7.21.6
atlassian bitbucket>= 7.22.0 and < 8.0.5
atlassian bitbucket>= 8.1.0 and < 8.1.5
atlassian bitbucket>= 8.2.0 and < 8.2.4
atlassian bitbucket>= 8.3.0 and < 8.3.3
atlassian bitbucket>= 8.4.0 and < 8.4.2

Sigma Hunt Rules

8
Exact rules name this CVE ID. Product rules name an affected product in their title. Related rules cover techniques used by actors who exploited this CVE. Showing the most relevant matches; the complete related set is on the full drill-down.
productcriticalBitbucket Unauthorized Full Data Export Triggered
productcriticalBitbucket Unauthorized Access To A Resource
producthighBitbucket Full Data Export Triggered
producthighBitbucket Secret Scanning Exempt Repository Added
productmediumBitbucket User Login Failure
productmediumBitbucket User Details Export Attempt Detected

Scoring & Timeline

9.8
CRITICAL · CVSS v3.1 · security@atlassian.com
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD17 Nov 2022 · 12:15 AM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC triage · cisa-vulnrichment
Exploitation
none
Automatable
yes
Technical impact
total
SSVC asks the questions that actually drive patch urgency: is it being exploited, can attacks be automated, and how total is the impact.
🔗

References & Sources

2
Source URLs (vendor pages, mailing lists, write-ups). Exploit/PoC links are in their own section above to avoid duplication.
https://confluence.atlassian.com/x/Y4hXRgMitigationRelease NotesVendor Advisory
https://jira.atlassian.com/browse/BSERV-13522Issue TrackingPatchVendor Advisory
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin