Новости Joomla

Вышли релизы безопасности Joomla 6.1.1 и Joomla 5.4.6

Релиз безопасности Joomla 6.1.1 и Joomla 5.4.6

Проект Joomla! рад сообщить о выходе Joomla 6.1.1 и Joomla 5.4.6. Это релизы безопасности и исправления ошибок для серий 5.x и 6.x.

0 Пользователей и 1 Гость просматривают эту тему.
  • 6 Ответов
  • 2664 Просмотров
*

alexanderussgold

  • Захожу иногда
  • 230
  • 1 / 0
Есть ли вредоносный код
« : 17.12.2011, 22:23:38 »
Google определил, что на сайте есть вирус! Сделал полный бэкап сайта, но смущает то, что осталось два htacess. При чем второй имеет странное содержание:
##
# @version $Id: htaccess.txt 21064 2011-04-03 22:12:19Z dextercowley $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your SEF url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension XML files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension XML files
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode data within the URL
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
########## End - Rewrite rules to block out some common exploits


########## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
########## End - Custom redirects


#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} (/[^.]*|\.(php|html?|feed|pdf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
########## End - Joomla! core SEF Section



Проверял сайт на специальных ресурсах на вирусы - результат отрицательный. Но Google и Яндекс упорно утверждают, что на сайте есть вредоносный код.
И за что отвечает файл php-cgi.core? Откуда он появился не представляю
« Последнее редактирование: 17.12.2011, 22:48:22 от alexanderussgold »
*

broker_alexandr

  • Захожу иногда
  • 99
  • 12 / 0
Re: Есть ли вредоносный код
« Ответ #1 : 18.12.2011, 04:25:20 »
А может с помощью .htaccess просто перенаправляют ваши страницы на сайт с вредоносным кодом? Именно так было у меня. В папке images в корне сайта, создали папку img, закачали кучу HTML страниц и переписали .htaccess. В любом случае стоит проверить сайт на лишние файлы и папки ну и вернуть нормальный .htaccess.
*

Nazamok

  • Осваиваюсь на форуме
  • 25
  • 4 / 0
Re: Есть ли вредоносный код
« Ответ #2 : 18.12.2011, 04:32:19 »
Смотрите HTML код на наличие левых скриптов или ифреймов. Скорее всего в них дело. С htaccess тут все норм.
*

alexanderussgold

  • Захожу иногда
  • 230
  • 1 / 0
Re: Есть ли вредоносный код
« Ответ #3 : 18.12.2011, 10:36:33 »
htacess новый залил. Жаль, что теперь с индекса повылетали практически все страницы. Посещаемость упала к "нулю". Кто сталкивался, восстанавливают поисковики все на место или нет?
*

wishlight

  • Гуру
  • 5086
  • 321 / 1
  • От 300 руб быстрый хостинг. Сервера.
Re: Есть ли вредоносный код
« Ответ #4 : 18.12.2011, 12:01:33 »
Страницы с кодом должны быть указаны в инструментах вебмастера от Яндекса и Google. Потом нужно разобраться, что меня эти файлы.
*

alexanderussgold

  • Захожу иногда
  • 230
  • 1 / 0
Re: Есть ли вредоносный код
« Ответ #5 : 18.12.2011, 14:54:14 »
Да, страницы указаны. Я на них захожу,но все в норме, никакой переадресации, как утверждает Google
*

Град

  • Захожу иногда
  • 152
  • 67 / 0
  • В Багдаде все спокойно
Re: Есть ли вредоносный код
« Ответ #6 : 18.12.2011, 17:05:32 »
надо ждать тогда
СИЛЬНЫЙ ЕСТ ВКУСНОГО !
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Взломали сайт, что делает код?

Автор Леон

Ответов: 11
Просмотров: 2241
Последний ответ 01.12.2016, 11:58:25
от wishlight
Вирус js.redirector.304

Автор tegos134

Ответов: 1
Просмотров: 1610
Последний ответ 24.08.2016, 22:18:17
от beliyadm
В Head появляется скрипт

Автор Zegeberg

Ответов: 3
Просмотров: 1633
Последний ответ 23.06.2016, 16:07:19
от Zegeberg
Проблемы с правами после смены хостинга

Автор Леон

Ответов: 2
Просмотров: 1567
Последний ответ 10.05.2016, 11:39:36
от Леон
Появляются новые пользователи "Super User" с логи

Автор crcp_kz

Ответов: 9
Просмотров: 3129
Последний ответ 25.04.2016, 11:54:06
от FitMe