CRITICAL🇵🇱 Wersja polska

CVE-2024-5328

CVSS 9.3v3.1pub. 2024-06-06upd. 2024-11-21

A Server-Side Request Forgery (SSRF) vulnerability exists in the lunary-ai/lunary application, specifically within the endpoint '/auth/saml/tto/download-idp-xml'. The vulnerability arises due to the application's failure to validate user-supplied URLs before using them in server-side requests. An attacker can exploit this vulnerability by sending a specially crafted request to the affected endpoint, allowing them to make unauthorized requests to internal or external resources. This could lead to the disclosure of sensitive information, service disruption, or further attacks against the network infrastructure. The issue affects the latest version of the application as of the report.

🤖 AI Analysis
How it works

The vulnerability results from the lack of validation of URLs supplied by the user before their use in server-side requests. The attacker sends a specially crafted request to the endpoint responsible for retrieving the XML configuration file of the identity provider (IdP) as part of SAML integration. The server, without verification, executes an HTTP request to the address specified by the attacker, allowing access to resources that are not directly accessible from the outside – including internal network services, cloud environment metadata, and other infrastructure components.

Impact

An attacker can gain access to sensitive information from internal infrastructure (e.g., cloud instance metadata, access tokens, service configurations), cause service disruptions, or prepare the ground for further attacks on the internal network (lateral movement).

Mitigation & patch

Patches available from the vendor should be applied according to the references. It is also recommended to implement URL validation and filtering on the server side (allowlisting of permitted hosts) and restrict outgoing network connections from the application server to the required minimum.

Who is affected

The latest version of the Lunary application (lunary-ai/lunary) available at the time of vulnerability report – versions indicated in the vendor's references.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
  • Lunary

    APP
    Lunary
    all versions
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
SSRF
CWE
References

Related vulnerabilities

CVE-2025-5352CRITICAL9.6PL ✓same product

Stored XSS w Lunary — wstrzyknięcie skryptu przez zmienną środowiskową

CVE-2024-9095CRITICAL9.8PL ✓same product

Brak kontroli dostępu w API BigQuery — eksport całej bazy danych w Lunary

CVE-2024-7456CRITICAL9.8PL ✓same product

SQL Injection w trasie /api/v1/external-users aplikacji Lunary

CVE-2024-7475CRITICAL9.1PL ✓same product

Lunary: brak kontroli dostępu do konfiguracji SAML (nieautoryzowana zmiana)

CVE-2024-4146CRITICAL9.8PL ✓same product

Błąd autoryzacji w Lunary umożliwiający pełny dostęp do projektów