CVE-2020-5205 Session fixation attack in Pow (Hex package)

Medium 6.5 Published Updated

Attackers can hijack user sessions in Pow if a persistent session store like Redis is used instead of the default cookie store.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-5205?

CVE-2020-5205 is a medium-severity authentication bypass vulnerability in danschultzer Pow, published on 9 Jan 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In Pow (Hex package) before 1.0.16, the use of Plug.Session in Pow.Plug.Session is susceptible to session fixation attacks if a persistent session store is used for Plug.Session, such as Redis or a database. Cookie store, which is used in most Phoenix apps, doesn't have this vulnerability.

Weakness: CWE-384

Which versions are affected by CVE-2020-5205?

2 open source packages ship an affected version, including pow. It affects 1 product.

PackageAffectedFixed in
pow HexAll versions1.0.16
pow HexAll versions1.0.16

Products include Powauth Pow.

How do I fix CVE-2020-5205?

Upgrade pow to 1.0.16 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2020-5205 being exploited?

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

Sources

Also known as GHSA-v2wf-c3j6-wpvw.

Is CVE-2020-5205 in your software?

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

Check your SBOMs for free