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.1375
    epss-percentile: 0.96129
    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: 4b0a00483046022100c6bbee82a5caef1beda65f574828b7338149e97ebb2f825e2122f4e6152698590221009b885d02d7cb687c3f1928fa628df4d9df1bca92258e3b9dfe964796760543c8:922c64590222798bb761d5b6d8e72950