Note Mark: OIDC-registered users authenticated by submitting password "null"
enchant97 note-mark
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/enchant97/note-mark/backend Go |
|
|
Original description
Note Mark is an open-source note-taking application. In version 0.19.2, IsPasswordMatch in backend/db/models.go falls back to a hard-coded bcrypt("null") placeholder whenever a user has no stored password. OIDC-registered users are created with an empty password, so anyone who submits password: "null" to the internal login endpoint receives a valid session for that user. The bypass is unauthenticated and requires no user interaction. This issue has been patched in version 0.19.3.
From the CVE record · GitHub_M