SecurityContext

CVE-2024-45440: Drupal 11.x-dev - Full Path Disclosure

Classification

  • Cwe: CWE-209
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Epss score: 0.09269
  • Epss percentile: 0.95486
  • Cpe: cpe:2.3:a:drupal:drupal:2023-05-09:*:*:*:*:*:*:*

Metadata

  • Max-request: 1
  • Product: drupal
  • Shodan-query: http.component:"drupal", cpe:"cpe:2.3:a:drupal:drupal"
  • Vendor: drupal
  • Verified: yes

Products

ProductIndexedUrl
drupal:drupalyes/v1/products/drupal/drupal

Labels

  • Name: Drupal - Information Disclosure
  • Impact: Attackers can view sensitive server file paths, potentially aiding further exploitation or information gathering.
  • Remediation: Sanitize or validate the hash_salt input and avoid using untrusted data for hash_salt.
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs to send a specific hash_salt value
  • Labels source: projectdiscovery
  • From cve: CVE-2024-45440
  • Not known: vulnerability type

```yaml

id: CVE-2024-45440

info:

name: Drupal 11.x-dev - Full Path Disclosure

author: DhiyaneshDK

severity: medium

description: |

core/authorize.php in Drupal 11.x-dev allows Full Path Disclosure (even when error logging is None) if the value of hash_salt is file_get_contents of a file that does not exist.

impact: |

Attackers can obtain full path disclosure information even when error logging is disabled.

remediation: |

Configure hash_salt properly and ensure it references an existing file, or update to a patched Drupal version.

reference:

- https://senscybersecurity.nl/CVE-2024-45440-Explained/

- https://nvd.nist.gov/vuln/detail/CVE-2024-45440

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

cvss-score: 5.3

cve-id: CVE-2024-45440

cwe-id: CWE-209

epss-score: 0.09269

epss-percentile: 0.95486

cpe: cpe:2.3:a:drupal:drupal:2023-05-09:*:*:*:*:*:*:*

metadata:

max-request: 1

verified: true

vendor: drupal

product: drupal

shodan-query:

- http.component:"drupal"

- cpe:"cpe:2.3:a:drupal:drupal"

tags: cve,cve2024,drupal,exposure,error,vuln

http:

- method: GET

path:

- "{{BaseURL}}/core/authorize.php"

matchers-condition: and

matchers:

- type: word

part: body

words:

- "getHashSalt"

- "RuntimeException"

condition: and

- type: regex

part: body

regex:

- '/[\w.-]+(?:/[\w.-]+){2,}/settings\.php'

- type: status

status:

- 200

digest: 4b0a00483046022100e7a0745adb97b5c7fc7530879bb8d40e03b79dffa6f3f0b2f41a92a245feb343022100c83085b363fcc324f33db79be461a3027591864acd209b830fe15b9d96a124ab:922c64590222798bb761d5b6d8e72950

```