Vulnerabilities · 2024 · Mudler
CVE-2024-48057
Mudler Localai vulnerability
localai <=2.20.1 is vulnerable to Cross Site Scripting (XSS). When calling the delete model API and passing inappropriate parameters, it can cause a one-time storage XSS, which will trigger the payload when a user accesses the homepage.
Affected products
Localai. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mudler Localai runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/AfterSnows/1bd7ee5a3a42dbb5f5ff67f7f9c8ccec · Third Party Advisory
- rumbling-slice-eb0.notion.site/LocalAI-deleted-model-with-storage-XSS-CSRF-vulnerability-i · Exploit
- nvd.nist.gov/vuln/detail/CVE-2024-48057
- github.com/mudler/LocalAI/blob/master/core/http/views/index.html#L75
- github.com/advisories/GHSA-ghx4-cgxw-7h9p
- github.com/mudler/localai/commit/a1634b219a4e52813e70ff07e6376a01449c4515
- nvd.nist.gov/vuln/detail/CVE-2024-48057
- cve.org/CVERecord?id=CVE-2024-48057
More vulnerabilities in Mudler products
CVE-2024-9900CVE-2024-7010CVE-2024-6983CVE-2024-6868CVE-2024-6095CVE-2024-5616CVE-2024-5182CVE-2024-5181All 11
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.