CVE-2023-46745: Librenms/librenms LibreNMS Vulnerable To Rate Limiting Vulnerability
MODERATECVE-2023-46745 is a MODERATE (CVSS 5.3) librenms vulnerable to rate limiting vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Librenms/librenms libraries in the Packagist ecosystem. The issue involves librenms vulnerable to rate limiting bypass on login page. Remediation is available by upgrading affected packages to version 23.11.0.
CVE-2023-46745 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2023-46745
To remediate this vulnerability, upgrade all affected Librenms/librenms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade librenms/librenms to 23.11.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for librenms/librenms
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-46745, inspect your project dependencies for Librenms/librenms:
inspect dependencies for librenms/librenms
Analyze the terminal output to locate any version of Librenms/librenms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 23.11.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Librenms/librenms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-46745 Affected Librenms/librenms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
librenms/librenms
|
Packagist |
< 23.11.0
|
23.11.0
|
References
Frequently Asked Questions
What is CVE-2023-46745?
Which Librenms/librenms versions are affected?
What version fixes CVE-2023-46745?
Is librenms/librenms affected?
What is the CVSS score of CVE-2023-46745?
What CWE is associated with CVE-2023-46745?
How can I check Packagist dependencies for CVE-2023-46745?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rq42-58qf-v3qx",
"modified" : "2023-11-20T22:06:37Z",
"published" : "2023-11-17T21:38:42Z",
"aliases" : [ "CVE-2023-46745" ],
"summary" : "LibreNMS vulnerable to rate limiting bypass on login page",
"details" : "### Summary\nApplication is using two login methods and one of them is using GET request for authentication. There is no rate limiting security feature at GET request or backend is not validating that. \n\n### PoC\nGo to /?username=admin&password=password&submit=\nCapture request in Burpsuite intruder and add payload marker at password parameter value.\nStart the attack after adding your password list\nWe have added 74 passwords\nCheck screenshot for more info\n<img width=\"1241\" alt=\"Screenshot 2023-11-06 at 8 55 19 PM\" src=\"https://user-images.githubusercontent.com/31764504/280905148-42274f1e-f869-4145-95b4-71c0bffde3a0.png\">\n\n### Impact\nAn attacker can Bruteforce user accounts and using GET request for authentication is not recommended because certain web servers logs all requests in old logs which can also store victim user credentials.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "librenms/librenms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "23.11.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/librenms/librenms/security/advisories/GHSA-rq42-58qf-v3qx"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-46745"
}, {
"type" : "WEB",
"url" : "https://github.com/librenms/librenms/pull/15558"
}, {
"type" : "WEB",
"url" : "https://github.com/librenms/librenms/commit/7c006e96251ae1d32e1a015b361a7bfbb815c028"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/librenms/librenms"
}, {
"type" : "WEB",
"url" : "https://github.com/librenms/librenms/releases/tag/23.11.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-307", "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-17T21:38:42Z",
"nvd_published_at" : "2023-11-17T22:15:07Z"
}
}