vendor:
Plesk
by:
Nicolas Krassas
4,3
CVSS
MEDIUM
Insecure Directory Permission
264
CWE
Product Name: Plesk
Affected Version From: 9.x
Affected Version To: 9.x
Patch Exists: NO
Related CWE: N/A
CPE: a:parallels:plesk
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Ubuntu, Centos
2012
PLESK 9.x insecure directory permission ( admin password revealed )
During backup procedures, PLESK panel is keeping a detailed log of the process under /opt/psa/PMM/sessions in Debian/Ubuntu installations and /usr/local/psa/PMM/sessions in Centos under the directory with the current date. A detailed log file is created with the name psadump.log, with readable permissions for everyone. The file will reveal the admin password used from the backup process to dump the mysql databases from the sites being backed up. It's possible to locate data also under the sessions directory from incomplete/crashed backup sessions where the log files are not safely removed from the system.
Mitigation:
Ensure that the permissions of the log files are set to only allow access to the root user.