Secunia Research: Seo Panel One Hundred and One SQL Injection Vulnerabilities

======================================================================

                     Secunia Research 09/11/2010

   - Seo Panel One Hundred and One SQL Injection Vulnerabilities -

======================================================================
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10

====================================================================== 
1) Affected Software 

* SEO Panel version 2.0.2.

NOTE: Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Less critical
Impact: SQL injection
Where:  From remote

======================================================================
3) Vendor's Description of Software 

"World's first seo control panel for multiple websites"

Product Link:
http://www.seopanel.in/

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered multiple vulnerabilities in Seo Panel,
which can be exploited by malicious users to conduct SQL injection
attacks.

1) Input passed via various parameters to multiple scripts e.g. the
"website_id" parameter to backlinks.php, cron.php, directories.php,
generate-reports.php, graphical-reports.php, keywords.php, rank.php,
saturationchecker.php, and sitemap.php, the "dir_id" and "url"
parameters to directories.php, the "id" parameter to directories.php,
keywords.php, seo-plugins-manager.php, and website.php, the 
"keyword_id" parameter to generate-reports.php and reports.php, the 
"seId" parameter to graphical-reports.php and reports.php, the 
"keywordId" parameter to graphical-reports.php and keywords.php, the 
"fromTime" and "toTime" parameters to graphical-reports.php, the 
"name", "country_code", "lang_code", "searchengines", and 
"website_id" parameters to keywords.php, the "se_id", "time", and 
"keyId" parameters to reports.php, the "seoplugin_id" and "pid" 
parameters to seo-plugins-manager.php, the "seotool_id" parameter to
seo-tools-manager.php, the "userId" parameter to users.php, the
"websiteId", "userid", and "user_id" parameters to website.php, the
"stscheck", "dir_name", and "status" parameters to directories.php is
not properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed via various parameters to multiple scripts e.g. the
"pid" parameter to seo-plugins-manager.php, the "firstName", 
"lastName", and "id" parameters to users.php, and the "name" and 
"url" parameters to website.php is not properly sanitised before 
being used in SQL queries. This can be exploited to manipulate SQL 
queries by injecting arbitrary SQL code.

Successful exploitation of vulnerabilities #2 requires that
"magic_quotes_gpc" is disabled.

====================================================================== 
5) Solution 

Update to version 2.1.0, which fixes some of the vulnerabilities.

====================================================================== 
6) Time Table
20/07/2010 - Vendor notified.
21/07/2010 - Vendor response.
06/10/2010 - Vendor releases new version, which fixes some of the
             vulnerabilities.
09/11/2010 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has not 
currently assigned a CVE identifier for the vulnerabilities.

====================================================================== 
9) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

http://secunia.com/advisories/business_solutions/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

http://secunia.com/advisories/

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general:

http://secunia.com/secunia_research/

Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:

http://secunia.com/corporate/jobs/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/advisories/mailing_lists/

====================================================================== 
10) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2010-133/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================