Stark CRM Cross-Site Request Forgery and Script Insertion Vulnerabilities


Description   Gjoko Krstic has reported multiple vulnerabilities in Stark CRM, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to conduct cross-site request forgery attacks.
1) The application allows users to perform certain actions via HTTP requests without performing proper validity checks to verify the requests. This can be exploited to e.g. create a user with administrative privileges when a logged-in administrative user visits a specially crafted web page.
2) Input passed via multiple POST parameters to index.php is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.
List of affected parameters:
<a href="http://[host]/index.php?page=add_ticket&name
" target="_blank">http://[host]/index.php?page=add_ticket&name
</a>
<a href="http://[host]/index.php?page=client&first_name&last_name&notes
" target="_blank">http://[host]/index.php?page=cli...ame&last_name&notes
</a>
<a href="http://[host]/index.php?page=add_insurance_cat&insu_name&price
" target="_blank">http://[host]/index.php?page=add...cat&insu_name&price
</a>
<a href="http://[host]/index.php?page=add_status&status[]
" target="_blank">http://[host]/index.php?page=add_status&status[]
</a>
The vulnerabilities are reported in version 1.0. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
Stark CRM 1.x
     
Solution   No official solution is currently available.
     
CVE  
     
References   Gjoko Krstic (ZSL-2014-5169):
http://www.zeroscience.mk/en/vulnerabilities/ZSL-2014-5169.php
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - POST : suspicious tag with event found in data
3.2.0
XSS - Prevention - POST : suspicious 'meta' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'object' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
3.2.0
XSS - Prevention - POST : 'location' javascript object found in data
3.2.0
XSS - Prevention - POST : javascript code found in data
3.2.0
XSS - Prevention - POST : suspicious 'iframe' tag found in data
3.2.0
XSS - Prevention - POST : code allowing cookie access found in data
3.2.0
XSS - Prevention - POST : suspicious 'img' attribute found in data
3.2.0
XSS - Prevention - POST : suspicious 'embed' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'div' tag found in data
3.2.0
XSS - Prevention - POST : 'script' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' attribute found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' tag found in data
5.0.0
XSS - Prevention - POST : javascript code found in data
5.0.0
XSS - Prevention - POST : suspicious tag with event found in data
5.0.0
XSS - Prevention - POST : suspicious 'embed' tag found in data
5.0.0
XSS - Prevention - POST : 'location' javascript object found in data
5.0.0
XSS - Prevention - POST : code allowing cookie access found in data
5.0.0
XSS - Prevention - POST : 'script' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'style' attribute found in data
5.0.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'div' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'img' attribute found in data
5.0.0
XSS - Prevention - POST : suspicious 'meta' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'object' tag found in data
5.0.0
XSS - Prevention - POST : suspicious 'iframe' tag found in data
5.0.0
     


 
 
 
 
 Risk level 
Low 

 Vulnerability First Public Report Date 
2014-02-27 

 Target Type 
Server 

 Possible exploit 
Remote