LiveActive security incident?Get immediate response
CVE Record

CVE-2021-4241: phpservermon User.php setUserLoggedIn predictable algorithm in random number generator

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.

LowCVSS 2.6Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

phpservermon used a predictable random number algorithm in user login handling. A nearby authenticated attacker could potentially infer limited information tied to login state. The public record rates this as low severity, with high attack complexity and limited confidentiality impact.

Executive priority

Handle during normal maintenance unless phpservermon is exposed to untrusted adjacent networks or supports sensitive monitoring operations. The business risk is limited, but applying the patch is straightforward risk reduction.

Technical view

The issue affects setUserLoggedIn in src/psm/Service/User.php and is categorized as CWE-331. CVSS 3.1 is 2.6: adjacent attack vector, high complexity, low privileges required, no user interaction, and limited confidentiality impact only.

Likely exposure

Exposure is limited to organizations running phpservermon with affected code before the referenced patch. Sources do not identify specific vulnerable releases, so asset owners must map deployed code or package versions to upstream repository history.

Exploitation context

The vulnerability record says exploit details were publicly disclosed and may be used. It is not listed as KEV in the supplied bundle, and no supplied source confirms active exploitation.

Researcher notes

The supplied data lacks affected version ranges, environmental prerequisites beyond CVSS, and concrete exploit maturity details. Validate by code provenance against the patch commit rather than relying on product version names alone.

Mitigation direction

  • Apply upstream patch commit bb10a5f3c68527c58073258cb12446782d223bc3 or a release containing it.
  • If packaged by a third party, confirm the maintainer has backported the patch.
  • Restrict phpservermon administrative and login access to trusted networks where feasible.
  • Review project guidance for version-specific upgrade instructions.

Validation and detection

  • Inventory phpservermon deployments and identify their exact source commit or package version.
  • Confirm src/psm/Service/User.php includes the upstream patch changes.
  • Check whether internet or adjacent-network users can reach phpservermon login surfaces.
  • Review logs for suspicious authenticated access, while treating evidence as inconclusive without source-backed indicators.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-331: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-4241 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
2.6 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
2.6CVSS 3.1LowCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N1.21.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

2.6Low
CVSS 3.1 vector shape for CVE-2021-4241Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
unspecifiedphpservermonn/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-331 · source CWE mapping

Insufficient Entropy

Insufficient Entropy represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.