CVE-2022-4068

Improperly Controlled Modification of Dynamically-Determined Object Attributes in librenms/librenms

State
Published
Severity
7.6 High
Published
Nov 20, 2022
Updated
Apr 25, 2025
Reserved
Nov 20, 2022

Read the record on cve.org

Description

A user is able to enable their own account if it was disabled by an admin while the user still holds a valid session. Moreover, the username is not properly sanitized in the admin user overview. This enables an XSS attack that enables an attacker with a low privilege user to execute arbitrary JavaScript in the context of an admin's account.

Scores

CVSSScoreVectorSource
3.07.6 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L@huntrdev

Weaknesses

  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes

Affected Products

ProductVersions
librenms/librenmslibrenms
  • before 22.10.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.