PolarLearn is a free and open-source learning program. In 0-PRERELEASE-15 and earlier, POST /api/v1/auth/sign-in creates a valid session for banned accounts before verifying the supplied password. That session is then accepted across authenticated /api routes, enabling account data access and authenticated actions as the banned user.
Calling a POST request to /api/v1/auth/sign-in causes the server to first generate and return a valid session for the banned account, and only in the next step verify the supplied password. However, this session is accepted by all protected routes /api before password verification even occurs. As a result, an attacker can obtain a valid session token without knowing the correct password, which is a classic authorization error case (CWE-287).
An attacker can gain unauthorized access to user account data and perform authenticated operations in the application by impersonating a banned account without knowing its password.
Apply patches available from the vendor according to references (https://github.com/polarnl/PolarLearn/security/advisories/GHSA-9vx4-7ww7-4cf5). It is recommended to update to a version newer than 0-PRERELEASE-15 and temporarily restrict access to the /api/v1/auth/sign-in endpoint if immediate updating is not possible.
PolarLearn version 0-PRERELEASE-15 and all earlier pre-release versions.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XPolarlearn
APPPolarlearnall versions
Related vulnerabilities
PolarLearn: brak uwierzytelnienia w WebSocket czatu grupowego
PolarLearn is a free and open-source learning program. In 0-PRERELEASE-14 and earlier, setCustomPassword(userI...
PolarLearn is a free and open-source learning program. Prior to version 0-PRERELEASE-15, the vote API route (`...
PolarLearn to darmowy i otwarty program edukacyjny. W wersji 0-PRERELEASE-15 i wcześniejszych, luka timing att...
PolarLearn to darmowy program edukacyjny o otwartym kodzie źródłowym. W wersji 0-PRERELEASE-15 i wcześniejszyc...