CVE-2018-5225 Path traversal in Bitbucket Server
Authenticated attackers can achieve remote code execution by exploiting symbolic link handling in the browser editing feature of Bitbucket Server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-5225?
CVE-2018-5225 is a critical path traversal vulnerability in Atlassian Bitbucket Server, published on 22 Mar 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In browser editing in Atlassian Bitbucket Server from version 4.13.0 before 5.4.8 (the fixed version for 4.13.0 through 5.4.7), 5.5.0 before 5.5.8 (the fixed version for 5.5.x), 5.6.0 before 5.6.5 (the fixed version for 5.6.x), 5.7.0 before 5.7.3 (the fixed version for 5.7.x), and 5.8.0 before 5.8.2 (the fixed version for 5.8.x), allows authenticated users to gain remote code execution using the in browser editing feature via editing a symbolic link within a repository.
Weakness: CWE-59
Which versions are affected by CVE-2018-5225?
It affects 1 product.
Products include Atlassian Bitbucket.
How do I fix CVE-2018-5225?
No fix has been published for CVE-2018-5225 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-5225 being exploited?
There is no known exploitation of CVE-2018-5225 in the wild and no public exploit code.
Other vulnerabilities in Atlassian Bitbucket Server
- CVE-2022-36804 Atlassian Bitbucket Server and Data Center Command Injection
- CVE-2022-43781 Command injection in Bitbucket Data Center
- CVE-2019-15000 Command injection in Bitbucket Data Center
- CVE-2019-3397 Path traversal in Bitbucket Data Center
- CVE-2019-15010 Command injection in Bitbucket Data Center
Sources
Also known as GHSA-m5mm-7f4v-27v9.