Document Title: =============== Trend Micro Direct Pass - Filter Bypass & Cross Site Scripting Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1716 Trend Micro Security ID: 1-1-1039900197 Release Date: ============= 2016-05-01 Vulnerability Laboratory ID (VL-ID): ==================================== 1716 Common Vulnerability Scoring System: ==================================== 4.3 Product & Service Introduction: =============================== DirectPass runs as a local console and browser plug-in but can also sync between multiple PC installations through your Trend Micro account. Unlike LastPass 1.72 (free, 5 stars), Dashlane (free, 4.5 stars), and RoboForm Everywhere 7 ($19.95 direct, 4.5 stars), it doesn`t let you log in to your saved credentials online. However, it will sync with free DirectPass apps for Android and iPhone. You can also test a free edition that manages just five passwords. DirectPass can export its data for import to another DirectPass installation. It can also import login data from LastPass. Hoping to get a fast start, I imported my 200+ LastPass logins. The results were disappointing. For starters, DirectPass doesn`t include the ability to categorize sites, so my passwords came through as an unordered list, a very long list. There`s no way to sort the list, and no provision to search for a particular login. For some reason, clicking in the list`s scroll bar doesn`t scroll down by one `page` of items. Instead, it scrolls to the corresponding location in the list. Finding any particular login required tediously scrolling through the entire list. (Copy of the Vendor Homepage: https://www.directpass.com/signin ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered a filter bypass issue and cross site vulnerability in the official Trend Micro Direct Pass web-application. Vulnerability Disclosure Timeline: ================================== 2016-02-08: Researcher Notification & Coordination (Karim Rahal) 2016-02-09: Vendor Notification (Trend Micro Security Team) 2016-02-10: Vendor Response/Feedback (Trend Micro Security Team) 2016-04-27: Vendor Fix/Patch (Trend Micro Developer Team) 2016-05-01: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Trend Micro Product: DirectPass 2016 Q1 Exploitation Technique: ======================= Remote Severity Level: =============== Medium Technical Details & Description: ================================ A filter bypass and cross site scripting vulnerability has been discovered in the official Trend Micro DirectPass online service web-application. The vulnerability allows remote attackers to bypass the filter restrictions of the web-application validation procedure mechanism. The cross site vulnerability allows an attacker to inject own malicious script codes on the application-side of the vulnerable modules context. There is a filter which filters special characters in the website, but it was bypassed through filter-evasion by a live session tamper for http. The mechanism does approve the direct input but does not filter the request context itself. Thus allows an attacker to bypass the basic special char filter. The cross site issue is inside the `(title) has been deleted` once you delete a password listed, replace (title) with a xss payload would execute the cross site scripting payload. Proof of Concept (PoC): ======================= The filter bypass and cross site vulnerability can be exploited by remote attackers with low privileged web-application user account and low user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. Manual steps to reproduce the vulnerability ... 1. Go to pwm.trendmicro.com 2. Make sure you have the Trend Micro Password Manager (Direct Pass) extension installed 3. Go to add a new password 4. Open a proxy interpreting tool (livehttpheaders / tamper data / burpsuite) 5. Insert a title and the rest of the information while interpreting/tampering the requests 6. Then edit the POST request which is sent to localhost:49154 and has the information of the new password 7. Now edit "DisplayName":"(your title)" to "DisplayName":"'><img src=x onerror=alert(document.cookie)>" (this will alert "XSS") 8. Then edit "ID":"(id)" and add anything to it like "ID":"anything(id)" 9. Now replay the request 10. Go back to pwm.trendmicro.com 11. Check your passwords and you will see that you were able to put invalid characters to the title! [Filter Bypass=done] 12. Now delete the password 13. The xss will alert with cookie! [XSS=done] 14. Successful reproduce of the vulnerability! PoC: Video https://www.youtube.com/watch?v=cgN2c4bZniY Security Risk: ============== The security risk of the filter bypass issue and cross site scripting web vulnerability in the web-application is estimated as medium. (CVSS 4.3) Credits & Authors: ================== Karim Rahal [Karim@xxxxxxxxxxxxxx / KarimMTV@xxxxxxxxxxxx] - @KarimMTV [http://www.vulnerability-lab.com/show.php?user=Karim%20Rahal] Disclaimer & Information: ========================= 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. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com Contact: admin@xxxxxxxxxxxxxxxxxxxxx - research@xxxxxxxxxxxxxxxxxxxxx - admin@xxxxxxxxxxxxxxxxx Section: magazine.vulnerability-db.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/ Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. 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 Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact (admin@xxxxxxxxxxxxxxxxxxxxx or research@xxxxxxxxxxxxxxxxxxxxx) to get a permission. Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™ -- VULNERABILITY LABORATORY - RESEARCH TEAM SERVICE: www.vulnerability-lab.com CONTACT: research@xxxxxxxxxxxxxxxxxxxxx