/

CVE-2026-36669

Severity:

CRITICAL RISK

(9.8)

Arbitrary File Upload (CWE-434) in Feng Office 3.11

CVE-2026-36669

Deferred

Vulnerability type

Category:

Arbitrary File Upload

CWE:

CWE-434

Impact:

Remote Code Execution / Content Injection

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

An unauthenticated arbitrary file upload flaw in Feng Office allows remote attackers to place malicious files into a web-accessible temporary directory.

When the upload handler fails to restrict file types or enforce proper validation, attackers can store crafted files (such as HTML) that may be executed or used to stage further attacks.

Affected context

This vulnerability arises in Feng Office deployments where the ck_upload_handler.php script:

  • Is exposed to unauthenticated users over HTTP(S)
  • Accepts file uploads to a web-accessible /tmp/ directory
  • Does not strictly validate or restrict uploaded file types or paths

Under these conditions, uploaded files can be stored and accessed directly via the web server, increasing the risk of execution or misuse.

Exploit preconditions

  • Attack surface: Publicly exposed Feng Office instance with reachable ck_upload_handler.php.
  • Required access: No authentication required; attacker only needs network access to the application.
  • Trigger point: Sending an HTTP request that uploads an arbitrary file through the vulnerable handler.
  • Why exploitation is possible: The upload logic does not enforce strong server-side checks on file type, extension, or destination, allowing untrusted files to be written into a web-accessible directory without validation.

Why this happens

The core issue is insufficient control over uploaded files, aligning with CWE-434: Unrestricted File Upload.

The upload handler trusts client-supplied files and metadata, failing to apply robust server-side validation of content, allowed MIME types, and safe storage locations.

This insecure pattern permits arbitrary files to be stored under a path that the web server exposes, creating a bridge between untrusted input and executable or retrievable resources.

Potential impact

  • Attackers may upload HTML or script files that can be requested directly, enabling content injection or phishing pages.
  • Uploaded files could be leveraged for cross-site scripting or browser-based attacks against users.
  • Malicious payloads may be used to stage or support further exploitation of the server or adjacent systems.
  • Sensitive data exposure may occur if file uploads are combined with other misconfigurations.

General mitigation guidance

Effective mitigation focuses on tightening server-side control of file uploads and reducing the trust boundary of uploaded content.

Common defensive patterns include:

  • Restricting allowed file types to a minimal, well-defined whitelist and verifying both MIME type and content.
  • Enforcing safe file naming and ensuring files are stored outside web-accessible directories by default.
  • Applying strict size limits and content inspection to detect potentially harmful uploads.
  • Serving uploaded files through controlled handlers that sanitize output rather than direct filesystem access.
  • Employing least privilege for web server processes so uploaded files cannot be treated as executable code.

How teams detect issues like this

Detection typically involves reviewing upload-related code paths and monitoring filesystem changes:

  • Static analysis rules that flag file upload handlers lacking extension, type, or path validation.
  • Code review checklists that require examination of how uploaded files are named, stored, and served.
  • Logging and monitoring of upload endpoints, including anomaly detection for unexpected file types or high-volume uploads.
  • Configuration audits to identify web-accessible directories that store user-supplied files directly.

Sources

SourceLink
github.comgithub.com/firstlax6t/CVE-2026-36669-FengOffice
fengoffice.comfengoffice.com/

Frequently asked

questions

Yes. As described, attackers with network access to the Feng Office instance can exploit the upload handler without authentication.

Only the ability to send HTTP requests to the exposed ck_upload_handler.php endpoint; no valid user account is required.

Implement strict server-side validation and whitelisting of allowed file types, store uploads outside web-accessible paths, and ensure uploaded content is never treated as executable code.

Adopt a hardened upload architecture: centralize file handling logic, apply rigorous validation and sanitization, enforce non-executable storage locations, and include upload security checks in design reviews and automated testing.

Find out what's already
exploitable in your codebase.