SecurityContext

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

IdName
CWE-331Insufficient Entropy
CWE-330Use of Insufficiently Random Values

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/1-phpservermon/phpservermon/nvd2022-11-15

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/phpservermon/phpservermon/commit/bb10a5f3c68527c58073258cb12446782d223bc3Patch, Third Party Advisory
https://huntr.dev/bounties/1-phpservermon/phpservermon/Exploit, Patch, Third Party Advisory
https://vuldb.com/?id.213744Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
phpservermonitor:php_server_monitorall versionsnonvd/v1/products/phpservermonitor/php_server_monitor

Projects

RepositoryLink kindsIndexedUrl
phpservermon/phpservermoncommit, packageyes/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