PT-2021-18739 · Vestacp · Vestacp

0Xgsch

+3

·

Published

2021-04-08

·

Updated

2021-04-14

·

CVE-2021-30463

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions VestaCP versions prior to 0.9.8-25
Description The issue allows attackers to gain privileges by creating symlinks to files for which they lack permissions. This can be achieved by reading the RKEY value from user.conf under the /usr/local/vesta/data/users/admin directory. Then, the admin password can be changed via a "/reset/?action=confirm&user=admin&code=" URI. The problem arises from the unsafe use of chmod.
Recommendations For VestaCP versions prior to 0.9.8-25, update to version 0.9.8-25 or later to resolve the issue. As a temporary workaround, consider restricting access to the /reset/ API endpoint to minimize the risk of exploitation. Additionally, restrict write access to the /usr/local/vesta/data/users/admin directory to prevent unauthorized modifications.

Exploit

Fix

Link Following

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-30463

Affected Products

Vestacp