Trustwave's SpiderLabs Security Advisory TWSL2014-009: Multiple Vulnerabilities in BSS Company Software Published: 07/01/2014 Version: 1.0 Vendor: BSS Company (http://www.bssys.com/) Products/Versions Affected: BS-Client (v.3.17.9)* BS-Client. Private Client (2.4 or 2.5)* *Other older versions are probably also vulnerable Product description: Internet based remote banking solutions. Finding 1: Reflected Cross-Site Scripting Credit: Tanya Secker of Trustwave SpiderLabs CVE: CVE-2014-4196 CWE: CWE-79 BS-Client (v.3.17.9): It is possible to inject arbitrary JavaScript into a preexisting JavaScript function which is ultimately executed by the end browser. The following example URL will render a harmless proof of concept alert box and the 'colorstyle' parameter is affected: https:////bsi.dll?t=RT_2Reg.REGISTRATION_FRAME&colorstyle=blue%27%3b%20alert%28%27xss%27%29//&L=ENGLISH&RegType=1 BS-Client. Private Client (2.4 or 2.5): The product was found to be systemically vulnerable to Cross-Site Scripting but an example is included below. Due to the authentication mechanisms being tied to the inline 'sid' parameter it would be possible to use authenticated payloads for attacks outside of the user space so long as the 'sid' value is active and incorporated in the payload. https:////bsi.dll?T=RT_2IC.sc&DICTIONARY=1&SCHEMENAME=ACCOUNT&FIRSTCALL=1&FROMSCHEME=STATEMENTQUERY&FromPoint=StatementQuery%22%3E%3Cscript%3Ealert%28%27xss%27%29%3C/script%3E&tms=&sid= Vulnerable parameters include: DICTIONARY, FILTERIDENT, FROMSCHEME, FromPoint, FName_0 Other areas in XML POST requests were also found to be susceptible. Finding 2: SQL Injection Credit: Tanya Secker of Trustwave SpiderLabs CVE: CVE-2014-4197 CWE: CWE-89 BS-Client (v.3.17.9): The application returned various errors indicting that that there may be SQL Injection flaws. Two examples are included below: Example 1: When requesting a card statement appending a single quote (') to the CARDS parameter caused an 'Invalid request' whereas appending two single quotes caused a 'Specify query type.' error. Example 2: Appending a single quote (') to the XACTION parameter caused a '1=0:Error in external call in module 'RT_0SCHEMEPARAMS.BLL' at line 1254: EOleException:A string literal was not closed.' whereas appending two single quotes ('') caused a '1=0:Error in external call in module 'RT_0SCHEMEPARAMS.BLL' at line 1254: EOleException:Expected token 'EOF' found 'STRING'' error. Finding 3: Two-Factor Authentication Bypass Credit: Tanya Secker of Trustwave SpiderLabs CVE: CVE-2014-4198 CWE: CWE-287 BS-Client. Private Client (2.4 or 2.5): It was possible to bypass the hardware token and corresponding password requirement. This was made possible by simply issuing a request with the following XML body, neglecting the use of parameters such as ADPswID and AD: XXXX

XXXX

The above will return a valid session identifier (sid) which can then be used to access privileged functions, such as the account balances and numbers. Remediation Steps: Contact the vendor for the potential fix. However, Trustwave SpiderLabs have not verified this fix. Revision History: 12/12/2013 - Vulnerability disclosed to vendor 01/13/2013 - Vendor sets tentative release date to March 10th 2014 04/07/2014 - Vendor advises that internal tests are completed 05/15/2014 - Communications regarding coordinating public disclosure 05/22/2014 - Attempt to follow-up with vendor 06/12/2014 - Attempt to follow-up with vendor 07/01/2014 - Advisory published About Trustwave: Trustwave is the leading provider of on-demand and subscription-based information security and payment card industry compliance management solutions to businesses and government entities throughout the world. For organizations faced with today's challenging data security and compliance environment, Trustwave provides a unique approach with comprehensive solutions that include its flagship TrustKeeper compliance management software and other proprietary security solutions. Trustwave has helped thousands of organizations--ranging from Fortune 500 businesses and large financial institutions to small and medium-sized retailers--manage compliance and secure their network infrastructure, data communications and critical information assets. Trustwave is headquartered in Chicago with offices throughout North America, South America, Europe, Africa, China and Australia. For more information, visit https://www.trustwave.com About Trustwave's SpiderLabs: SpiderLabs(R) is the advanced security team at Trustwave focused on application security, incident response, penetration testing, physical security and security research. The team has performed over a thousand incident investigations, thousands of penetration tests and hundreds of application security tests globally. In addition, the SpiderLabs Research team provides intelligence through bleeding-edge research and proof of concept tool development to enhance Trustwave's products and services. https://www.trustwave.com/spiderlabs Disclaimer: The information provided in this advisory is provided "as is" without warranty of any kind. Trustwave disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Trustwave or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Trustwave 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.