id: CVE-2018-16761

info:
  name: Eventum <3.4.0 - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: |
    Eventum before 3.4.0 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 theft of sensitive information.
  remediation: |
    Upgrade to Eventum version 3.4.0 or later to fix the open redirect vulnerability.
  reference:
    - https://www.invicti.com/web-applications-advisories/ns-18-021-open-redirection-vulnerabilities-in-eventum/
    - https://github.com/eventum/eventum/releases/tag/v3.4.0
    - https://nvd.nist.gov/vuln/detail/CVE-2018-16761
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2018-16761
    cwe-id: CWE-601
    epss-score: 0.00069
    epss-percentile: 0.29966
    cpe: cpe:2.3:a:eventum_project:eventum:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: eventum_project
    product: eventum
    shodan-query: http.favicon.hash:305412257
    fofa-query: icon_hash=305412257
  tags: cve,cve2018,redirect,eventum,oss,eventum_project

http:
  - method: GET
    path:
      - '{{BaseURL}}/select_project.php?url=http://interact.sh'
      - '{{BaseURL}}/clock_status.php?current_page=http://interact.sh'

    stop-at-first-match: true
    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1
# digest: 4a0a004730450220614f8330ed7f2a3d23f42c63f3594939fba7a949b8d5decf29d1445158270902022100c7cb4ee10e1001e0ab8253f6e559e576780111309ed3ea7fcfc2b3e2de906010:922c64590222798bb761d5b6d8e72950