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.01387
    epss-percentile: 0.80585
    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,vuln

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