Vulnerability · Published Nov 20, 2022 · Assigned by @huntrdev
CVE-2022-4068Improperly Controlled Modification of Dynamically-Determined Object Attributes in librenms/librenms
High 7.6
In plain English
A high-severity security flaw in librenms/librenms from librenms. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 37.5% (higher than 99% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | librenms/librenms | 22.10.0 | GHSA-f3hw-3h74-wr98 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| librenms | librenms/librenms | unspecified – before 22.10.0 |
Weakness: CWE-915 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L