Skip to content
File upload Write-up Intermediate

Nuke ET <= 3.4 (FCKEditor) Unrestricted File Upload Vulnerability

The FCKEditor file manager connector in Nuke ET allowed unrestricted uploads, so an attacker could upload a file containing PHP code disguised with a ZIP header and then request it directly to run that code. This could lead to remote code execution on the server.

karmainsecurity.com

Published on karmainsecurity.com

Unrestricted file upload vulnerability in editor/filemanager/browser/default/connectors/php/connector.php in FCKeditor 2.2, as used in Falt4 CMS, Nuke ET, and other products, allows remote attackers to execute arbitrary code by creating a file with PHP sequences preceded by a ZIP header, uploading this file via a…

The author, on karmainsecurity.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the file manager connector did not validate file type or content properly, allowing a file with a ZIP header and PHP code to be stored and later executed.

Impact

An attacker could execute arbitrary code on the server, potentially taking control of the application.

What the attacker needed

Access to the file upload feature; ability to send a crafted upload request

How it was found

  1. Create a file with PHP sequences preceded by a ZIP header.
  2. Upload the file using a FileUpload action with the application/zip content type.
  3. Access the uploaded file via a direct request in UserFiles/File/.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A file upload feature let people put files on the server without checking what kind of file it was. The attacker made a file that looked like a ZIP archive but also contained instructions the server would run as a program. By then opening that file in a browser, the attacker could make the server run their code.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.