{"id":105776,"date":"2022-12-01T15:37:11","date_gmt":"2022-12-01T13:37:11","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/udalyonno-ekspluatiruemaya-root-uyazvimost-v-utilite-ping-postavlyaemoj-vo-freebsd"},"modified":"2022-12-01T15:37:11","modified_gmt":"2022-12-01T13:37:11","slug":"udalyonno-ekspluatiruemaya-root-uyazvimost-v-utilite-ping-postavlyaemoj-vo-freebsd","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/udalyonno-ekspluatiruemaya-root-uyazvimost-v-utilite-ping-postavlyaemoj-vo-freebsd","title":{"rendered":"T\u00e1volr\u00f3l kihaszn\u00e1lhat\u00f3 root-sebezhet\u0151s\u00e9g a FreeBSD-hez \u00e9rkez\u0151 ping programban","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>A FreeBSD-ben felfedeztek egy s\u00e9r\u00fcl\u00e9kenys\u00e9get (CVE-2022-23093) a ping seg\u00e9dprogramban, amely a rendszer alapszolg\u00e1ltat\u00e1sainak r\u00e9sze. A probl\u00e9ma potenci\u00e1lisan lehet\u0151v\u00e9 teheti a t\u00e1voli k\u00f3d v\u00e9grehajt\u00e1s\u00e1t root jogosults\u00e1gokkal, amikor egy t\u00e1mad\u00f3 \u00e1ltal ellen\u0151rz\u00f6tt k\u00fcls\u0151 gazdag\u00e9p pingel\u00e9se t\u00f6rt\u00e9nik. A jav\u00edt\u00e1st a FreeBSD 13.1-RELEASE-p5, 12.4-RC2-p2 \u00e9s 12.3-RELEASE-p10 friss\u00edt\u00e9sekben javasolj\u00e1k. M\u00e1s BSD rendszerek \u00e9rintetts\u00e9ge a felfedezett s\u00e9r\u00fcl\u00e9kenys\u00e9ggel kapcsolatban egyel\u0151re nem vil\u00e1gos (NetBSD, DragonFlyBSD \u00e9s OpenBSD s\u00e9r\u00fcl\u00e9kenys\u00e9g\u00e9r\u0151l m\u00e9g nem \u00e9rkeztek jelent\u00e9sek).      <\/p>\n<p>A s\u00e9r\u00fcl\u00e9kenys\u00e9g az ICMP \u00fczenetek feldolgoz\u00e1sa sor\u00e1n fell\u00e9p\u0151 puffert\u00falcsordul\u00e1sb\u00f3l ad\u00f3dik, melyek v\u00e1laszk\u00e9nt \u00e9rkeznek a tesztel\u0151 k\u00e9r\u00e9sre. A ping program ICMP \u00fczenetek k\u00fcld\u00e9s\u00e9re \u00e9s fogad\u00e1s\u00e1ra vonatkoz\u00f3 k\u00f3dja nyers socketeket haszn\u00e1l, \u00e9s emelt jogosults\u00e1gokkal fut (a seg\u00e9dprogram setuid root flaggel ker\u00fcl telep\u00edt\u00e9sre). A v\u00e1lasz feldolgoz\u00e1sa a ping oldal\u00e1n t\u00f6rt\u00e9nik, amikor az IP \u00e9s ICMP csomagok fejl\u00e9c\u00e9t rekonstru\u00e1lj\u00e1k a nyers socketb\u0151l \u00e9rkez\u0151 adatokb\u00f3l. Az IP \u00e9s ICMP fejl\u00e9cet a pr_pack() funkci\u00f3 m\u00e1solja a pufferekbe, figyelmen k\u00edv\u00fcl hagyva azt, hogy az IP fejl\u00e9c ut\u00e1n tov\u00e1bbi kiterjesztett fejl\u00e9c is tal\u00e1lhat\u00f3 a csomagban.     <\/p>\n<p>Az ilyen fejl\u00e9ceket a csomagb\u00f3l kiemelik \u00e9s a fejl\u00e9c blokkj\u00e1ba beillesztik, de nem veszik figyelembe a puffer m\u00e9ret\u00e9nek kisz\u00e1m\u00edt\u00e1sakor. Ha a gazdag\u00e9p az ICMP k\u00e9r\u00e9sre v\u00e1laszul kiterjesztett fejl\u00e9cekkel rendelkez\u0151 csomagot k\u00fcld, a tartalmuk a puffer hat\u00e1rain t\u00falra fog \u00edr\u00f3dni a veremben. Ennek k\u00f6vetkezt\u00e9ben a t\u00e1mad\u00f3 ak\u00e1r 40 b\u00e1jt adatot is fel\u00fcl\u00edrhat a veremben, ami potenci\u00e1lisan lehet\u0151v\u00e9 teszi saj\u00e1t k\u00f3dja v\u00e9grehajt\u00e1s\u00e1t. A probl\u00e9ma vesz\u00e9ly\u00e9t m\u00e9rs\u00e9kli, hogy a hiba megjelen\u00e9sekor a folyamat a rendszerh\u00edv\u00e1sok elszigetelt \u00e1llapot\u00e1ban (capability mode) van, ami megnehez\u00edti a tov\u00e1bbi rendszerhez val\u00f3 hozz\u00e1f\u00e9r\u00e9st a s\u00e9r\u00fcl\u00e9kenys\u00e9g kihaszn\u00e1l\u00e1sa ut\u00e1n.<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=58232\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u043e FreeBSD \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2022-23093) \u0432 \u0443\u0442\u0438\u043b\u0438\u0442\u0435 ping, \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0443. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e \u043a\u043e\u0434\u0430 \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 root \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 ping \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0445\u043e\u0441\u0442\u0430, \u043f\u043e\u0434\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0443. \u0418\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043e \u0432 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u0445 FreeBSD 13.1-RELEASE-p5, 12.4-RC2-p2 \u0438 12.3-RELEASE-p10. \u041f\u043e\u0434\u0432\u0435\u0440\u0436\u0435\u043d\u044b \u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435 BSD-\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u043e\u043a\u0430 \u043d\u0435 \u044f\u0441\u043d\u043e (\u043e\u0442\u0447\u0451\u0442\u043e\u0432 \u043e\u0431 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 NetBSD, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-105776","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\u043e FreeBSD \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2022-23093) \u0432 \u0443\u0442\u0438\u043b\u0438\u0442\u0435 ping, \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0443.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/udalyonno-ekspluatiruemaya-root-uyazvimost-v-utilite-ping-postavlyaemoj-vo-freebsd\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\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\u0423\u0434\u0430\u043b\u0451\u043d\u043d\u043e \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0438\u0440\u0443\u0435\u043c\u0430\u044f root-\u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0443\u0442\u0438\u043b\u0438\u0442\u0435 ping, \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0439 \u0432\u043e FreeBSD | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412\u043e FreeBSD \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2022-23093) \u0432 \u0443\u0442\u0438\u043b\u0438\u0442\u0435 ping, \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0443.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/udalyonno-ekspluatiruemaya-root-uyazvimost-v-utilite-ping-postavlyaemoj-vo-freebsd\" \/>\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=\"2022-12-01T13:37:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-12-01T13:37:11+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\udd47T\u00e1volr\u00f3l kihaszn\u00e1lhat\u00f3 root s\u00e9r\u00fcl\u00e9kenys\u00e9g a FreeBSD rendszerben tal\u00e1lhat\u00f3 ping seg\u00e9dprogramban | ProHoster","description":"A FreeBSD-ben felfedeztek egy s\u00e9r\u00fcl\u00e9kenys\u00e9get (CVE-2022-23093) a ping seg\u00e9dprogramban, amely a rendszer alapszolg\u00e1ltat\u00e1sainak r\u00e9sze.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/udalyonno-ekspluatiruemaya-root-uyazvimost-v-utilite-ping-postavlyaemoj-vo-freebsd","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","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\u0423\u0434\u0430\u043b\u0451\u043d\u043d\u043e \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0438\u0440\u0443\u0435\u043c\u0430\u044f root-\u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0443\u0442\u0438\u043b\u0438\u0442\u0435 ping, \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0439 \u0432\u043e FreeBSD | ProHoster","og:description":"\u0412\u043e FreeBSD \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2022-23093) \u0432 \u0443\u0442\u0438\u043b\u0438\u0442\u0435 ping, \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0443.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/udalyonno-ekspluatiruemaya-root-uyazvimost-v-utilite-ping-postavlyaemoj-vo-freebsd","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":"2022-12-01T13:37:11+00:00","article:modified_time":"2022-12-01T13:37:11+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\/hu\/wp-json\/wp\/v2\/posts\/105776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=105776"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/105776\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=105776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=105776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=105776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}