Yet Another CMS Multiple SQL Injection and Multiple Cross Site Scripting Vulnerabilities
BID:50272
Info
Yet Another CMS Multiple SQL Injection and Multiple Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 50272 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 19 2011 12:00AM |
| Updated: | Oct 19 2011 12:00AM |
| Credit: | Stefan Schurtz |
| Vulnerable: |
Yet Another CMS Yet Another CMS 1.0 |
| Not Vulnerable: | |
Discussion
Yet Another CMS Multiple SQL Injection and Multiple Cross Site Scripting Vulnerabilities
Yet Another CMS is prone to multiple SQL-injection vulnerabilities and multiple 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.
Yet Another CMS 1.0 is vulnerable; other versions may also be affected.
Yet Another CMS is prone to multiple SQL-injection vulnerabilities and multiple 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.
Yet Another CMS 1.0 is vulnerable; other versions may also be affected.
Exploit / POC
Yet Another CMS Multiple SQL Injection and Multiple Cross Site Scripting Vulnerabilities
Attackers can use a browser to exploit the SQL-injection issues. An attacker must trick a victim into following a malicious URI to exploit a cross-site scripting issue.
The following example URIs are available:
http://www.example.com/index.php?page=[sql injection]
http://www.example.com/search.php -> 'search field' -> [sql injection]
http://www.example.com/search.php -> 'search field' -> '"</script><script>alert(document.cookie)</script>
http://www.example.com/index.php?page='</script><script>alert(document.cookie)</script>
Attackers can use a browser to exploit the SQL-injection issues. An attacker must trick a victim into following a malicious URI to exploit a cross-site scripting issue.
The following example URIs are available:
http://www.example.com/index.php?page=[sql injection]
http://www.example.com/search.php -> 'search field' -> [sql injection]
http://www.example.com/search.php -> 'search field' -> '"</script><script>alert(document.cookie)</script>
http://www.example.com/index.php?page='</script><script>alert(document.cookie)</script>
Solution / Fix
Yet Another CMS Multiple SQL Injection and Multiple 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
Yet Another CMS Multiple SQL Injection and Multiple Cross Site Scripting Vulnerabilities
References:
References:
- Product Homepage (Yet Another CMS)