Achievo <= 1.3.2 (FCKEditor) Unrestricted File Upload Vulnerability
The bundled FCKEditor file manager in Achievo 1.2.0 through 1.3.2 allows an unrestricted file upload, so a remote attacker can upload a file whose name ends in .php followed by a safe extension and then request it directly to run arbitrary code. The text notes this only works where multiple extensions are honoured, such as Apache with mod_mime enabled.
karmainsecurity.com
Published on karmainsecurity.com
Unrestricted file upload in the mcpuk file editor (atk/attributes/fck/editor/filemanager/browser/mcpuk/connectors/php/config.php) in Achievo 1.2.0 through 1.3.2 allows remote attackers to execute arbitrary code by uploading a file with .php followed by a safe extension, then accessing it via a direct request to the…
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 uploaded file names or extensions, and the server's handling of multiple extensions let a .php segment be executed.
Impact
A remote attacker could execute arbitrary code on the server, but only in environments that support multiple extensions, such as Apache with mod_mime enabled.
What the attacker needed
Apache with mod_mime enabled; reachable mcpuk file editor
How it was found
- Upload a file whose name ends in .php followed by a safe extension through the mcpuk file editor.
- Request the uploaded file directly in the Achievo root directory to execute it.
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 is meant to accept only harmless files, like pictures. Here the uploader did not properly check the file name, so someone could upload a file that the web server treats as a program and then ask the server to run it. That gives the attacker control over what the server executes.
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.