PT-2020-18302

CVE-2020-5205

·

Published

2020-01-09

·

Updated

2022-04-12

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions Pow (Hex package) versions prior to 1.0.16
Description 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. This issue does not affect the cookie store, which is commonly used in Phoenix apps.
Recommendations For versions prior to 1.0.16, call Plug.Conn.configure session(conn, renew: true) periodically and after privilege change to mitigate the issue. Consider writing a custom authorization plug where the create/3 method returns the conn only after Plug.Conn.configure session/2 has been called on it. Update to version 1.0.16 or later to resolve the issue.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-V2WF-C3J6-WPVW
Found an issue in the description? Have something to add? Feel free to write us 👾