Jump to content
TCH-Thomas

Phpwiki "upload" Php Script Upload Vulnerability

Recommended Posts

From Secunia (http://secunia.com/advisories/24888/)

 

Rating: Highly critical

 

Description:

A vulnerability has been discovered in PhpWiki, which can be exploited by malicious people to compromise a vulnerable system.

 

The "UpLoad" wiki page (index.php/UpLoad) fails to properly validate the extension of an uploaded file. The blacklist of disallowed file extensions does not include for example ".php3" and ".phtml". This can be exploited to upload files with such extensions and execute arbitrary PHP code on the server.

 

Successful exploitation requires being logged in and that the webserver is configured to execute PHP scripts with such extensions. In the default configuration of PhpWiki, no registration or validation is necessary to log in.

 

NOTE: The vulnerability is currently being actively exploited.

 

The vulnerability is confirmed in version 1.3.12p3. Other versions may also be affected.

 

Solution:

Disable the UpLoad functionality by giving the file "lib/plugin/UpLoad.php" the permissions 000 or by moving the file outside of the web tree.

 

Provided and/or discovered by:

Discovered as a 0-day.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...