Skip to content
File upload Write-up Beginner

WordPress Kish Guest Posting <= 1.2 Unrestricted File Upload Vulnerability

The Kish Guest Posting plugin for WordPress includes an uploadify.php script that does not properly verify or sanitize uploaded files. A remote user could upload a PHP file and execute arbitrary code on the server.

karmainsecurity.com

Published on karmainsecurity.com

The Kish Guest Posting Plugin for WordPress contains a flaw that allows a remote user to execute arbitrary PHP code. This flaw exists because the plugin uses the uploadify.php script, which does not properly verify or sanitize user-uploaded files.

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 uploadify.php script accepts any file type without validating its extension or content, allowing PHP files to be stored and executed.

Impact

A remote user could execute arbitrary PHP code on the server, potentially taking full control of the WordPress site.

What the attacker needed

WordPress with Kish Guest Posting plugin; no authentication required

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.

This WordPress plugin lets guests upload files, but it does not check what kind of file is being uploaded. Because of that, someone could upload a PHP script, which the server would then run, giving the attacker control over the website.

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.