vendor:
ecommercemajor
by:
Manish Kishan Tanwar
5.5
CVSS
MEDIUM
SQL Injection and Authentication bypass
89
CWE
Product Name: ecommercemajor
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
2015
ecommercemajor ecommerce CMS SQL Injection and Authentication bypass
ecommercemajor is a php based CMS for ecommerce portal. It is vulnerable to SQL injection in the 'product.php' file where the 'productbycat' parameter is not properly filtered before being used in a SQL query. It is also vulnerable to authentication bypass in the 'index.php' file under the '__admin' directory, where the 'username' and 'password' parameters are not properly filtered before being used in a SQL query.
Mitigation:
To mitigate the SQL injection vulnerability, the application should use parameterized queries or prepared statements to ensure that user input is properly sanitized before being used in SQL queries. To mitigate the authentication bypass vulnerability, the application should properly validate and sanitize user input before using it in SQL queries.