CVE-2017-18087 Command injection in Bitbucket Server

High 7.5 Published Updated

Remote attackers can inject arguments to write files, execute code, or probe internal services via the download commit resource.

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-2017-18087?

CVE-2017-18087 is a high-severity command injection vulnerability in Atlassian Bitbucket Server, published on 15 Feb 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The download commit resource in Atlassian Bitbucket Server from version 5.1.0 before version 5.1.7, from version 5.2.0 before version 5.2.5, from version 5.3.0 before version 5.3.3 and from version 5.4.0 before version 5.4.1 allows remote attackers to write files to disk potentially allowing them to gain code execution, exploit CVE-2017-1000117 if a vulnerable version of git is in use, and or determine if an internal service exists via an argument injection vulnerability in the at parameter.

Which versions are affected by CVE-2017-18087?

It affects 1 product.

Products include Atlassian Bitbucket.

How do I fix CVE-2017-18087?

No fix has been published for CVE-2017-18087 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2017-18087 being exploited?

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

Sources

Also known as GHSA-c5mx-vvj3-c6pv.

Is CVE-2017-18087 in your software?

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

Check your SBOMs for free