CVE-2022-2927: Missing password strength check in notrinos/notrinos-erp
7.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.25455%
CWE
Published
8/23/2022
Updated
1/28/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
notrinos/notrinos-erp | composer | < 0.7 | 0.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the conditional logic in the can_process function. Before the patch, password length validation (strlen($_POST['password']) < 4) was only triggered when editing existing users (!$new). The commit modified the condition to 'if ($new || (!$new && ...))' to include new user creation flows. This directly matches the CWE-521 weakness description and the advisory's statement about missing strength checks for new accounts.