Cyber Posture

CVE-2022-50993

CriticalPublic PoC

Published: 30 April 2026

Published
30 April 2026
Modified
30 April 2026
KEV Added
Patch
CVSS Score 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0028 51.6th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Description

Weaver (Fanwei) E-office versions prior to 10.0_20221201 contain an unauthenticated arbitrary file upload vulnerability in the OfficeServer.php endpoint that allows remote attackers to upload malicious files by sending multipart POST requests with arbitrary filenames and disguised content types. Attackers can…

more

upload PHP webshells to the Document directory and execute them via HTTP GET requests to achieve remote code execution as the web server user. Exploitation evidence was first observed by the Shadowserver Foundation on 2022-10-10 (UTC).

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly validates file content types and payloads in multipart POST requests to OfficeServer.php, preventing uploads of malicious PHP webshells with disguised content types.

prevent

Restricts classes of allowed file types and filenames for uploads to the Document directory, blocking arbitrary dangerous files like PHP webshells.

prevent

Remediates the specific flaw in OfficeServer.php by applying vendor patches to Weaver E-Office version 10.0_20221201 or later, eliminating the vulnerability.

Security SummaryAI

CVE-2022-50993 is an unauthenticated arbitrary file upload vulnerability affecting Weaver (Fanwei) E-Office versions prior to 10.0_20221201. The flaw resides in the OfficeServer.php endpoint, which permits remote attackers to upload malicious files through multipart POST requests using arbitrary filenames and disguised content types. This leads to the placement of files, such as PHP webshells, in the Document directory. The vulnerability carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is associated with CWE-434 (Unrestricted Upload of File with Dangerous Type).

Any remote attacker can exploit this vulnerability without authentication, privileges, or user interaction by sending crafted HTTP requests to the vulnerable endpoint. Successful exploitation allows uploading and executing PHP webshells via subsequent HTTP GET requests, resulting in remote code execution with the privileges of the web server user. This grants attackers high confidentiality, integrity, and availability impacts, potentially enabling full server compromise.

Advisories, including those from the vendor at service.e-office.cn and third-party sources like Chaitin, CN-Sec, and VulnCheck, highlight the need to upgrade to Weaver E-Office version 10.0_20221201 or later to mitigate the issue. Exploitation evidence was first observed in the wild by the Shadowserver Foundation on 2022-10-10 (UTC), indicating active targeting prior to the CVE publication on 2026-04-30.

Details

CWE(s)

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Why these techniques?

CVE-2022-50993 allows unauthenticated arbitrary file upload to a public-facing web application endpoint, enabling exploitation of public-facing applications (T1190) and deployment/execution of PHP webshells for RCE (T1100).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References