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.
setting status. web-apps, please advise.
Hmm no, I was right at first, it's a B1 since ppc had a stable version. sorry for the noise.
There is currently no fixed version available from UPSTREAM. I did proceed as suggested by the advisory and automatically remove the UpLoad.php file during the installation. Now there is an updated ebuild phpwiki-1.3.10-r3 that contains this fix. It is still marked unstable for ppc. Please test and mark stable on ppc as soon as possible. I removed two older ebuilds phpwiki-1.3.1{1,2} and added phpwiki-1.3.13_rc1 which will also remove UpLoad.php automatically during install. Please advise people with a phpwiki installation to immeadiately remove their UpLoad.php file.
ppc, please test and mark www-apps/phpwiki-1.3.10-r3 stable.
ppc stable
thanks. ready for glsa.
GLSA 200705-16, thanks everybody