Some vulnerabilities have been discovered in Maian Cart, which can be exploited by malicious people to conduct cross-site scripting attacks and to bypass certain security restrictions.
1) Input passed to the "keywords" parameter in index.php (when "cmd" is set to "search") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) Input passed to the "msg_adminheader", "msg_adminheader2", "msg_adminheader3", and "msg_adminheader4" parameters in admin/inc/header.php, and "msg_script3" in admin/inc/footer.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
3) A vulnerability is caused due to improper access restriction in the admin/index.php script. This can be exploited to bypass the authentication mechanism and gain access to the administration section by setting the "mccart_cookie" cookie.
The vulnerabilities are confirmed in version 1.1. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised. Restrict access to the admin/index.php script (e.g. with ".htaccess").
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 email@example.com
Subject: Maian Cart Security Bypass and Cross-Site Scripting Vulnerabilities
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.