CVE-2017-17536 Command injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary code in Phabricator by exploiting unblocked Mercurial flags in branch names.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2017-17536?

CVE-2017-17536 is a high-severity command injection vulnerability in n/a, published on 11 Dec 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Phabricator before 2017-11-10 does not block the --config and --debugger flags to the Mercurial hg program, which allows remote attackers to execute arbitrary code by using the web UI to browse a branch whose name begins with a --config= or --debugger= substring.

Which versions are affected by CVE-2017-17536?

It affects 1 product.

Products include Phacility Phabricator.

How do I fix CVE-2017-17536?

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

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

Sources

Also known as DEBIAN-CVE-2017-17536, GHSA-j2x8-qgjm-w8gp, UBUNTU-CVE-2017-17536.

Is CVE-2017-17536 in your software?

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

Check your SBOMs for free