{"id":76127,"date":"2026-02-02T14:06:23","date_gmt":"2026-02-02T10:36:23","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2024-2356-remote-code-execution-due-to-lfi-in-reinstall_extension-in-parisneo-lollms-webui\/"},"modified":"2026-02-02T14:06:23","modified_gmt":"2026-02-02T10:36:23","slug":"cve-2024-2356-remote-code-execution-due-to-lfi-in-reinstall_extension-in-parisneo-lollms-webui","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2024-2356-remote-code-execution-due-to-lfi-in-reinstall_extension-in-parisneo-lollms-webui\/","title":{"rendered":"CVE-2024-2356 &#8211; Remote Code Execution due to LFI in &#8216;\/reinstall_extension&#8217; in parisneo\/lollms-webui"},"content":{"rendered":"<p>CVE ID : CVE-2024-2356<\/p>\n<p>Published :  Feb. 2, 2026, 10:36 a.m. | 39\u00a0minutes ago<\/p>\n<p>Description : A Local File Inclusion (LFI) vulnerability exists in the &#8216;\/reinstall_extension&#8217; endpoint of the parisneo\/lollms-webui application, specifically within the `name` parameter of the `@router.post(&#8220;\/reinstall_extension&#8221;)` route. This vulnerability allows attackers to inject a malicious `name` parameter, leading to the server loading and executing arbitrary Python files from the upload directory for discussions. This issue arises due to the concatenation of `data.name` directly with `lollmsElfServer.lollms_paths.extensions_zoo_path` and its use as an argument for `ExtensionBuilder().build_extension()`. The server&#8217;s handling of the `__init__.py` file in arbitrary locations, facilitated by `importlib.machinery.SourceFileLoader`, enables the execution of arbitrary code, such as command execution or creating a reverse-shell connection. This vulnerability affects the latest version of parisneo\/lollms-webui and can lead to Remote Code Execution (RCE) when the application is exposed to an external endpoint or the UI, especially when bound to `0.0.0.0` or in `headless mode`. No user interaction is required for exploitation.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2024-2356 Published : Feb. 2, 2026, 10:36 a.m. | 39\u00a0minutes ago Description : A Local File Inclusion (LFI) vulnerability exists in the &#8216;\/reinstall_extension&#8217; endpoint of the parisneo\/lollms-webui application, specifically within the `name` parameter of the `@router.post(&#8220;\/reinstall_extension&#8221;)` route. This vulnerability allows attackers to inject a malicious `name` parameter, leading to the server loading &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-76127","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/76127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=76127"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/76127\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=76127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=76127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=76127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}