Pligg CMS 2.0.2: Code Execution and CSRFDate: 2015-10-07 11:43:07
|Affected Product:||Pligg CMS 2.0.2|
|Fixed in:||not fixed|
|Fixed Version Link:||n/a|
|Vulnerability Type:||Code Execution & CSRF|
|Reported to vendor:||09/01/2015|
|Disclosed to public:||10/07/2015|
|Release mode:||Full Disclosure|
|Credits||Tim Coen of curesec GmbH|
2. Vulnerability Description
The file editor provides the possibility to edit .tpl files stored in the templates directory.
But the file editor is vulnerable to directory traversal when saving files, and it does not check the submitted filename against a whitelist of allowed files. It also does not check the file extension. Because of this, it is possible to gain code execution.
Admin credentials are required to access the file editor, but the request does not have CSRF protection, so an attacker can gain code execution by getting the admin to visit a website they control while logged in.
3. Proof of Concept
This issue was not fixed by the vendor.
5. Report Timeline
|09/01/2015||Informed Vendor about Issue (no reply)|
|09/22/2015||Reminded Vendor of disclosure date|
|09/22/2015||Vendor replied, issue has been send to staff|
|09/29/2015||Reminded Vendor of disclosure date (no reply)|
|10/07/2015||Disclosed to public|