CVE-2021-4240Phpservermonitor Php Server Monitor
Medium 5.3 No auth needed
Follow: this CVE · Phpservermonitor · Phpservermonitor Php Server Monitor We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 64
- Auth required
- No
- Published
- Nov 15, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Php Server Monitor.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | phpservermon/phpservermon |
< 3.6.0 |
3.6.0 |
composer require "phpservermon/phpservermon:^3.6.0" |
Per OSV / GitHub Advisories (GHSA-97w9-gcc7-vr8g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| phpservermonitor | php_server_monitor | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Patch Third Party Advisory
- vuldb.com Third Party Advisory