PT-2020-18302
CVE-2020-5205
·
تاريخ النشر
2020-01-09
·
تاريخ التحديث
2022-04-12
الوصف من
CVSS 3.1
6.5
متوسطةالمقاييسAV: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. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾