id: CVE-2025-27505

info:
  name: GeoServer - Missing Authorization on REST API Index
  author: securitytaters
  severity: medium
  description: |
    GeoServer contains a missing authorization vulnerability that allows unauthorized access to the REST API Index page, potentially exposing sensitive configuration information.
  impact: |
    Unauthenticated users can access the GeoServer REST API Index page, potentially exposing sensitive configuration information and available API endpoints.
  remediation: |
    Upgrade to the latest GeoServer version that implements proper authorization checks for the REST API Index page.
  reference:
    - http://geoserver.org/
    - https://geoserver.org/vulnerability/2025/06/10/cve-disclosure.html
    - https://nvd.nist.gov/vuln/detail/CVE-2025-27505
  classification:
    epss-score: 0.00827
    epss-percentile: 0.74729
    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-2025-27505
    cwe-id: CWE-862
    cpe: cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    fofa-query: app="geoserver"
    shodan-query: http.title:"geoserver"
    vendor: osgeo
    product: geoserver
  tags: cve,cve2025,geoserver,misconfig,osgeo,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/rest.html"
      - "{{BaseURL}}/geoserver/rest.html"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Geoserver Configuration API"

      - type: word
        part: body
        words:
          - "about/status"

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