Skip to content

Instantly share code, notes, and snippets.

@MrWhiteD
Created August 17, 2022 10:35
Show Gist options
  • Save MrWhiteD/108b5b8531a3b5d6c37f1cf75a66ce3d to your computer and use it in GitHub Desktop.
Save MrWhiteD/108b5b8531a3b5d6c37f1cf75a66ce3d to your computer and use it in GitHub Desktop.
[Битрикс , вирус, редиректы и уязвимость в модуле vote] https://fstrange.ru/coder/php/bitrix-virus-vote.html #bitrix #битрикс #security #backdoor
<?
//В файл /bitrix/tools/vote/uf.php перед required
// Добавляем:
$request = \Bitrix\Main\Context::getCurrent()->getRequest();
if ( $request ->isPost()) {
CHTTP::SetStatus( "404 Not Found" );
@define( "ERROR_404" , "Y" );
die ();
}
//В файл /bitrix/tools/html_editor_action.php перед required
// Добавляем:
$request = \Bitrix\Main\Context::getCurrent()->getRequest();
if ( $request ->isPost()) {
CHTTP::SetStatus( "404 Not Found" );
@define( "ERROR_404" , "Y" );
die ();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment