CVE-2023-1463: Improper Authorization in nilsteampassnet/teampass
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.05517%
CWE
Published
3/17/2023
Updated
3/23/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| nilsteampassnet/teampass | composer | < 3.0.0.23 | 3.0.0.23 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from using user-supplied 'user_id' in logout operations without proper authorization. The patch replaced 'user_id' with a session-based 'token', indicating the original code used insecure user-controlled keys for authorization decisions. The critical change in logout.php shows the system previously trusted the 'user_id' parameter from GET requests, enabling authorization bypass (CWE-639). The affected files (error.php, load.js.php, logout.php) all migrated from user_id-based to token-based session management, confirming the vulnerable pattern.