vendor:
PimpMyLog
by:
thoughtfault
7.5
CVSS
HIGH
Improper access control
284
CWE
Product Name: PimpMyLog
Affected Version From: 1.5.2002
Affected Version To: 1.7.14
Patch Exists: NO
Related CWE:
CPE: a:potsky:pimpmylog
Platforms Tested: Ubuntu 22.04
2023
PimpMyLog v1.7.14 – Improper access control
PimpMyLog suffers from improper access control on the account creation endpoint, allowing a remote attacker to create an admin account without any existing permissions. The username is not sanitized and can be leveraged as a vector for stored XSS. This allows the attacker to hide the presence of the backdoor account from legitimate admins. Depending on the previous configuration, an attacker may be able to view sensitive information in apache, iis, nginx, and/or php logs. The attacker can view server-side environmental variables through the debug feature, which may include passwords or api keys.
Mitigation:
Apply proper access controls on the account creation endpoint. Sanitize user input to prevent stored XSS attacks. Regularly monitor logs for any suspicious activity.