LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31366: An arbitrary file upload vulnerability in the apiImportLabs function in api_labs.php of EVE-NG 2.0.3-112 Co...

An arbitrary file upload vulnerability in the apiImportLabs function in api_labs.php of EVE-NG 2.0.3-112 Community allows attackers to execute arbitrary code via a crafted UNL file.

HighCVSS 7.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2022-31366 is a high-severity file upload flaw in EVE-NG Community 2.0.3-112. A user with high privileges could upload a crafted lab file and cause code execution on the server. The source bundle does not name a vendor patch or confirm active exploitation.

Executive priority

Treat as high priority for any internet-reachable or broadly administered EVE-NG system. The flaw can lead to server code execution, but available evidence indicates high privileges are required and does not confirm active exploitation.

Technical view

The CVE describes CWE-434 in apiImportLabs within api_labs.php. The vulnerable path handles UNL lab imports and may allow arbitrary file upload leading to arbitrary code execution. CVSS 3.1 is 7.2 with network access, low complexity, high privileges, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most likely in organizations running EVE-NG Community 2.0.3-112 where privileged users can access lab import functionality. The CVE metadata's affected-product fields are incomplete, so validate against actual installed versions and vendor records.

Exploitation context

The source bundle includes a public technical writeup, but KEV is false and no cited source confirms active exploitation. The CVSS vector requires high privileges, which reduces opportunistic exposure but still matters for compromised admins or insider misuse.

Researcher notes

The CVE record is sparse: affected CPEs are not populated, and the bundle names no patch. Analysis should stay anchored to EVE-NG Community 2.0.3-112, apiImportLabs, api_labs.php, crafted UNL import handling, CWE-434, and CVSS 7.2.

Mitigation direction

  • Identify EVE-NG Community 2.0.3-112 instances and prioritize review.
  • Check EVE-NG vendor guidance for fixed builds or official workaround.
  • Restrict administrative and API access to trusted networks and users.
  • Review privileged account hygiene and remove unnecessary import access.
  • Monitor for unexpected lab imports, file changes, or service behavior.

Validation and detection

  • Confirm deployed EVE-NG edition and version from asset records.
  • Verify who can access the lab import API or UI workflow.
  • Review application and web server logs for unusual import activity.
  • Check filesystem integrity for unexpected files near EVE-NG application paths.
  • Document whether vendor guidance or an upgrade path exists.
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

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program 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-2022-31366 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
High
CVSS
7.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/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
3Timeline events
2ADP providers
2Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total

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
7.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H1.25.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.2High
CVSS 3.1 vector shape for CVE-2022-31366Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/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

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc

Source materials

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.