[<prev] [next>] [day] [month] [year] [list]
Message-Id: <7087C17F-1449-458F-8FCB-D64B7D1D29A6@lifeforms.nl>
Date: Mon, 19 Sep 2016 17:10:39 +0200
From: Walter Hop <walter@...eforms.nl>
To: fulldisclosure@...lists.org
Subject: [FD] Unrestricted Upload/RCE in Neosense theme for WordPress
Unrestricted Upload/RCE in Neosense theme for WordPress
https://lifeforms.nl/20160919/unrestricted-upload-neosense <https://lifeforms.nl/20160919/unrestricted-upload-neosense>
Vulnerability:
Neosense is a WordPress theme by dynamicpress. (https://themeforest.net/item/neosense-multipurpose-wordpress-theme/6363229 <https://themeforest.net/item/neosense-multipurpose-wordpress-theme/6363229>)
Neosense theme version 1.7 contains an unrestricted file upload vulnerability.
Version 1.7 (and possibly earlier) includes in its theme directory a copy of the "qquploader" ajax file uploader, which does not verify user authorization. Using this uploader, an attacker can upload any file to the site. The uploaded file is placed in the wp-content/uploads/YYYY/mm directory, which is normally writable.
The vulnerability can be used to achieve remote code execution by uploading a PHP script with extension .php or .phtml.
Fix:
The vulnerability was fixed in Neosense theme 1.8 by switching to WordPress core functions for file uploads.
Timeline:
- 12 Aug: Vulnerability submitted to dynamicpress
- 16 Aug: Response by dynamicpress
- 29 Aug: Neosense theme 1.8 released by dynamicpress
- 19 Sep: Vulnerability published
Credits:
The vulnerability was found by Walter Hop, Slik BV, The Netherlands.
--
Walter Hop | PGP key: https://lifeforms.nl/pgp
_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/
Powered by blists - more mailing lists