CVE-2024-45440:
Drupal Full Path Disclosure
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.9896%
CWE
Published
8/29/2024
Updated
10/29/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
drupal/drupal | composer | >= 11.0.0, < 11.0.5 | 11.0.5 |
drupal/core-recommended | composer | >= 11.0.0, < 11.0.5 | 11.0.5 |
drupal/core | composer | >= 11.0.0, < 11.0.5 | 11.0.5 |
drupal/drupal | composer | >= 10.3.0, < 10.3.6 | 10.3.6 |
drupal/core-recommended | composer | >= 10.3.0, < 10.3.6 | 10.3.6 |
drupal/core | composer | >= 10.3.0, < 10.3.6 | 10.3.6 |
drupal/drupal | composer | >= 8.0.0, < 10.2.9 | 10.2.9 |
drupal/core-recommended | composer | >= 8.0.0, < 10.2.9 | 10.2.9 |
drupal/core | composer | >= 8.0.0, < 10.2.9 | 10.2.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability occurs because core/authorize.php includes settings.php during its execution. If the hash_salt in settings.php is configured using file_get_contents pointing to a non-existent file, PHP emits a warning containing the full server path. Drupal's error handling mechanisms (like display_errors) are not properly initialized in authorize.php before including settings.php, allowing the path disclosure. This bypasses Drupal's standard error suppression settings, as the error occurs during the early initialization phase of the script.