CVE-2020-12479: TeamPass PHP arbitrary file include vulnerability
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.88004%
CWE
Published
5/24/2022
Updated
4/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
nilsteampassnet/teampass | composer | <= 2.1.27.36 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability chain involves two key components:
- In users.queries.php, the 'newValue' parameter from the POST request is stored without validation, enabling attackers to set malicious paths.
- In core.php, the require_once statement directly uses the tainted $_SESSION['user_language'] value to include files, enabling arbitrary PHP execution. The lack of input validation in users.queries.php and the unsafe file inclusion in core.php together create the path traversal vulnerability.