phpservermon src/psm/Service/User.php generatePasswordResetToken predictable algorithm in random number generator

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.4$0-$5k0.00

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.

Productinfo

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.5
VulDB 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): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use of predictable algorithm in random number generator
CWE: CWE-1241 / CWE-338 / CWE-331
ATT&CK: Unknown

Local: No
Remote: Partially

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 3daa804d5f56c55b3ae13bfac368bb84ec632193

Timelineinfo

11/15/2022 🔍
11/15/2022 +0 days 🔍
11/15/2022 +0 days 🔍
12/18/2022 +33 days 🔍

Sourcesinfo

Advisory: 3daa804d5f56c55b3ae13bfac368bb84ec632193
Status: Confirmed

CVE: CVE-2021-4240 (🔍)
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 11/15/2022 22:36
Updated: 12/18/2022 16:22
Changes: 11/15/2022 22:36 (38), 11/15/2022 23:18 (8), 12/18/2022 16:15 (4), 12/18/2022 16:22 (21)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!