CVE-2024-4084

A Server-Side Request Forgery (SSRF) vulnerability exists in the latest version of mintplex-labs/anything-llm, allowing attackers to bypass the official fix intended to restrict access to intranet IP addresses and protocols. Despite efforts to filter out intranet IP addresses starting with 192, 172, 10, and 127 through regular expressions and limit access protocols to HTTP and HTTPS, attackers can still bypass these restrictions using alternative representations of IP addresses and accessing other ports running on localhost. This vulnerability enables attackers to access any asset on the internal network, attack web services on the internal network, scan hosts on the internal network, and potentially access AWS metadata endpoints. The vulnerability is due to insufficient validation of user-supplied URLs, which can be exploited to perform SSRF attacks.
References
Link Resource
https://huntr.com/bounties/bf44517e-a07d-4f54-89b4-3b05fca2a008 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*

History

11 Jun 2024, 16:44

Type Values Removed Values Added
References () https://huntr.com/bounties/bf44517e-a07d-4f54-89b4-3b05fca2a008 - () https://huntr.com/bounties/bf44517e-a07d-4f54-89b4-3b05fca2a008 - Exploit, Third Party Advisory
CPE cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*
Summary
  • (es) Existe una vulnerabilidad de server-side request forgery (SSRF) en la última versión de mintplex-labs/anything-llm, lo que permite a los atacantes eludir la solución oficial destinada a restringir el acceso a las direcciones IP y protocolos de la intranet. A pesar de los esfuerzos por filtrar las direcciones IP de la intranet que comienzan con 192, 172, 10 y 127 mediante expresiones regulares y limitar los protocolos de acceso a HTTP y HTTPS, los atacantes aún pueden eludir estas restricciones utilizando representaciones alternativas de direcciones IP y accediendo a otros puertos que se ejecutan en localhost. Esta vulnerabilidad permite a los atacantes acceder a cualquier activo en la red interna, atacar servicios web en la red interna, escanear hosts en la red interna y potencialmente acceder a puntos finales de metadatos de AWS. La vulnerabilidad se debe a una validación insuficiente de las URL proporcionadas por el usuario, que pueden explotarse para realizar ataques SSRF.
CVSS v2 : unknown
v3 : 7.7
v2 : unknown
v3 : 7.5
First Time Mintplexlabs
Mintplexlabs anythingllm

05 Jun 2024, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-05 00:15

Updated : 2024-06-11 16:44


NVD link : CVE-2024-4084

Mitre link : CVE-2024-4084

CVE.ORG link : CVE-2024-4084


JSON object : View

Products Affected

mintplexlabs

  • anythingllm
CWE
CWE-918

Server-Side Request Forgery (SSRF)