phpservermon User.php setUserLoggedIn predictable algorithm in random number generator
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| unspecified | phpservermon | all versions | — | No fix listed | CNA |
| — | phpservermon/phpservermon (Packagist) | before 3.6.0 | 3.6.0 | Patch available | GHSA-hc4j-7mqg-cxjj |
- phpservermon Vendorunspecified Affected all versions Fixed in — No fix listed CNA
- phpservermon/phpservermon (Packagist) Vendor— Affected before 3.6.0 Fixed in 3.6.0 Patch available GHSA-hc4j-7mqg-cxjj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:phpservermonitor:php_server_monitor:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | PHP Server Monitor |
- cpe:2.3:a:phpservermonitor:php_server_monitor:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·PHP Server Monitor
Remediation
- Fix · GHSA-hc4j-7mqg-cxjj phpservermon/phpservermon (Packagist) Fixed in 3.6.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-4241
- 2026-10-03 Alias added: GHSA-hc4j-7mqg-cxjj
References
More Php Server Monitor vulnerabilities
- TI-2021-03099 phpservermon User.php generatePasswordResetToken predictable algorithm in random number generator CVSS 3.1MEDIUM 5.3
- TI-2018-13402 PHP Server Monitor before 3.3.2 has CSRF, as demonstrated by a Delete action. CVSS 3.0MEDIUM 6.5
- TI-2021-02976 CRLF Injection in phpservermon/phpservermon CVSS 3.1MEDIUM 5.4
Sources
- CVE-2021-4241 · CVE Program
- CVE-2021-4241 · NVD
- FIRST EPSS
- GHSA-hc4j-7mqg-cxjj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences