Medium severity · published Nov 20, 2022
CVE-2022-4068
Improperly Controlled Modification of Dynamically-Determined Object Attributes in librenms/librenms
5.4
CVSS
37.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)37.5% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
librenms/librenms · librenms
before 22.10.0 · source: vendor
LI
Librenms · Librenms
before 22.10.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-4068
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-4068
Patch
https://github.com/librenms/librenms/commit/09a2977adb8bc4b1db116c725d661160c930d3a1
Exploit
https://huntr.dev/bounties/becfecc4-22a6-4f94-bf83-d6030b625fdc
More from librenms/librenms
9.8
CVE-2022-4070
Insufficient Session Expiration in librenms/librenms
8.8
CVE-2022-3525
Deserialization of Untrusted Data in librenms/librenms
8.8
CVE-2022-0580
Incorrect Authorization in librenms/librenms
6.5
CVE-2023-5591
SQL Injection in librenms/librenms
6.5
CVE-2022-0588
Missing Authorization in librenms/librenms
