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
    • 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-45440

CVE-2024-45440: Drupal Path Disclosure Vulnerability

CVE-2024-45440 is an information disclosure flaw in Drupal that exposes full path details through authorize.php. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2024-45440 Overview

CVE-2024-45440 is an Information Disclosure vulnerability affecting Drupal's core/authorize.php component. The vulnerability allows Full Path Disclosure when the hash_salt configuration is set to use file_get_contents() on a file that does not exist. This occurs even when error logging is explicitly disabled, potentially exposing sensitive server path information to attackers.

Critical Impact

Attackers can obtain full server path information which may be leveraged to facilitate further attacks, including targeted exploitation of other vulnerabilities that require knowledge of the application's file system structure.

Affected Products

  • Drupal 11.x-dev
  • Drupal Drupal (version 2023-05-09)

Discovery Timeline

  • 2024-08-29 - CVE CVE-2024-45440 published to NVD
  • 2025-04-21 - Last updated in NVD database

Technical Details for CVE-2024-45440

Vulnerability Analysis

This vulnerability stems from improper error handling in Drupal's authorization subsystem. When the hash_salt configuration directive is configured to retrieve its value from a file using PHP's file_get_contents() function, and the specified file does not exist, Drupal fails to properly suppress error messages. This results in the full server path being disclosed in error output, regardless of the site's error logging configuration settings.

The information disclosure vulnerability (CWE-209) bypasses Drupal's error suppression mechanisms, creating an unintended information leakage channel. An exploit for this vulnerability is publicly available on Exploit-DB, increasing the risk of opportunistic attacks.

Root Cause

The root cause lies in the error handling logic within core/authorize.php. When hash_salt is configured with a file_get_contents() call pointing to a non-existent file, PHP generates a warning or error that includes the full filesystem path. Drupal's error suppression settings (even when set to "None") do not intercept this specific error condition, allowing the path information to leak to the client response.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can remotely trigger this vulnerability by accessing the core/authorize.php endpoint when the misconfiguration exists. The attacker does not need any special privileges to exploit this flaw—simply sending a request to the vulnerable endpoint is sufficient to receive path disclosure information in the response.

The disclosed path information can be combined with other vulnerabilities to mount more sophisticated attacks, such as Local File Inclusion or targeted exploitation of known vulnerabilities in specific directory structures.

Detection Methods for CVE-2024-45440

Indicators of Compromise

  • Unusual or repeated requests to /core/authorize.php from unknown sources
  • Error responses containing full filesystem paths in server logs or client responses
  • Evidence of reconnaissance activity targeting Drupal configuration endpoints

Detection Strategies

  • Monitor web server access logs for repeated requests to core/authorize.php
  • Implement Web Application Firewall (WAF) rules to detect and alert on path disclosure patterns in HTTP responses
  • Review Drupal configuration files for hash_salt settings using file_get_contents() with potentially missing files

Monitoring Recommendations

  • Enable comprehensive logging for all requests to Drupal core authorization endpoints
  • Configure alerting for HTTP responses containing filesystem path patterns (e.g., /var/www/, /home/, Windows drive letters)
  • Regularly audit Drupal settings.php for secure hash_salt configuration practices

How to Mitigate CVE-2024-45440

Immediate Actions Required

  • Review and update the hash_salt configuration in settings.php to use a static string value rather than file_get_contents()
  • Ensure any file referenced by hash_salt exists and is readable by the web server
  • Implement a Web Application Firewall rule to filter responses containing path information
  • Restrict access to core/authorize.php if not required for your deployment

Patch Information

Drupal has acknowledged this issue in Issue #3457781. Administrators should monitor the official Drupal security advisories and apply patches when available. Additional technical details about this vulnerability are available from Sens Cybersecurity.

Workarounds

  • Configure hash_salt with a static random string directly in settings.php instead of using file_get_contents()
  • If using file-based hash_salt, ensure the referenced file exists and contains valid content before deployment
  • Implement server-level error suppression as an additional layer (e.g., display_errors = Off in PHP configuration)
  • Use a reverse proxy or WAF to sanitize responses and strip any path disclosure information
bash
# Configuration example - Update settings.php with a secure static hash_salt
# Replace the file_get_contents() call with a static random string

# In settings.php, change from:
# $settings['hash_salt'] = file_get_contents('/path/to/salt.txt');

# To:
# $settings['hash_salt'] = 'your-secure-random-string-at-least-64-characters-long';

# Verify the file permissions on settings.php
chmod 444 sites/default/settings.php

# Verify error display is disabled in php.ini
grep -E "^display_errors" /etc/php/*/apache2/php.ini

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechDrupal

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability86.44%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-209
  • Technical References
  • Sens Cybersecurity CVE Explanation

  • Exploit-DB #52266
  • Vendor Resources
  • Drupal Issue #3457781
  • Related CVEs
  • CVE-2026-1556: Drupal File Paths Information Disclosure

  • CVE-2022-25275: Drupal Information Disclosure Flaw

  • CVE-2026-0748: Drupal i18n Module Auth Bypass Vulnerability

  • CVE-2026-4933: Drupal Auth Bypass Vulnerability
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