CVE Vulnerabilities

CVE-2024-4286

Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

Published: May 26, 2024 | Modified: May 26, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

Mintplex-Labs anything-llm application is vulnerable to improper neutralization of special elements used in an expression language statement, identified in the commit id 57984fa85c31988b2eff429adfc654c46e0c342a. The vulnerability arises from the applications handling of user modifications by managers or admins, allowing for the modification of all existing attributes of the user database entity without proper checks or sanitization. This flaw can be exploited to delete user threads, denying users access to their previously submitted data, or to inject fake threads and/or chat history for social engineering attacks.

Weakness

The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.

Potential Mitigations

  • If user-controlled data must be added to an expression interpreter, one or more of the following should be performed:

References