CVE-2022-50993
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedWeaver (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 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).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceWeaver E-office versions before 10.0_20221201 have an unauthenticated arbitrary file upload vulnerability in the OfficeServer.php endpoint. Attackers can send multipart POST requests with arbitrary filenames and content types to upload malicious PHP files to the Document directory, then execute them via HTTP GET requests to achieve remote code execution as the web server user.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Weaver E-office installation and versionLocate the main E-office installation directory and look for version information in configuration files, headers, or the application itself. Common locations include the web root or a dedicated E-office directory.Affected if The installed version is lower than 10.0_20221201 and the application is Weaver E-office.
-
Verify OfficeServer.php exists and is web-accessibleCheck if OfficeServer.php file exists in the web-accessible directory, typically found in the E-office web root or /api/ path.Affected if OfficeServer.php exists and is reachable via HTTP/HTTPS from the web.
-
Confirm Document directory is web-accessibleCheck for a 'Document' or 'documents' directory within the web-accessible E-office installation that can store uploaded files.Affected if The Document directory exists and is accessible via HTTP/HTTPS (uploaded files can be served).
-
Check if uploaded files can be executedTest whether the web server will execute PHP files in the Document directory by attempting to access an existing legitimate file or checking server configuration.Affected if The web server executes PHP or other script files in the Document directory rather than serving them as plain text.
-
Compare version to affected rangeReview the identified version against the affected range: versions before 10.0_20221201 are vulnerable.Affected if The installed version is any version prior to 10.0_20221201.
You are affected if Weaver E-office version is below 10.0_20221201 AND OfficeServer.php is web-accessible AND the Document directory allows web-accessible file uploads that can be executed as scripts.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Weaver E-office version 10.0_20221201 or later to patch the arbitrary file upload vulnerability. If immediate patching is not possible, restrict access to OfficeServer.php or disable file upload functionality in the Document directory until the patch can be applied.
Weaver E-office version 10.0_20221201 or later
- Obtain the official Weaver E-office version 10.0_20221201 or later from the vendor's authorized distribution channel
- Take a complete backup of the current E-office installation including the webroot, database, and configuration files
- Deploy version 10.0_20221201 in a staging environment to verify compatibility with existing workflows
- Apply the upgrade to the production environment following vendor documentation
- Verify that the OfficeServer.php endpoint no longer accepts unauthenticated file uploads
- Confirm that existing legitimate file upload functionality works correctly
- Monitor logs for any suspicious POST requests to OfficeServer.php indicating continued exploitation attempts
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation8.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,296.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-50993 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-50993 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data