id: CVE-2019-7275

info:
  name: Optergy Proton/Enterprise Building Management System - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: Optergy Proton/Enterprise Building Management System contains an open redirect vulnerability. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the download of malware.
  remediation: |
    Apply the latest security patches or updates provided by Optergy to fix the open redirect vulnerability.
  reference:
    - https://packetstormsecurity.com/files/155268/Optergy-Proton-Enterprise-BMS-2.3.0a-Open-Redirect.html
    - https://applied-risk.com/resources/ar-2019-008
    - https://cxsecurity.com/issue/WLB-2019110074
    - https://applied-risk.com/labs/advisories
    - https://nvd.nist.gov/vuln/detail/CVE-2019-7275
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2019-7275
    cwe-id: CWE-601
    epss-score: 0.09087
    epss-percentile: 0.94781
    cpe: cpe:2.3:a:optergy:enterprise:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: optergy
    product: enterprise
  tags: cve,cve2019,redirect,packetstorm,optergy,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/updating.jsp?url=https://interact.sh/"

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'
# digest: 490a0046304402203cf7c7d2587474071a149273b07d7742575a01295aba0257d501ec8bfd4f072302202adb70e2534628611702a16e8f25a81d8b4f5dad4d18db935878dd3b36c66c29:922c64590222798bb761d5b6d8e72950