{"id":"CVE-2020-5205","published":"2020-01-09T02:05:14Z","modified":"2024-08-04T08:22:08Z","title":"Session fixation attack in Pow (Hex package)","vendor":"danschultzer","product":"Pow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0077,"percentile":0.56545,"provenance":"source"},"cwes":[{"id":"CWE-384","name":"Session Fixation"}],"references":[{"url":"https://github.com/danschultzer/pow/security/advisories/GHSA-v2wf-c3j6-wpvw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/danschultzer/pow/commit/578ffd3d8bb8e8a26077b644222186b108da474f","tags":["x_refsource_MISC"]},{"url":"https://github.com/danschultzer/pow/blob/master/CHANGELOG.md#v1016-2020-01-07","tags":["x_refsource_MISC"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":11.31},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"danschultzer","affectedVersions":[{"vendor":"danschultzer","product":"Pow","versions":["< 1.0.16"]}],"workarounds":{"items":["Call Plug.Conn.configure_session(conn, renew: true) periodically and after privilege change. A custom authorization plug can be written where the create/3 method should return the conn only after Plug.Conn.configure_session/2 have been called on it."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"pow","vulnerableRanges":["<1.0.16"],"patched":["1.0.16"],"from":["GHSA-v2wf-c3j6-wpvw"],"provenance":"source"}],"summary":{"text":"Pow, an Elixir (Hex package) authentication library, contains a session fixation flaw in its Pow.Plug.Session component, which uses Plug.Session. An attacker can exploit it when the application uses a persistent session store such as Redis or a database, with the attack requiring low privileges, a user to interact with the site, and a high-complexity attack condition; apps using the cookie store, common in Phoenix, are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:57Z"},"euvd":{"id":"EUVD-2022-1831","exploited":false,"provenance":"source"}}