CVE-2022-4068 in the critical feed json
Improperly Controlled Modification of Dynamically-Determined Object Attributes in librenms/librenms
published 2022-11-20 3 y ago modified 2026-06-17 4 mo ago also GHSA-f3hw-3h74-wr98 , EUVD-2022-7322
- cvss
- 7.6
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 37.5%
- EPSS 37.5% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist librenms/librenms 22.10.0
- librenms librenms/librenms 22.10.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
37.55% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/becfecc4-22a6-4f94-bf83-d6030b625fdc referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.6 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.0 | 7.6 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | librenms/librenms | <22.10.0 |
22.10.0 |
Affected products
- librenms librenms/librenms
Classification
References
-
github.com
/librenms/librenms/commit/09a2977adb8bc4b1db116c725d661160c930d3a1
web, patch, third-party-advisory
-
huntr.dev
/bounties/becfecc4-22a6-4f94-bf83-d6030b625fdc
web, exploit, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-4068
advisory
-
github.com
/librenms/librenms
package
Sources
- CVE List CVE-2022-4068
- GitHub Advisory GHSA-f3hw-3h74-wr98
- NVD CVE-2022-4068
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.