vendor:
Adult Script software
by:
Liz0ziM
7.5
CVSS
HIGH
Unauthorized Administrative Access
287
CWE
Product Name: Adult Script software
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
Adult Script Unauthorized Administrative Access Exploit
The Adult Script software is vulnerable to unauthorized administrative access. The vulnerability can be exploited by an attacker to gain unauthorized access to the administrative panel of the software. The vulnerable code is located in the 'admin/administrator.php' file, near lines 5-8. The code checks if the 'adminid' session variable is empty and if the 'admintype' session variable is not equal to 1. If both conditions are true, the code redirects the user to the 'logout.php' page. However, there is no authentication or authorization check before this redirection, allowing an attacker to bypass the login process and gain administrative access.
Mitigation:
To mitigate this vulnerability, it is recommended to implement proper authentication and authorization mechanisms in the administrative panel of the Adult Script software. Additionally, the vulnerable code should be fixed to ensure that only authorized users can access the administrative functionalities.