Read the docs
TI-2021-03099 Aliases CVE-2021-4240GHSA-97w9-gcc7-vr8g

phpservermon User.php generatePasswordResetToken predictable algorithm in random number generator

Priority MEDIUM 57CWE-331Published · Updated

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. This affects the function generatePasswordResetToken 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 3daa804d5f56c55b3ae13bfac368bb84ec632193. It is recommended to apply a patch to fix this issue. The identifier VDB-213717 was assigned to this vulnerability.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00887 59th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed phpservermon/phpservermon (Packagist): 3.6.0

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

VendorProductAffected versionsFixed inStatusSource
unspecifiedphpservermonall versions—No fix listedCNA
—phpservermon/phpservermon (Packagist)before 3.6.03.6.0Patch availableGHSA-97w9-gcc7-vr8g
  • 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-97w9-gcc7-vr8g

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:phpservermonitor:php_server_monitor:-:*:*:*:*:*:*:*not specified by NVDVulnerablePHP Server Monitor
  • cpe:2.3:a:phpservermonitor:php_server_monitor:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·PHP Server Monitor

Remediation

  • Fix · GHSA-97w9-gcc7-vr8g phpservermon/phpservermon (Packagist) Fixed in 3.6.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-4240
  2. 2026-10-03 Alias added: GHSA-97w9-gcc7-vr8g

References

  • TI-2021-03100 phpservermon User.php setUserLoggedIn 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