Trustwave SpiderLabs Security Advisory TWSL2018-009: Insufficiently Protected Credentials in Shelter Manager ASM 2 Series Published: 10/25/19 Version: 1.0 Vendor: Shelter Manager (https://sheltermanager.com/site/en_oss_asm2.html) Product: ASM 2 Series Version affected: ALL Product description: ASM 2 is the previous generation of Animal Shelter Manager. It's Java based and designed to run on your desktop. It has installers for Microsoft Windows, Mac OS X 10.4+, various Linux distributions and a web bundle containing an applet for hosting providers that allow external access to MySQL databases. Finding: Insufficiently Protected Credentials Credit: Simon Kenin of Trustwave CWE: CWE-522 PoC: ==== Download the original applet from ASM site: https://sheltermanager.com/site/en_oss_asm2.html has link to: http://public.sheltermanager.com/deb/sheltermanager-2.8.16_web.zip Open index.html and look for the following line: var parameters = { java_arguments : '-Xmx256m', jdbcurl : 'jdbc:mysql://server/database?user=user&password=pass&zeroDateTimeBehaviour=convertToNull' }; "jdbcurl" parameter stores the username and password to the mysql DB in clear text. Remediation Steps: There is no patch available for this issue and administrators are recommended to isolate any system running this software with strong authentication and access control. Revision History: 05/07/18 - Vulnerability disclosed to vendor 10/23/18 - Vendor advised that no patch is to be released 10/25/19 - 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 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.