CVE-2021-4241: phpservermon - Authentication Bypass
- Cve: CVE-2021-4241
- Name: phpservermon - Authentication Bypass
- Description: A vulnerability, which was classified as problematic, was found in phpservermon. Affected is the function setUserLoggedIn of the file src/psm/Service/User.php. The manipulation leads to use of predictable algorithm in random number generator. The exploit has been disclosed to the public and may be used. The name of the patch is bb10a5f3c68527c58073258cb12446782d223bc3. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-213744.
- Impact: Attackers can predict session tokens, potentially leading to session hijacking and unauthorized access.
- Remediation: Apply the patch with identifier bb10a5f3c68527c58073258cb12446782d223bc3 to fix the issue.
- Vulnerability type: weak_cryptography
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.01022
- Epss percentile: 0.64355
- Assignee: [email protected]
- Published at: 2022-11-15T23:15:14Z
- Age in days: 1470
- Modified at: 2026-06-17T04:19:20Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-4241
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-331 | Insufficient Entropy |
| CWE-330 | Use of Insufficiently Random Values |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/1-phpservermon/phpservermon/ | nvd | 2022-11-15 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/phpservermon/phpservermon/commit/bb10a5f3c68527c58073258cb12446782d223bc3 | Patch, Third Party Advisory |
| https://huntr.dev/bounties/1-phpservermon/phpservermon/ | Exploit, Patch, Third Party Advisory |
| https://vuldb.com/?id.213744 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| phpservermonitor:php_server_monitor | all versions | no | nvd | /v1/products/phpservermonitor/php_server_monitor |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| phpservermon/phpservermon | commit, package | yes | /v1/repositories/phpservermon/phpservermon |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-11-15
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts