🛡️ CVE-2022-4068 — librenms
Description
Cross-site Scripting in librenms/librenms
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability none.
Weakness class
CVE-2022-4068 is classified as CWE-915: Improperly Controlled Modification of Object Attributes. A request can set object fields that were never meant to be writable from outside.
Affected software
CVE-2022-4068 is recorded against 2 packages.
- librenms (fixed in 22.10.0)
- librenms/librenms (fixed in 22.10.0)
Timeline and source
Published on 20 November 2022 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from NVD.
References
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| librenms | — | 22.10.0 |
| librenms/librenms | — | 22.10.0 |
References
Similar Threats
- Medium CVE-2022-3516
- High CVE-2022-3525
- Medium CVE-2022-3561
- Medium CVE-2022-3562
- Medium CVE-2022-4067
More CVE 2022 advisories
Browse all of CVE 2022 in the advisory index.
Exploit Protection
Are you running librenms?
CVE-2022-4068 carries CVSS 8.0 High rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For CVE-2022-4068 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.