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.00483
    epss-percentile: 0.73411
    cpe: cpe:2.3:a:optergy:enterprise:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: optergy
    product: enterprise
  tags: cve,cve2019,redirect,packetstorm,optergy

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: 4a0a004730450220511562ca96712414d7fe7c168567ddca7cbcf0f6b2c30257740eb7108b76aaa7022100c55146cc77b16318a96812fba47a4de4df42e02207ff20b560e157487120bec8:922c64590222798bb761d5b6d8e72950