{"id":181731,"date":"2026-05-25T20:48:17","date_gmt":"2026-05-25T18:48:17","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/novaya-uyazvimost-v-rewrite-module-nginx"},"modified":"2026-05-25T20:48:17","modified_gmt":"2026-05-25T18:48:17","slug":"novaya-uyazvimost-v-rewrite-module-nginx","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/novaya-uyazvimost-v-rewrite-module-nginx","title":{"rendered":"Nov\u00e1 zranitelnost v modulu rewrite nginx","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex>      <\/p>\n<p>Netrvalo dlouho po odhalen\u00ed <a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/security\/18295901\">18let\u00e9ho<\/a> potenci\u00e1ln\u00edho RCE, kdy byla odhalena dal\u0161\u00ed, <a rel=\"nofollow\" href=\"https:\/\/www.cve.org\/CVERecord?id=CVE-2026-9256\">CVE-2026-9256<\/a>, tentokr\u00e1t trvaj\u00edc\u00ed je\u0161t\u011b d\u00e9le&nbsp;&mdash; 21 rok, po\u010d\u00ednaje verz\u00ed 0.1.17, vydanou na za\u010d\u00e1tku roku 2005.<\/noindex><br \/>\nPro zneu\u017eit\u00ed zranitelnosti je vy\u017eadov\u00e1no, aby v konfiguraci serveru byla direktiva rewrite, kter\u00e1 m\u00e1:\n<\/p>\n<ul>\n<li> v prvn\u00edm argumentu p\u0159ekr\u00fdvaj\u00edc\u00ed se definitive \u010d\u00e1sti regul\u00e1rn\u00edho v\u00fdrazu,\n<\/li>\n<li> ve druh\u00e9m se pou\u017e\u00edv\u00e1 dv\u011b nebo v\u00edce z nich, ale neexistuj\u00ed \u017e\u00e1dn\u00e9 prom\u011bnn\u00e9,\n<\/li>\n<li> p\u0159itom je bu\u010f uveden typ &#171;redirect&#187;, nebo parametry ve druh\u00e9m argumentu se nach\u00e1zej\u00ed za otazn\u00edkem.\n<\/li>\n<\/ul>\n<p>\nP\u0159\u00edklady:<br \/>\nrewrite ^\\\/((.*))$ http:\\\/\\\/127.0.0.1:8080\\\/$1$2 redirect;<br \/>\nrewrite ^\\\/((.*))$ http:\\\/\\\/127.0.0.1:8080\\\/?$1$2;<\/p>\n<p>Oba zp\u016fsob\u00ed p\u0159ete\u010den\u00ed bufferu p\u0159i zpracov\u00e1n\u00ed po\u017eadavku &#171;\\\/++++++++++++++++++++++++++++++&#187;.<\/p>\n<p>Jak v p\u0159edchoz\u00ed zranitelnosti, v tomto p\u0159\u00edpad\u011b vypo\u010d\u00edtan\u00e1 d\u00e9lka bufferu nemus\u00ed odpov\u00eddat skute\u010dn\u00e9mu po\u010dtu ulo\u017een\u00fdch dat&nbsp;&mdash; p\u0159i v\u00fdpo\u010dtu d\u00e9lky nebylo v\u0161ude zohledn\u011bno mo\u017en\u00e9 escapov\u00e1n\u00ed.<\/p>\n<p>V\u00fd\u0161e uveden\u00e9 m\u016f\u017ee v\u00e9st k hav\u00e1rii pracovn\u00edho procesu nginx, a p\u0159i absenci ALSR&nbsp;&mdash; k RCE. Jako zm\u00edr\u0148uj\u00edc\u00ed okolnost lze uv\u00e9st je\u0161t\u011b men\u0161\u00ed pravd\u011bpodobnost v\u00fdskytu zraniteln\u00fdch konstrukc\u00ed v konfiguraci, ne\u017e minule.<\/p>\n<p>Chyba byla opravena ve verz\u00edch 1.30.2 a 1.31.1 (<a rel=\"nofollow\" href=\"https:\/\/github.com\/nginx\/nginx\/commit\/ca4f92a27464ae6c2082245e4f67048c633aa032\">commit opravy<\/a>).\n<\/p>\n<p>Zdroj: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/security\/18300022\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u0441\u043a\u043e\u0440\u0435 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u044f 18-\u043b\u0435\u0442\u043d\u0435\u0433\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e RCE \u0431\u044b\u043b\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u0435\u0449\u0451 \u043e\u0434\u043d\u043e, CVE-2026-9256, \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043f\u0440\u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0432\u0448\u0435\u0435 \u0435\u0449\u0451 \u0434\u043e\u043b\u044c\u0448\u0435&nbsp;&mdash; 21 \u0433\u043e\u0434, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 0.1.17, \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0439 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 2005 \u0433\u043e\u0434\u0430. \u0414\u043b\u044f \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b rewrite, \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0439: \u0432 \u043f\u0435\u0440\u0432\u043e\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0435 \u0438\u043c\u0435\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u0432\u0430 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-181731","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412\u0441\u043a\u043e\u0440\u0435 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u044f 18-\u043b\u0435\u0442\u043d\u0435\u0433\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e RCE \u0431\u044b\u043b\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u0435\u0449\u0451 \u043e\u0434\u043d\u043e,\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/cs\/blog\/news\/novaya-uyazvimost-v-rewrite-module-nginx\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041d\u043e\u0432\u0430\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 rewrite-\u043c\u043e\u0434\u0443\u043b\u0435 nginx | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412\u0441\u043a\u043e\u0440\u0435 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u044f 18-\u043b\u0435\u0442\u043d\u0435\u0433\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e RCE \u0431\u044b\u043b\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u0435\u0449\u0451 \u043e\u0434\u043d\u043e,\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/novaya-uyazvimost-v-rewrite-module-nginx\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-05-25T18:48:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-05-25T18:48:17+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Nov\u00e1 zranitelnost v rewrite-modulu nginx | ProHoster","description":"Netrvalo dlouho po odhalen\u00ed 18let\u00e9ho potenci\u00e1ln\u00edho RCE, kdy byla odhalena dal\u0161\u00ed,","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/novaya-uyazvimost-v-rewrite-module-nginx","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041d\u043e\u0432\u0430\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 rewrite-\u043c\u043e\u0434\u0443\u043b\u0435 nginx | ProHoster","og:description":"\u0412\u0441\u043a\u043e\u0440\u0435 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u044f 18-\u043b\u0435\u0442\u043d\u0435\u0433\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e RCE \u0431\u044b\u043b\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u0435\u0449\u0451 \u043e\u0434\u043d\u043e,","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/novaya-uyazvimost-v-rewrite-module-nginx","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-05-25T18:48:17+00:00","article:modified_time":"2026-05-25T18:48:17+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/181731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=181731"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/181731\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=181731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=181731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=181731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}