GitHub Advisoryadvisory · npm

GHSA-8hw9-22v6-9jr9 Any logged in user could edit any other logged in user.

HIGH Published 2021-04-19 Modified 2021-04-16 Official page ↗
Aliases
CVE-2021-29452
Ecosystem
npm
Packages
@curveball/a12n-server
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-269, CWE-863
Reviewed
2021-04-16

Affected packages

• npm @curveball/a12n-server: >= 0.18.0, < 0.18.2 → fixed in 0.18.2

Description

Impact Everyone who is running a12n-server. A new HAL-Form was added to allow editing users. This feature should only have been accessible to admins. Unfortunately, privileges were incorrectly checked allowing any logged in user to make this change. Patches Patched in v0.18.2

Related

Alias · CVE (1)

  • CVE-2021-29452 a12n-server is an npm package which aims to provide a simple authentication system. vulnerability

Weakness · CWE (2)

  • CWE-269 Improper Privilege Management weakness
  • CWE-863 Incorrect Authorization weakness

References