id: CVE-2012-5321

info:
  name: TikiWiki CMS Groupware v8.3 - Open Redirect
  author: ctflearner
  severity: medium
  description: |
    tiki-featured_link.php in TikiWiki CMS/Groupware 8.3 allows remote attackers to load arbitrary web site pages into frames and conduct phishing attacks via the url parameter, aka "frame injection
  impact: |
    Successful exploitation of this vulnerability could lead to phishing attacks and potential unauthorized access to sensitive information.
  remediation: |
    Apply the latest security patches or upgrade to a newer version of TikiWiki CMS Groupware to mitigate the risk of open redirect vulnerabilities.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2012-5321
    - https://www.exploit-db.com/exploits/36848
    - http://st2tea.blogspot.com/2012/02/tiki-wiki-cms-groupware-frame-injection.html
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/73403
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:N
    cvss-score: 5.8
    cve-id: CVE-2012-5321
    cwe-id: CWE-20
    epss-score: 0.07679
    epss-percentile: 0.93816
    cpe: cpe:2.3:a:tiki:tikiwiki_cms\/groupware:8.3:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: tiki
    product: tikiwiki_cms\/groupware
    shodan-query: http.html:"tiki wiki"
    fofa-query: body="tiki wiki"
  tags: cve,cve2012,redirect,tikiwiki,groupware,tiki,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/tiki-featured_link.php?type=f&url=https://interact.sh"

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