Submit #1083875: NocoBase 2.2.33 Open Redirectinfo

TitelNocoBase 2.2.33 Open Redirect
BeschreibungUnauthenticated Password-Reset baseURL Open Redirect Enables Account Takeover in NocoBase 2.2.33 NocoBase 2.2.33 public forgot-password action (auth:lostPassword in @nocobase/plugin-auth) takes values.baseURL from the unauthenticated request body and concatenates it into the genuine password-reset email as ${baseURL}/reset-password?resetToken=<JWT>&name=<authenticator>. There is no host allowlist and no comparison against a trusted public origin (APP_PUBLIC_PATH or equivalent). An anonymous caller who knows a registered email can therefore place that account's reset bearer on an origin they control. When the recipient opens the link, the resetToken query credential lands on the attacker host; the attacker then calls public auth:resetPassword and replaces the password (account takeover, including root if that mailbox is targeted). Component: @nocobase/plugin-auth — BasicAuth.lostPassword / BasicAuth.resetPassword Vendor site: https://www.nocobase.com/ Attack prerequisites: forgot-password enabled on the basic authenticator and a working email notification channel; attacker knows a registered email; victim opens the reset link before token expiry. No authentication required to trigger the poisoned email. Impact: account takeover of the targeted mailbox without knowing the current password. Privilege delta: anonymous network client who knows an email → full control of that NocoBase user (up to root/admin if that account is chosen). This is not remote code execution; impact is authentication and account integrity. Recommended fix: do not trust client baseURL when building reset links; build the URL from a server-configured public origin, or validate any client-supplied base against an administrator-managed allowlist of trusted origins and reject anything else. Suggested CVSS 3.1: AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N (8.1 High) Full write-up with Burp screenshots and Mailpit evidence: https://gist.github.com/DReazer/6fac7b97ad48bc97b8c304795b0a860f
Quelle⚠️ https://gist.github.com/DReazer/6fac7b97ad48bc97b8c304795b0a860f
Benutzer
 Snkn0w (UID 90071)
Einreichung10.11.2026 04:05 (vor 24 Tagen)
Moderieren04.12.2026 09:26 (24 days later)
StatusAkzeptiert
VulDB Eintrag449625 [NocoBase bis 2.2.45 basic-auth.ts BasicAuth.lostPassword baseURL Redirect]
Punkte20

Might our Artificial Intelligence support you?

Check our Alexa App!