# CVE-2021-4241: phpservermon User.php setUserLoggedIn predictable algorithm in random number generator

- Priority: **Routine**
- Reason: Not severe (CVSS 2.6, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-11-15 · Modified: 2025-04-15
- Record: https://cvemate.com/vulnerability/CVE-2021-4241 · JSON: https://cvemate.com/vulnerability/CVE-2021-4241/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 1.047%, percentile 65.289%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- phpservermonitor php\_server\_monitor: na
- unspecified phpservermon: n/a

## References

- <https://huntr.dev/bounties/1-phpservermon/phpservermon/>
- <https://github.com/phpservermon/phpservermon/commit/bb10a5f3c68527c58073258cb12446782d223bc3>
- <https://vuldb.com/?id.213744>

---

Data as of 2026-12-05T04:58:51.248Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
