LiveActive security incident?Get immediate response
CVE Record

CVE-2021-31314: File upload vulnerability in ejinshan v8+ terminal security system allows attackers to upload arbitrary fil...

File upload vulnerability in ejinshan v8+ terminal security system allows attackers to upload arbitrary files to arbitrary locations on the server.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2021-31314 is a critical file upload flaw in the ejinshan v8+ terminal security system. The CVE says an attacker can upload arbitrary files to arbitrary server locations. If exposed, this could support full compromise of confidentiality, integrity, and availability. The source bundle does not provide vendor patch details.

Executive priority

Treat this as urgent for any confirmed deployment exposed beyond trusted networks. The severity is critical, but business priority depends on whether the product is present and reachable. Lack of patch details increases the need for inventory, isolation, and vendor follow-up.

Technical view

The issue is classified as CWE-434: unrestricted upload of a file with dangerous type. CVSS 3.1 is 9.8, network-accessible, low complexity, no privileges, and no user interaction. The CVE record describes arbitrary file upload to arbitrary locations. Affected CPEs and precise version ranges are not supplied.

Likely exposure

Likely exposure is limited to organizations running ejinshan v8+ terminal security system, especially servers reachable from untrusted networks. The source data lists affected vendor, product, versions, and CPEs as unavailable, so asset inventory validation is required.

Exploitation context

The bundle does not show CISA KEV status and provides no cited confirmation of active exploitation. A public GitHub write-up is referenced, but the supplied data does not include vendor confirmation, exploit telemetry, or remediation guidance.

Researcher notes

Evidence is incomplete: no CPEs, vendor advisory, exact fixed version, or KEV listing are included. Ground analysis on the CVE description, CVSS vector, CWE-434 classification, and referenced public GitHub report. Avoid assuming active exploitation or specific patch availability.

Mitigation direction

  • Identify and isolate any ejinshan v8+ terminal security system deployments.
  • Check vendor or maintainer guidance before applying product-specific fixes.
  • Restrict access to management or upload interfaces to trusted networks.
  • Apply confirmed vendor updates or configuration changes when available.
  • Review server file locations for unexpected uploaded files.

Validation and detection

  • Confirm whether any assets run ejinshan v8+ terminal security system v8 or later.
  • Check whether affected systems are internet-facing or reachable from untrusted networks.
  • Review application and web server logs for unusual upload activity.
  • Inspect writable web directories for unauthorized or unexpected files.
  • Monitor CVE and vendor sources for affected-version and fix updates.
Prepared
Confidence
medium
Sources
3

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 · medium confidence lookup

CWE-434: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. 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
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-31314 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
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

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

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
2Source 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
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2021-31314Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

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
n/an/an/aListed
Weakness

CWE details

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

CWE-434 · source CWE mapping

Unrestricted Upload of File with Dangerous Type

Unrestricted Upload of File with Dangerous Type represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.