id: salesforce-aura

info:
  name: Salesforce Lightning - API Detection
  author: aaron_costello (@ConspiracyProof),Ph33rr
  severity: info
  description: A Salesforce Lightning aura API was detected.
  reference:
    - https://www.enumerated.de/index/salesforce
    - https://github.com/Ph33rr/cirrusgo (test endpoint)
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 5
  tags: aura,unauth,salesforce,exposure,misconfig

http:
  - method: POST
    path:
      - "{{BaseURL}}/aura"
      - "{{BaseURL}}/s/sfsites/aura"
      - "{{BaseURL}}/sfsites/aura"
      - "{{BaseURL}}/s/aura"
      - "{{BaseURL}}/s/fact"

    body: "{}"
    matchers:
      - type: word
        part: body
        words:
          - 'aura:invalidSession'
# digest: 4b0a00483046022100bf1033d92aa2c6f722b4e5453d9ad5c1e901c7698c8c701cc938b1fe764193bd022100819a9d9d420233be69cd51b4149eb71fd52d3dc77e14c2a357d4961148b3d0f6:922c64590222798bb761d5b6d8e72950