HexBrain

Browse / CVEs / CVE-2024-6690

CVE-2024-6690· wp-buy / wp content copy protection \& no right click· CWE-601

WP Content Copy Protection & No Right Click - Open Redirect

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

The WP Content Copy Protection & No Right Click plugin before version 15.3 contains an open-redirect vulnerability via the referrer parameter in no-js.php, allowing redirection of users to external sites.

Impact

Attackers can redirect users to malicious external sites, facilitating phishing or malware distribution.

Fix

Update to version 15.3 or later.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/wccp-pro/no-js.php?referrer=https://oast.pro
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)oast\.pro.*$/ AND status 302

Run it with nuclei: nuclei -id CVE-2024-6690 -u <target>

The full check
id: CVE-2024-6690

info:
  name: WP Content Copy Protection & No Right Click - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: |
    The WP Content Copy Protection & No Right Click plugin before version 15.3 contains an open-redirect vulnerability via the referrer parameter in no-js.php, allowing redirection of users to external sites.
  impact: |
    Attackers can redirect users to malicious external sites, facilitating phishing or malware distribution.
  remediation: |
    Update to version 15.3 or later.
  reference:
    - https://wpscan.com/vulnerability/09c6848d-30dc-4382-ae74-b470f586e142/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-6690
  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-6690
    cwe-id: CWE-601
    epss-score: 0.00526
    epss-percentile: 0.44908
    cpe: cpe:2.3:a:wp-buy:wp_content_copy_protection_\&_no_right_click:*:*:*:*:pro:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: wp-buy
    product: wp_content_copy_protection_\&_no_right_click
    framework: wordpress
  tags: cve,cve2024,wordpress,wp-plugin,redirect,wccp-pro,unauth,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wccp-pro/no-js.php?referrer=https://oast.pro"

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

      - type: status
        status:
          - 302

References

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