Two vulnerabilities have been discovered in LokiCMS, which can be exploited by malicious people to disclose sensitive information, bypass certain security restrictions, and compromise a vulnerable system.
1) A vulnerability is caused due to improper checks for authentication credentials in admin.php. This can be exploited to bypass security restrictions and modify CMS settings by setting the "LokiACTION" parameter to "A_SAVE_G_SETTINGS".
NOTE: The vulnerability can be exploited to execute arbitrary PHP code by setting e.g. a specially crafted "header" parameter, or to perform local file inclusion attacks by setting a specially crafted "language" parameter.
2) Input passed to the "page" parameter in index.php is not properly sanitised before being used. This can be exploited to disclose whether a file or directory exists or not via directory traversal attacks.
The vulnerabilities are confirmed in version 0.3.4. Other versions may also be affected.
Solution: Restrict access to the admin.php script (e.g. via ".htaccess"). Edit the source code to ensure that input is properly sanitised.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: LokiCMS Authentication Bypass and File Existence Checking
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.