Concrete5 SQL Injection and Cross Site Scripting Vulnerabilities
BID:49931
Info
Concrete5 SQL Injection and Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 49931 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 04 2011 12:00AM |
| Updated: | Oct 04 2011 12:00AM |
| Credit: | Ryan Dewhurst |
| Vulnerable: |
concrete5 concrete5 5.4.2 concrete5 concrete5 5.4.1 1 concrete5 concrete5 5.4.2.2 concrete5 concrete5 5.4.2.1 concrete5 concrete5 5.0.0b2 |
| Not Vulnerable: | |
Discussion
Concrete5 SQL Injection and Cross Site Scripting Vulnerabilities
Concrete5 is prone to SQL-injection and cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied input.
Exploiting these vulnerabilities could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Concrete5 5.4.2.2 is vulnerable; prior versions may also be affected.
Concrete5 is prone to SQL-injection and cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied input.
Exploiting these vulnerabilities could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Concrete5 5.4.2.2 is vulnerable; prior versions may also be affected.
Exploit / POC
Concrete5 SQL Injection and Cross Site Scripting Vulnerabilities
Attackers can use a browser to exploit the SQL-injection issue. The attacker must trick an unsuspecting victim into following a malicious URI to exploit the cross-site scripting issue.
The following example input is available for the SQL-injection issue:
http://www.example.com/index.php/dashboard/reports/surveys/?ccm_order_by=numberOfResponses&ccm_order_dir=,(SELECT BENCHMARK(1000000,MD5(1)) FROM btSurveyResults where CURRENT_USER() like 'root@localhost' limit 1) --
Attackers can use a browser to exploit the SQL-injection issue. The attacker must trick an unsuspecting victim into following a malicious URI to exploit the cross-site scripting issue.
The following example input is available for the SQL-injection issue:
http://www.example.com/index.php/dashboard/reports/surveys/?ccm_order_by=numberOfResponses&ccm_order_dir=,(SELECT BENCHMARK(1000000,MD5(1)) FROM btSurveyResults where CURRENT_USER() like 'root@localhost' limit 1) --
Solution / Fix
Concrete5 SQL Injection and Cross Site Scripting Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
Concrete5 SQL Injection and Cross Site Scripting Vulnerabilities
References:
References:
- Concrete5 <= 5.4.2.2 Multiple Vulnerabilities (Ryan Dewhurst)
- concrete5 Homepage (concrete5)