Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:44941
HistoryJan 04, 2024 - 7:57 a.m.

Privilege Escalation

2024-01-0407:57:46
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
13
craftcms
cms
privilege escalation
vulnerability
elementscontroller
userscontroller
save permissions
user-provided input

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.2 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

31.9%

craftcms/cms is vulnerable to Privilege Escalation. The vulnerability is due to the actionSave function within ElementsController.php, because there are no checks for save permissions before and after applying POST params to the element, as well as the actionSaveUser function within UsersController.php not checking the permissions when setting the username based on user-provided input. This allow an unprivileged user to perform actions they shouldn’t be authorized to do.

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.2 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

31.9%

Related for VERACODE:44941