{"id":"CVE-2024-4498","aliases":["CVE-2024-4498"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal and RFI Vulnerability in parisneo/lollms-webui","summary":"A Path Traversal and Remote File Inclusion (RFI) vulnerability exists in the parisneo/lollms-webui application, affecting versions v9.7 to the latest. The vulnerability arises from insufficient input validation in the `/apply_settings` function, allowing an attacker to manipulate the `discussion_db_name` parameter to traverse the file system and include arbitrary files. This issue is compounded by the bypass of input filtering in the `install_binding`, `reinstall_binding`, and `unInstall_binding` endpoints, despite the presence of a `sanitize_path_from_endpoint(data.name)` filter. Successful exploitation enables an attacker to upload and execute malicious code on the victim's system, leading to Remote Code Execution (RCE).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A Path Traversal and Remote File Inclusion (RFI) vulnerability exists in the parisneo/lollms-webui application, affecting versions v9.7 to the latest. The vulnerability arises from insufficient input validation in the `/apply_settings` function, allowing an attacker to manipulate the `discussion_db_name` parameter to traverse the file system and include arbitrary files. This issue is compounded by the bypass of input filtering in the `install_binding`, `reinstall_binding`, and `unInstall_binding` endpoints, despite the presence of a `sanitize_path_from_endpoint(data.name)` filter. Successful exploitation enables an attacker to upload and execute malicious code on the victim's system, leading to Remote Code Execution (RCE).","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de Path Traversal e inclusión remota de archivos (RFI) en la aplicación parisneo/lollms-webui, que afecta a las versiones v9.7 hasta la última. La vulnerabilidad surge de una validación de entrada insuficiente en la función `/apply_settings`, lo que permite a un atacante manipular el parámetro `discussion_db_name` para atravesar el sistema de archivos e incluir archivos arbitrarios. Este problema se ve agravado por la omisión del filtrado de entrada en los endpoints `install_binding`, `reinstall_binding` y `unInstall_binding`, a pesar de la presencia de un filtro `sanitize_path_from_endpoint(data.name)`. La explotación exitosa permite a un atacante cargar y ejecutar código malicioso en el sistema de la víctima, lo que lleva a la ejecución remota de código (RCE).","source":"nvd"}],"published":"2024-06-25T19:55:42.340Z","modified":"2026-06-17T08:01:59.953Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"parisneo","product":"parisneo/lollms-webui","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"9.7","lastAffected":"*","status":"affected"}],"vendor":"parisneo","product":"lollms-webui","cpe":"cpe:2.3:a:parisneo:lollms-webui:9.7:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"9.7"}],"vendor":"lollms","product":"lollms_web_ui","cpe":"cpe:2.3:a:lollms:lollms_web_ui:9.7:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/9238e88a-a6ca-4915-9b5d-6cdb4148d3f4","tags":["exploit","issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-06-26T13:36:41.311Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-4498","url":"https://www.cve.org/CVERecord?id=CVE-2024-4498","licence":"CVE Terms of Use","modified":"2024-08-01T20:40:47.296Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-4498","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4498","licence":"Public domain","modified":"2026-06-17T08:01:59.953Z"}],"updatedAt":"2026-11-25T22:58:42.233Z","epss":{"score":0.00489,"percentile":0.43663,"date":"2026-12-01T12:00:22.000Z"}}