Miggo Logo

CVE-2024-45440:
Drupal Full Path Disclosure

5.3

CVSS Score
3.1

Basic Information

EPSS Score
0.9896%
Published
8/29/2024
Updated
10/29/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
drupal/drupalcomposer>= 11.0.0, < 11.0.511.0.5
drupal/core-recommendedcomposer>= 11.0.0, < 11.0.511.0.5
drupal/corecomposer>= 11.0.0, < 11.0.511.0.5
drupal/drupalcomposer>= 10.3.0, < 10.3.610.3.6
drupal/core-recommendedcomposer>= 10.3.0, < 10.3.610.3.6
drupal/corecomposer>= 10.3.0, < 10.3.610.3.6
drupal/drupalcomposer>= 8.0.0, < 10.2.910.2.9
drupal/core-recommendedcomposer>= 8.0.0, < 10.2.910.2.9
drupal/corecomposer>= 8.0.0, < 10.2.910.2.9

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

`*or*/*ut*oriz*.p*p` in *rup*l **.x-**v *llows *ull P*t* *is*losur* (*v*n w**n *rror lo**in* is Non*) i* t** v*lu* o* `**s*_s*lt` is `*il*_**t_*ont*nts` o* * *il* t**t *o*s not *xist.

Reasoning

T** vuln*r**ility o**urs ****us* *or*/*ut*oriz*.p*p in*lu**s s*ttin*s.p*p *urin* its *x**ution. I* t** **s*_s*lt in s*ttin*s.p*p is *on*i*ur** usin* *il*_**t_*ont*nts pointin* to * non-*xist*nt *il*, P*P *mits * w*rnin* *ont*inin* t** *ull s*rv*r p*t