Iptanus File Upload 5.3.2

This is a security release. It fixes an arbitrary file deletion vulnerability and a set of cross-site scripting issues. Please update as soon as you can.

The first issue was reported independently by crow through Wordfence and by Kang MinSeok of AhnLab through Patchstack. It affected sites with the Personal Data option switched on. The site also needed an uploader form set to send email notifications and to treat uploaded files as personal data. On such a site, a visitor who was not logged in could craft a request. It made the plugin delete a file of their choosing on the server. The same flaw could also write an uploaded file outside the upload folder you had configured.

The cause lay in the way the plugin keeps its per-visitor state. Records are stored one after another, each wrapped in delimiter characters. A name supplied by the visitor was allowed to contain those same characters. That made it possible to plant forged records among the genuine ones. Those characters are now stripped from record names, on reading and on writing alike. A forged record can no longer be created, so neither the deletion nor the out-of-folder write can be triggered.

The second report, from dzaku through Patchstack, is about escaping. Two kinds of value were not escaped for the context they were written into. One is the labels and option lists of userdata fields in an uploader form. The other is the uploading page’s title, shown on the file details page of the plugin’s Dashboard. Some sites let Contributor-level users submit content for review. One of them could store content that ran a script. The script ran in the browser of an editor or administrator who viewed the content. Each of those values is now encoded for its own context, so the script cannot run.

Updating is the whole of the fix. There is nothing to reconfigure afterwards, and no uploader form needs to be rebuilt.

You can find the complete list of changes in the Release Notes of the plugin’s support page.

Users can update to the latest version using the Update feature of the Plugins section of their Dashboard.

The Iptanus team keeps working to make Iptanus File Upload easier to use and freer of bugs, and will go on issuing new releases.

For more information or technical support, please contact us.

The Iptanus team

Ask a question

Answered by Iptanus, usually within a working day.

Ask a question

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top