{"id":1247,"date":"2018-06-28T13:50:42","date_gmt":"2018-06-28T09:50:42","guid":{"rendered":"http:\/\/www.volgablob.ru\/blog\/?p=1247"},"modified":"2022-05-09T11:51:28","modified_gmt":"2022-05-09T07:51:28","slug":"%d1%83%d1%81%d1%82%d1%80%d0%b0%d0%bd%d0%b5%d0%bd%d0%b8%d0%b5-%d1%83%d1%8f%d0%b7%d0%b2%d0%b8%d0%bc%d0%be%d1%81%d1%82%d0%b8-wordpress-%d0%ba%d0%be%d1%82%d0%be%d1%80%d0%b0%d1%8f-%d0%bf%d0%be%d0%b7%d0%b2","status":"publish","type":"post","link":"https:\/\/blog.volgablob.ru\/?p=1247","title":{"rendered":"\u0423\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 WordPress, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043d\u0430 web-\u0441\u0435\u0440\u0432\u0435\u0440\u0435"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><a href=\"http:\/\/www.volgablob.ru\/blog\/wp-content\/uploads\/2018\/06\/WordPress.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-1248\" src=\"http:\/\/www.volgablob.ru\/blog\/wp-content\/uploads\/2018\/06\/WordPress-300x200.png\" alt=\"WordPress File Delete to Code Execution\" width=\"300\" height=\"200\" srcset=\"https:\/\/blog.volgablob.ru\/wp-content\/uploads\/2018\/06\/WordPress-300x200.png 300w, https:\/\/blog.volgablob.ru\/wp-content\/uploads\/2018\/06\/WordPress-1000x667.png 1000w, https:\/\/blog.volgablob.ru\/wp-content\/uploads\/2018\/06\/WordPress-450x300.png 450w, https:\/\/blog.volgablob.ru\/wp-content\/uploads\/2018\/06\/WordPress-768x512.png 768w, https:\/\/blog.volgablob.ru\/wp-content\/uploads\/2018\/06\/WordPress-1536x1024.png 1536w, https:\/\/blog.volgablob.ru\/wp-content\/uploads\/2018\/06\/WordPress-2048x1365.png 2048w, https:\/\/blog.volgablob.ru\/wp-content\/uploads\/2018\/06\/WordPress-1024x683.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434 <a href=\"https:\/\/blog.ripstech.com\/2018\/wordpress-file-delete-to-code-execution\/\">\u0431\u044b\u043b\u0430 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430<\/a> \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c WordPress CMS.<\/p>\n<p>\u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0430\u0432\u0442\u043e\u0440\u0430 \u0438 \u0432\u044b\u0448\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0441 web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0414\u043e\u0442\u044f\u043d\u0443\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0434\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0441\u0430\u0439\u0442\u0430, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0445\u043e\u0440\u043e\u0448\u043e: \u0437\u0430\u0442\u0435\u0440\u0435\u0442\u044c \u0444\u0430\u0439\u043b\u044b\u00a0<em>.htaccess,\u00a0index.php,\u00a0wp-config.php.\u00a0<\/em><\/p>\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e \u0440\u043e\u043b\u0435\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u0440\u0430\u0432 \u0443 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0445\u0432\u0430\u0442\u0438\u0442, \u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u0445 web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043f\u043e \u0441\u0432\u043e\u0435\u043c\u0443 \u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044e.<\/p>\n<p>\u041f\u043e\u043a\u0430 \u043d\u0435 \u0432\u044b\u0448\u043b\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0437\u0430\u043f\u043b\u0430\u0442\u043a\u0430 (\u0430 \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f <strong>4.9.6<\/strong>\u00a0\u043f\u043e\u0434\u0432\u0435\u0440\u0436\u0435\u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438), \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0444\u0438\u043a\u0441\u0438\u0442\u044c \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e.\u00a0\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0442\u0435\u043c\u0435 WordPress \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0444\u0430\u0439\u043b\u00a0<em>functions.php<\/em> \u0438 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e:<\/p>\n<table class=\"lntable\" style=\"background: #272822; border-radius: 5px;\">\n<tbody>\n<tr>\n<td class=\"lntd\">\n<pre class=\"chroma\"><code class=\"language-php\" data-lang=\"php\"><span class=\"lnt\">1<\/span><span class=\"lnt\">2<\/span><span class=\"lnt\">3<\/span><span class=\"lnt\">4<\/span><span class=\"lnt\">5<\/span><span class=\"lnt\">6<\/span><span class=\"lnt\">7<\/span><span class=\"lnt\">8<\/span><span class=\"lnt\">9<\/span><\/code><\/pre>\n<\/td>\n<td class=\"lntd\">\n<pre class=\"chroma\"><code class=\"language-php\" data-lang=\"php\"><span class=\"nx\">add_filter<\/span><span class=\"p\">(<\/span> <span class=\"s1\">'wp_update_attachment_metadata'<\/span><span class=\"p\">,<\/span> <span class=\"s1\">'rips_unlink_tempfix'<\/span> <span class=\"p\">);<\/span>\r\n\r\n<span class=\"k\">function<\/span> <span class=\"nf\">rips_unlink_tempfix<\/span><span class=\"p\">(<\/span> <span class=\"nv\">$data<\/span> <span class=\"p\">)<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"k\">if<\/span><span class=\"p\">(<\/span> <span class=\"nx\">isset<\/span><span class=\"p\">(<\/span><span class=\"nv\">$data<\/span><span class=\"p\">[<\/span><span class=\"s1\">'thumb'<\/span><span class=\"p\">])<\/span> <span class=\"p\">)<\/span> <span class=\"p\">{<\/span>\r\n        <span class=\"nv\">$data<\/span><span class=\"p\">[<\/span><span class=\"s1\">'thumb'<\/span><span class=\"p\">]<\/span> <span class=\"o\">=<\/span> <span class=\"nx\">basename<\/span><span class=\"p\">(<\/span><span class=\"nv\">$data<\/span><span class=\"p\">[<\/span><span class=\"s1\">'thumb'<\/span><span class=\"p\">]);<\/span>\r\n    <span class=\"p\">}<\/span>\r\n\r\n    <span class=\"k\">return<\/span> <span class=\"nv\">$data<\/span><span class=\"p\">;<\/span>\r\n<span class=\"p\">}<\/span><\/code><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>VolgaBlob \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f, \u043a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c\u0441\u044f \ud83d\ude42<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434 \u0431\u044b\u043b\u0430 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c WordPress CMS. \u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0430\u0432\u0442\u043e\u0440\u0430 \u0438 \u0432\u044b\u0448\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0441 web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0414\u043e\u0442\u044f\u043d\u0443\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0434\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0441\u0430\u0439\u0442\u0430, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0445\u043e\u0440\u043e\u0448\u043e: \u0437\u0430\u0442\u0435\u0440\u0435\u0442\u044c \u0444\u0430\u0439\u043b\u044b\u00a0.htaccess,\u00a0index.php,\u00a0wp-config.php.\u00a0 \u0415\u0441\u043b\u0438 \u043f\u043e \u0440\u043e\u043b\u0435\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u0440\u0430\u0432 \u0443 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0445\u0432\u0430\u0442\u0438\u0442, \u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0438 [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,54],"tags":[86,92],"class_list":["post-1247","post","type-post","status-publish","format-standard","hentry","category-news","category-tips","tag-bug-fix","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=\/wp\/v2\/posts\/1247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1247"}],"version-history":[{"count":10,"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=\/wp\/v2\/posts\/1247\/revisions"}],"predecessor-version":[{"id":1258,"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=\/wp\/v2\/posts\/1247\/revisions\/1258"}],"wp:attachment":[{"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.volgablob.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}