CVE-2016-4320 Path traversal in Atlassian Bitbucket Server before 4.7.1

Medium 4.3 Published Updated

Remote attackers can read the first line of arbitrary files via directory traversal in pull requests, requiring an upgrade to 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-2016-4320?

CVE-2016-4320 is a medium-severity path traversal vulnerability in Atlassian Bitbucket Server before 4.7.1, published on 10 Apr 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Atlassian Bitbucket Server before 4.7.1 allows remote attackers to read the first line of an arbitrary file via a directory traversal attack on the pull requests resource.

Weakness: CWE-22

Which versions are affected by CVE-2016-4320?

It affects 1 product.

Products include Atlassian Bitbucket.

How do I fix CVE-2016-4320?

No fix has been published for CVE-2016-4320 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-2016-4320 being exploited?

There is no known exploitation of CVE-2016-4320 in the wild and no public exploit code.

Sources

Also known as GHSA-mmfc-28m2-824q.

Is CVE-2016-4320 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free