phpservermon src/psm/Service/User.php generatePasswordResetToken predictable algorithm in random number generator
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.4 | $0-$5k | 0.10 |
Summary
A vulnerability was found in phpservermon. It has been rated as problematic. This impacts the function generatePasswordResetToken of the file src/psm/Service/User.php. Performing a manipulation results in use of predictable algorithm in random number generator.
This vulnerability is reported as CVE-2021-4240. Moreover, an exploit is present.
Applying a patch is the recommended action to fix this issue.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Details
A vulnerability, which was classified as problematic, was found in phpservermon (version unknown). This affects the function generatePasswordResetToken of the file src/psm/Service/User.php. The manipulation with an unknown input leads to a use of predictable algorithm in random number generator vulnerability. CWE is classifying the issue as CWE-1241. The device uses an algorithm that is predictable and generates a pseudo-random number. This is going to have an impact on confidentiality.
The weakness was disclosed 11/15/2022. The advisory is shared at huntr.dev. This vulnerability is uniquely identified as CVE-2021-4240. Technical details and a public exploit are known.
The exploit is shared for download at huntr.dev. It is declared as proof-of-concept. By approaching the search of inurl:src/psm/Service/User.php it is possible to find vulnerable targets with Google Hacking.
Applying the patch 3daa804d5f56c55b3ae13bfac368bb84ec632193 is able to eliminate this problem. The bugfix is ready for download at github.com.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Name
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.5VulDB Meta Temp Score: 3.4
VulDB Base Score: 2.6
VulDB Temp Score: 2.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.3
NVD Vector: 🔍
CNA Base Score: 2.6
CNA Vector (VulDB): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use of predictable algorithm in random number generatorCWE: CWE-1241 / CWE-338 / CWE-331
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 3daa804d5f56c55b3ae13bfac368bb84ec632193
Timeline
11/15/2022 🔍11/15/2022 🔍
11/15/2022 🔍
12/18/2022 🔍
Sources
Product: github.comAdvisory: 3daa804d5f56c55b3ae13bfac368bb84ec632193
Status: Confirmed
CVE: CVE-2021-4240 (🔍)
GCVE (CVE): GCVE-0-2021-4240
GCVE (VulDB): GCVE-100-213717
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 11/15/2022 10:36 PMUpdated: 12/18/2022 04:22 PM
Changes: 11/15/2022 10:36 PM (38), 11/15/2022 11:18 PM (8), 12/18/2022 04:15 PM (4), 12/18/2022 04:22 PM (21)
Complete: 🔍
Cache ID: 18:454:40
No comments yet. Languages: en.
Please log in to comment.