CVE-2020-35296: ThinkAdmin Admin Panel Access using Default Credentials
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.77073%
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:N/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| zoujingli/thinkadmin | composer | = 6.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from hard-coded credentials in the initialization process. While no specific code is shown, the documentation explicitly states default admin/admin credentials are set during installation. Database migrations (php think migrate:run) are the standard mechanism for initializing application data in ThinkAdmin. The lack of a patch version and maintainer's installation instructions confirm this remains unaddressed in v6. The migration script's up() method would be responsible for creating the initial admin user with hard-coded credentials.