{"id":"CVE-2020-5205","aliases":["CVE-2020-5205","GHSA-v2wf-c3j6-wpvw"],"related":[],"kind":"vulnerability","state":"published","title":"Session fixation attack in Pow (Hex package)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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.\n\n### Workarounds\n\nCall `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.\n\n### References\nhttps://github.com/danschultzer/pow/commit/578ffd3d8bb8e8a26077b644222186b108da474f  \nhttps://www.owasp.org/index.php/Session_fixation","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Pow (paquete Hex) versiones anteriores a 1.0.16, el uso de Plug.Session en Pow.Plug.Session es susceptible a ataques de fijación de sesión si un almacén de sesión persistente es utilizado para Plug.Session, tal y como Redis o una base de datos. La tienda de cookies, que es usada en la mayoría de las aplicaciones de Phoenix, no posee esta vulnerabilidad.","source":"nvd"}],"published":"2020-01-09T02:05:14.000Z","modified":"2026-07-08T06:00:57.326Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-384"],"affected":[{"ranges":[{"version":"< 1.0.16","status":"affected"}],"vendor":"danschultzer","product":"Pow","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.16"}],"ecosystem":"Hex","package":"pow","purl":"pkg:hex/pow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.16"}],"vendor":"powauth","product":"pow","cpe":"cpe:2.3:a:powauth:pow:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/danschultzer/pow/security/advisories/GHSA-v2wf-c3j6-wpvw","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/danschultzer/pow/commit/578ffd3d8bb8e8a26077b644222186b108da474f","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/danschultzer/pow/blob/master/CHANGELOG.md#v1016-2020-01-07","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5205","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/danschultzer/pow","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-5205","url":"https://www.cve.org/CVERecord?id=CVE-2020-5205","licence":"CVE Terms of Use","modified":"2024-08-04T08:22:08.880Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v2wf-c3j6-wpvw","url":"https://github.com/advisories/GHSA-v2wf-c3j6-wpvw","licence":"CC-BY-4.0","modified":"2026-07-08T06:00:57.326Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-5205","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5205","licence":"Public domain","modified":"2026-06-17T03:21:01.277Z"}],"updatedAt":"2026-11-25T22:57:50.497Z","epss":{"score":0.0077,"percentile":0.56847,"date":"2026-12-01T12:00:22.000Z"}}