CVE-2018-13864 Play Framework's Assets controller vulnerable to directory traversal

High 7.5 Published Updated

Remote attackers can download arbitrary files from Windows servers running Play Framework via directory traversal in the Assets controller.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-13864?

CVE-2018-13864 is a high-severity path traversal vulnerability in n/a, published on 17 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A directory traversal vulnerability has been found in the Assets controller in Play Framework 2.6.12 through 2.6.15 (fixed in 2.6.16) when running on Windows. It allows a remote attacker to download arbitrary files from the target server via specially crafted HTTP requests.

Weakness: CWE-22

Which versions are affected by CVE-2018-13864?

2 open source packages ship an affected version, including com.typesafe.play:play_2.12. It affects 1 product.

PackageAffectedFixed in
com.typesafe.play:play_2.12 MavenFrom 2.6.122.6.16
com.typesafe.play:play_2.12 MavenFrom 2.6.122.6.16

Products include Lightbend Play Framework.

How do I fix CVE-2018-13864?

Upgrade com.typesafe.play:play_2.12 to 2.6.16 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-13864 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-v4mq-p756-p4f5.

Is CVE-2018-13864 in your software?

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

Check your SBOMs for free