HexBrain

Browse / CVEs / CVE-2020-26876

CVE-2020-26876· wpcoursesplugin / wp-courses· CWE-306

WordPress WP Courses Plugin Information Disclosure

highseverity
7.5CVSS score
10.6%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

WordPress WP Courses Plugin < 2.0.29 contains a critical information disclosure which exposes private course videos and materials.

Impact

An attacker can exploit this vulnerability to gain sensitive information about the WordPress WP Courses Plugin.

Fix

Update to the latest version of the WordPress WP Courses Plugin (1.0.9) to fix the information disclosure vulnerability.

How to confirm it

Send: GET {{BaseURL}}/wp-json/wp/v2/lesson/1
Positive when: contains in header "application/json" AND matches /rest_post_invalid_id/ AND status 200 or 404

Run it with nuclei: nuclei -id CVE-2020-26876 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2020-26876

info:
  name: WordPress WP Courses Plugin Information Disclosure
  author: dwisiswant0
  severity: high
  description: WordPress WP Courses Plugin < 2.0.29 contains a critical information disclosure which exposes private course videos and materials.
  impact: |
    An attacker can exploit this vulnerability to gain sensitive information about the WordPress WP Courses Plugin.
  remediation: |
    Update to the latest version of the WordPress WP Courses Plugin (1.0.9) to fix the information disclosure vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2020-26876
    - https://www.exploit-db.com/exploits/48910
    - https://www.redtimmy.com/critical-information-disclosure-on-wp-courses-plugin-exposes-private-course-videos-and-materials/
    - https://plugins.trac.wordpress.org/changeset/2388997
    - https://plugins.trac.wordpress.org/changeset/2389243
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-26876
    cwe-id: CWE-306
    epss-score: 0.10551
    epss-percentile: 0.95812
    cpe: cpe:2.3:a:wpcoursesplugin:wp-courses:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: wpcoursesplugin
    product: wp-courses
    framework: wordpress
  tags: cve,cve2020,wordpress,wp-plugin,exposure,edb,wpcoursesplugin,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-json/wp/v2/lesson/1"

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "application/json"

      - type: regex
        part: body
        regex:
          - "rest_post_invalid_id"
          - "\"(guid|title|content|excerpt)\":{\"rendered\":"
        condition: or

      - type: status
        status:
          - 200
          - 404
        condition: or

References

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