{"id":114696,"date":"2024-04-01T12:25:54","date_gmt":"2024-04-01T10:25:54","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/uyazvimost-v-podsisteme-io_uring-pozvolyayushhaya-poluchit-privilegii-root"},"modified":"2024-04-01T12:25:54","modified_gmt":"2024-04-01T10:25:54","slug":"uyazvimost-v-podsisteme-io_uring-pozvolyayushhaya-poluchit-privilegii-root","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimost-v-podsisteme-io_uring-pozvolyayushhaya-poluchit-privilegii-root","title":{"rendered":"A Linux.org.ru projekt koordin\u00e1tora, Maxim \u201emaxcom\u201d Valjanski kijelentette, hogy a f\u00f3rum motorj\u00e1nak szabad forr\u00e1sk\u00f3d\u00fa licenc\u00e9t megv\u00e1ltoztatja.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Az io_uring aszinkron bels\u0151\/kiad\u00e1si interf\u00e9sz\u00e9ben, amelyet a Linux kernel biztos\u00edt, egy sebezhet\u0151s\u00e9get azonos\u00edtottak (CVE-2024-0582), amely lehet\u0151v\u00e9 teszi, hogy egy nem privilegiz\u00e1lt felhaszn\u00e1l\u00f3 root jogosults\u00e1gokat szerezzen a rendszerben. A sebezhet\u0151s\u00e9g kihaszn\u00e1l\u00e1s\u00e1hoz elegend\u0151 a szokv\u00e1nyos helyi hozz\u00e1f\u00e9r\u00e9s a rendszerhez, an\u00e9lk\u00fcl, hogy n\u00e9vt\u00e9r manipul\u00e1ci\u00f3kra lenne sz\u00fcks\u00e9g. Jelenleg egy m\u0171k\u00f6d\u0151 exploit is nyilv\u00e1nosan el\u00e9rhet\u0151, valamint r\u00e9szletesen le\u00edrt\u00e1k a sebezhet\u0151s\u00e9g kihaszn\u00e1l\u00e1s\u00e1nak m\u00e1sodik technik\u00e1j\u00e1t.    <\/p>\n<p>A sebezhet\u0151s\u00e9g egy m\u00e1r felszabad\u00edtott mem\u00f3ria blokkhoz (use-after-free) val\u00f3 hozz\u00e1f\u00e9r\u00e9sb\u0151l ad\u00f3dik az io_uring alrendszer\u00e9ben, amely a buffer regisztr\u00e1l\u00e1sakor \u00e9s felszabad\u00edt\u00e1sakor l\u00e9p fel, amikor az IORING_REGISTER_PBUF_RING z\u00e1szl\u00f3val j\u00f6n l\u00e9tre. Amikor mmap() m\u0171veletet alkalmaznak a bufferre, az a felszabad\u00edt\u00e1si m\u0171velet v\u00e9grehajt\u00e1sa ut\u00e1n is t\u00fckr\u00f6z\u0151dik a felhaszn\u00e1l\u00f3i t\u00e9rbe (IORING_UNREGISTER_PBUF_RING). Ezt a jellemz\u0151t kihaszn\u00e1lva a t\u00e1mad\u00f3 olvasni \u00e9s \u00edrni tud az oper\u00e1ci\u00f3s rendszer \u00e1ltal visszaadott mem\u00f3riaoldalakra.    <\/p>\n<p>A probl\u00e9ma a Linux kernel 6.4-es kiad\u00e1s\u00e1t\u00f3l kezdve jelentkezik, \u00e9s a 6.7-es \u00e9s 6.6.5-\u00f6s verzi\u00f3kban, valamint a 6.5.0-21-es kernelcsomagban lett jav\u00edtva, amely az Ubuntu 22.04 \u00e9s 23.10 rendszerekhez k\u00e9sz\u00fclt. \u00c9rdemes megjegyezni, hogy a f\u0151 kernelben a probl\u00e9ma jav\u00edt\u00e1sa 2023 december\u00e9ben t\u00f6rt\u00e9nt, a Google Zero projekt pedig janu\u00e1r 8-\u00e1n tette el\u00e9rhet\u0151v\u00e9 a sebezhet\u0151s\u00e9gre utal\u00f3 hibajelent\u00e9st, m\u00edg a jav\u00edtott kernelcsomag az Ubuntu sz\u00e1m\u00e1ra csak 2024. febru\u00e1r 22-\u00e9n k\u00e9sz\u00fclt el. M\u00e1s disztrib\u00faci\u00f3k eset\u00e9ben a jav\u00edt\u00e1sok \u00e9s a sebezhet\u0151s\u00e9gre val\u00f3 hajlam nyomon k\u00f6vethet\u0151 a k\u00f6vetkez\u0151 oldalakon: Debian, Gentoo, RHEL, SUSE, Fedora, Arch.     <\/p>\n<p>Az els\u0151 exploit manipul\u00e1lja a t\u00e1mogat\u00f3 \u00e1ltal vez\u00e9relt mem\u00f3riaoldalak kis sz\u00e1m\u00e1nak l\u00e9trehoz\u00e1s\u00e1val a mem\u00f3ria elrendez\u00e9s\u00e9nek meghat\u00e1roz\u00e1s\u00e1t a kernelben, \u00e9s a szomsz\u00e9dos fizikai mem\u00f3riaoldalakhoz val\u00f3 hozz\u00e1f\u00e9r\u00e9s \u00e9rdek\u00e9ben, speci\u00e1lisan kit\u00f6lt\u00f6tt h\u00e1l\u00f3zati socket strukt\u00far\u00e1k tartalm\u00e1t haszn\u00e1lva jelz\u0151kk\u00e9nt. A k\u00f3d v\u00e9grehajt\u00e1s\u00e1hoz az exploit egy \"gadget\"-et haszn\u00e1l (a kernelben l\u00e9tez\u0151 utas\u00edt\u00e1sok sorozata), amely a call_usermodehelper_exec funkci\u00f3 v\u00e9grehajt\u00e1s\u00e1hoz vezet, amely a felhaszn\u00e1l\u00f3i t\u00e9rben folyamatok ind\u00edt\u00e1s\u00e1ra szolg\u00e1l a kernelb\u0151l.       <\/p>\n<p>A m\u00e1sodik exploit arra alapoz, hogy amikor az \u00f6sszes slab-blokkb\u00f3l kifogy a cache (p\u00e9ld\u00e1ul, amikor egy f\u00e1jlt t\u00f6bbsz\u00f6r megnyitnak), a t\u00e1mad\u00f3 \u00e1ltal el\u00e9rhet\u0151 szabad mem\u00f3riaoldalakat a mem\u00f3riaeloszt\u00f3 rendszer \u00faj slab-blokk l\u00e9trehoz\u00e1s\u00e1ra haszn\u00e1lja, \u00e9s az \u00f6sszes \u00faj f\u00e1jlszerkezet ebben a blokkban kezd el elhelyezkedni. Ennek megfelel\u0151en egyes f\u00e1jlszerkezetek azokba a mem\u00f3riaoldalakba ker\u00fclnek, amelyeket a t\u00e1mad\u00f3 olvasni \u00e9s \u00edrni tud. Az exploit l\u00e9nyege az, hogy el\u00e9rje a f\u00e1jl cache-\u00e9ben a sz\u00fcks\u00e9ges f\u00e1jlt, \u00e9s kicser\u00e9lje a vele \u00f6sszef\u00fcgg\u0151 f\u00e1jlszerkezetekben az f_mode mez\u0151t, amely a hozz\u00e1f\u00e9r\u00e9si jogokat hat\u00e1rozza meg, lehet\u0151v\u00e9 t\u00e9ve, hogy a sz\u00fcks\u00e9ges rendszerf\u00e1jl \u00edr\u00e1sra hozz\u00e1f\u00e9rhet\u0151v\u00e9 v\u00e1ljon, p\u00e9ld\u00e1ul a \/etc\/passwd.<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=60891\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0433\u043e \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 io_uring, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u043c \u044f\u0434\u0440\u043e\u043c Linux, \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2024-0582), \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 root \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \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 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u0441 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430\u043c\u0438 \u0438\u043c\u0451\u043d. \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u044d\u043a\u0441\u043f\u043b\u043e\u0438\u0442, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u0442\u0435\u0445\u043d\u0438\u043a\u0430 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438. \u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u044b\u0437\u0432\u0430\u043d\u0430 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435\u043c \u043a \u0443\u0436\u0435 \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0451\u043d\u043d\u043e\u043c\u0443 [&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-114696","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 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0433\u043e \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 io_uring, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u043c \u044f\u0434\u0440\u043e\u043c Linux, \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2024-0582), \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 root \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435.\" \/>\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\/uyazvimost-v-podsisteme-io_uring-pozvolyayushhaya-poluchit-privilegii-root\" \/>\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\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0435 io_uring, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 root | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0433\u043e \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 io_uring, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u043c \u044f\u0434\u0440\u043e\u043c Linux, \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2024-0582), \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 root \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimost-v-podsisteme-io_uring-pozvolyayushhaya-poluchit-privilegii-root\" \/>\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=\"2024-04-01T10:25:54+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-04-01T10:25:54+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\udd47Sebezhet\u0151s\u00e9g az io_uring alrendszer\u00e9ben, amely lehet\u0151v\u00e9 teszi a root jogosults\u00e1gok megszerz\u00e9s\u00e9t | ProHoster","description":"A Linux kernel \u00e1ltal ny\u00fajtott io_uring aszinkron bemeneti\/kimeneti interf\u00e9sz\u00e9ben felfedeztek egy sebezhet\u0151s\u00e9get (CVE-2024-0582), amely lehet\u0151v\u00e9 teszi a nem privilegiz\u00e1lt felhaszn\u00e1l\u00f3k sz\u00e1m\u00e1ra a root jogok megszerz\u00e9s\u00e9t a rendszerben.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimost-v-podsisteme-io_uring-pozvolyayushhaya-poluchit-privilegii-root","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\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0435 io_uring, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 root | ProHoster","og:description":"\u0412 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0433\u043e \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 io_uring, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u043c \u044f\u0434\u0440\u043e\u043c Linux, \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2024-0582), \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 root \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimost-v-podsisteme-io_uring-pozvolyayushhaya-poluchit-privilegii-root","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":"2024-04-01T10:25:54+00:00","article:modified_time":"2024-04-01T10:25:54+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\/114696","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=114696"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/114696\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=114696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=114696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=114696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}