CVE-2017-15278: TeamPass Cross-Site Scripting (XSS)
Summary
CVE-2017-15278: TeamPass Cross-Site Scripting (XSS). Affects nilsteampassnet/teampass versions < 2.1.27.9. Fixed in 2.1.27.9. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
TeamPass is an open-source password manager that allows users to securely store and share passwords. It provides a web-based interface for managing passwords and access rights. The vulnerability in question is a Cross-Site Scripting (XSS) issue that affects TeamPass versions prior to 2.1.27.9. This vulnerability arises due to inadequate data filtering in the 'folders.queries.php' file, allowing an attacker to execute arbitrary HTML and script code in the context of the vulnerable website.
Vulnerability Detail
The Cross-Site Scripting (XSS) vulnerability in TeamPass allows an attacker to inject malicious code into the web application, which is then executed by unsuspecting users. This can lead to various security risks, such as session hijacking, defacement of the website, or theft of sensitive information. The vulnerability originates from the lack of proper input validation and sanitization in the affected file, enabling attackers to bypass security measures and execute arbitrary code.
How To Fix
Minimum fixed version
2.1.27.9
This is the first release that contains the fix.
composer require nilsteampassnet/teampass:2.1.27.9
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can implement additional input validation and sanitization measures in the affected file ('folders.queries.php'). This can involve using security libraries or functions that sanitize user input, such as HTMLPurifier. However, applying a proper fix by upgrading to the latest version is the recommended approach.
Conclusion
The TeamPass Cross-Site Scripting (XSS) vulnerability poses a moderate security risk to affected installations. To mitigate this vulnerability, it is crucial to upgrade to TeamPass version 2.1.27.9 or later. Implementing additional input validation and sanitization measures can serve as a temporary workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for nilsteampassnet/teampass →
FAQ
Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as session hijacking, defacement, or theft of sensitive information.
The TeamPass XSS vulnerability allows attackers to execute arbitrary code in the context of the vulnerable website. This can lead to unauthorized access, data theft, or manipulation of the TeamPass application and its stored passwords.
At the time of this report, there are no known public exploits specifically targeting this TeamPass XSS vulnerability. However, it is crucial to address the vulnerability promptly to prevent potential attacks.
No, only TeamPass versions prior to 2.1.27.9 are affected by this XSS vulnerability. It is recommended to upgrade to the latest version to ensure the security of your TeamPass installation.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your TeamPass installation is affected by this vulnerability. Simply upload your composer.lock file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this XSS issue.
Related vulnerabilities
Recent vulnerabilities recorded for nilsteampassnet/teampass.