Unauthenticated file upload and RCE in Weaver E-office
CVE-2022-50993 is an unauthenticated arbitrary file upload vulnerability affecting Weaver (Fanwei) E-office versions earlier than 10.0_20221201. The OfficeServer endpoint accepts multipart POST requests containing arbitrary filenames and disguised content types, allowing remote attackers to upload PHP webshells and execute them through HTTP GET requests as the web server user. The Shadowserver Foundation first observed exploitation evidence on October 10, 2022, UTC. An alternative characterization as arbitrary file read through XmlRpcServlet conflicts with the file-upload characterization and remains unresolved.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows attacker-controlled PHP code to execute with the privileges of the web server user. The resulting access is bounded by that account's permissions. The alternative arbitrary-file-read characterization is inconsistent with the described upload mechanism.
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict or disable external access to the vulnerable OfficeServer.php endpoint, especially from untrusted networks. Block multipart upload requests to the endpoint where operationally feasible, and place the application behind access controls, VPN, or IP allowlisting. Configure the web server so upload directories are non-executable, and deny execution of PHP or other server-side scripts from the Document directory and other writable paths. Monitor for suspicious file uploads, newly created PHP files in web-accessible directories, and subsequent HTTP GET requests to uploaded content. Web application firewall rules targeting arbitrary file upload patterns may reduce exposure but are not a substitute for remediation.
Patch, then assume compromise.
Upgrade Weaver E-office to version 10.0_20221201 or later and apply the vendor's applicable patches. Versions earlier than this release are identified as affected.
No public exploits tracked yet. Mallory keeps watching.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.