CVE-2020-5205 Session fixation attack in Pow (Hex package)
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.
| Package | Affected | Fixed in |
|---|---|---|
pow Hex | All versions | 1.0.16 |
pow Hex | All versions | 1.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.
Other vulnerabilities in danschultzer Pow
Sources
Also known as GHSA-v2wf-c3j6-wpvw.