Document Title:
===============
Teampass v2.1.26 - Stored Cross Site Scripting Vulnerability
References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1845
Release Date:
=============
2016-05-24
Vulnerability Laboratory ID (VL-ID):
====================================
1845
Common Vulnerability Scoring System:
====================================
3.4
Product & Service Introduction:
===============================
TeamPass is a Passwords Manager dedicated for managing passwords in a collaborative way on any server Apache, MySQL and PHP.
It is especially designed to provide passwords access security for allowed people. This makes TeamPass really useful in a
Business/Enterprise environment and will provide to IT or Team Manager a powerful and easy tool for customizing passwords
access depending on the user’s role.
(Copy of the Homepage: http://teampass.net/ )
Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered an application-side cross site scripting vulnerability in the Teampass v2.1.25/26 application.
Vulnerability Disclosure Timeline:
==================================
2016-05-17: Researcher Notification & Coordination (Peter Kok)
2016-05-18 Vendor Notification (Teampass Security Team)
2016-05-18: Vendor Response/Feedback (Teampass Security Team)
2016-05-23: Vendor Fix/Patch (Teampass Developer Team)
2016-05-24: Public Disclosure (Vulnerability Laboratory)
Discovery Status:
=================
Published
Affected Product(s):
====================
Nils Laumaillé
Product: Teampass Password Manager - Online Service (Web-Application) 2.1.25
Nils Laumaillé
Product: Teampass Password Manager - Online Service (Web-Application) 2.1.26
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Technical Details & Description:
================================
An application-side cross site scripting web vulnerability has been discovered in the official Teampass v2.1.26 web-application.
The vulnerability allows remote attackers to inject own malicious script codes to the application-side of the vulnerable module or function.
Teampass allows authenticated users to create items to store usernames, passwords, descriptions, files and more. When creating or editing an
item the very first field, the label field, is vulnerable to iframe injection and XSS insertion. The iframe or cross site scripting will be
executed as soon as a user opens a folder. The attack vector is persistent and the request method to inject is POST.
The security risk of the application-side vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.4.
Exploitation of the persistent web vulnerability requires a low privileged web-application user account and low or medium user interaction.
Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent external redirects to
malicious source and persistent manipulation of affected or connected application modules.
Request Method(s):
[+] POST
Vulnerable Function(s):
[+] Add or Edit (Label)
Vulnerable Parameter(s):
[+] label name
Affected Module(s):
[+] Item Listing
Proof of Concept (PoC):
=======================
The persistent cross site scripting web vulnerability can be exploited by remote attackers without privileged web-application user account and low or medium 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. Create or edit an item
2. Change the first label name field to a script code payload
Note: Vulnerability Lab"> or