id: CVE-2023-33405

info:
  name: BlogEngine CMS - Open Redirect
  author: Shankar Acharya
  severity: medium
  description: |
    Blogengine.net 3.3.8.0 and earlier is vulnerable to Open Redirect
  impact: |
    Unauthenticated attackers can exploit open redirect through the years parameter to redirect users to malicious websites for phishing attacks.
  remediation: |
    Update to the latest version of blogengine.net CMS  to fix the open redirect vulnerability.
  reference:
    - https://github.com/hacip/CVE-2023-33405
    - https://nvd.nist.gov/vuln/detail/CVE-2023-33405
    - https://github.com/nomi-sec/PoC-in-GitHub
  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
    cve-id: CVE-2023-33405
    cwe-id: CWE-601
    epss-score: 0.57398
    epss-percentile: 0.98181
    cpe: cpe:2.3:a:blogengine:blogengine.net:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: blogengine
    product: blogengine.net
    shodan-query: http.html:"blogengine.net"
    fofa-query: body="blogengine.net"
  tags: cve2023,cve,Blogengine,cms,redirect,blogengine,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/default.aspx?years=http://oast.pro"

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