The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-5328

CVE-2024-5328: Lunary Application SSRF Vulnerability

CVE-2024-5328 is a Server-Side Request Forgery flaw in Lunary's SAML authentication endpoint that enables attackers to make unauthorized internal requests. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-5328 Overview

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.

Critical Impact

This SSRF vulnerability allows unauthenticated attackers to make unauthorized requests to internal services and external resources, potentially exposing sensitive internal data and enabling further network attacks.

Affected Products

  • Lunary (all versions as of the vulnerability report)
  • lunary-ai/lunary application with SAML authentication enabled

Discovery Timeline

  • 2024-06-06 - CVE-2024-5328 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-5328

Vulnerability Analysis

This Server-Side Request Forgery (SSRF) vulnerability exists in the SAML authentication flow of the Lunary application. The vulnerable endpoint /auth/saml/tto/download-idp-xml is designed to download Identity Provider (IdP) metadata XML files during SAML configuration. However, the application fails to properly validate or sanitize the URL parameter supplied by users before making server-side HTTP requests.

The lack of URL validation allows attackers to abuse the server as a proxy to reach internal services that would otherwise be inaccessible from external networks. This includes internal APIs, cloud metadata services (such as AWS EC2 metadata at 169.254.169.254), internal databases, and other backend infrastructure components.

Root Cause

The root cause of this vulnerability is improper input validation (CWE-918). The application accepts user-controlled URL input and directly uses it to make server-side HTTP requests without implementing necessary security controls such as:

  • URL scheme validation (allowing only HTTPS)
  • Domain allowlisting for trusted IdP providers
  • Blocking of private IP ranges and localhost addresses
  • Blocking of cloud metadata service endpoints

Attack Vector

The vulnerability is exploitable over the network without authentication. An attacker can craft a malicious request to the /auth/saml/tto/download-idp-xml endpoint, substituting the legitimate IdP URL with an internal resource URL or external target of their choosing. The server then makes the request on behalf of the attacker and returns the response, effectively bypassing network segmentation and firewall controls.

The attack can be used to:

  • Access internal services and APIs not exposed to the internet
  • Retrieve cloud metadata credentials (AWS, GCP, Azure)
  • Scan internal network ports and services
  • Exfiltrate sensitive configuration data
  • Potentially pivot to further attacks within the internal network

Detection Methods for CVE-2024-5328

Indicators of Compromise

  • Unusual outbound HTTP requests from the Lunary application server to internal IP ranges (10.x.x.x, 172.16.x.x, 192.168.x.x)
  • Requests to cloud metadata endpoints (169.254.169.254) originating from the application
  • Abnormal access patterns to the /auth/saml/tto/download-idp-xml endpoint
  • HTTP requests with localhost or internal hostnames as URL parameters in SAML configuration endpoints

Detection Strategies

  • Monitor web application logs for requests to /auth/saml/tto/download-idp-xml with suspicious URL parameters containing internal IP addresses or non-standard domains
  • Implement network-level monitoring to detect outbound connections from the Lunary server to internal infrastructure or cloud metadata services
  • Configure WAF rules to detect SSRF patterns in URL parameters, including private IP ranges and metadata service addresses
  • Review authentication logs for anomalous SAML configuration attempts

Monitoring Recommendations

  • Enable detailed logging for all SAML-related endpoints in the Lunary application
  • Set up alerts for any requests to the vulnerable endpoint containing URLs pointing to private IP ranges or localhost
  • Monitor DNS queries from the application server for resolution of internal hostnames or suspicious external domains
  • Implement egress filtering and log all outbound connections from the application server

How to Mitigate CVE-2024-5328

Immediate Actions Required

  • Restrict access to the /auth/saml/tto/download-idp-xml endpoint to authenticated administrators only
  • Implement network-level egress filtering to prevent the application server from making requests to internal IP ranges
  • Consider disabling SAML authentication temporarily if not required until a patch is available
  • Apply Web Application Firewall (WAF) rules to block requests with suspicious URL parameters

Patch Information

Users should monitor the lunary-ai/lunary GitHub repository and official channels for security updates addressing this SSRF vulnerability. For detailed information about this vulnerability, see the Huntr Bug Bounty Report.

Workarounds

  • Implement a reverse proxy or WAF in front of the Lunary application that validates and filters URL parameters before they reach the application
  • Configure firewall rules to block outbound connections from the Lunary application server to internal network ranges (RFC 1918 addresses) and cloud metadata services
  • Deploy network segmentation to isolate the Lunary application from sensitive internal services
  • If SAML is required, manually configure IdP metadata rather than using the automatic download feature

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechLunary

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-918
  • Technical References
  • Huntr Bug Bounty Report
  • Related CVEs
  • CVE-2024-5386: Lunary Auth Bypass Vulnerability

  • CVE-2025-5352: Lunary Analytics Stored XSS Vulnerability

  • CVE-2024-9095: Lunary Information Disclosure Vulnerability

  • CVE-2024-7475: Lunary Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English