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.53691
    epss-percentile: 0.9803
    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: 4a0a00473045022014d4af2ec3ce217f7fe25372d4d65f71094a3dfc9d9be116bc1b5cf3764696b9022100cf6a062254a2e37627b891f3bb32c573fd5b80c16d959f3419c47f75ee8de612:922c64590222798bb761d5b6d8e72950