{"id":107498,"date":"2023-03-24T12:48:20","date_gmt":"2023-03-24T10:48:20","guid":{"rendered":"https:\/\/prohoster.info\/?p=107498"},"modified":"2023-03-24T20:21:30","modified_gmt":"2023-03-24T18:21:30","slug":"uyazvimost-v-overlayfs-pozvolyayushhaya-povysit-svoi-privilegii","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/news\/uyazvimost-v-overlayfs-pozvolyayushhaya-povysit-svoi-privilegii","title":{"rendered":"Cenueshm\u00ebri n\u00eb OverlayFS q\u00eb lejon p\u00ebrshkall\u00ebzimin e privilegjeve","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>N\u00eb kernelin Linux, n\u00eb implementimin e sistemit t\u00eb skedar\u00ebve OverlayFS, \u00ebsht\u00eb zbuluar nj\u00eb cenueshm\u00ebri (CVE-2023-0386) q\u00eb mund t\u00eb shfryt\u00ebzohet p\u00ebr t\u00eb marr\u00eb qasje root n\u00eb sistemet ku \u00ebsht\u00eb instaluar n\u00ebn-sistemi FUSE dhe ku p\u00ebrdoruesve pa privilegje u lejohet montimi i ndarjeve OverlayFS (duke filluar nga kerneli Linux 5.11 me aktivizimin e user namespace pa privilegje). Problemi \u00ebsht\u00eb zgjidhur n\u00eb deg\u00ebn e kernelit 6.2. Publikimi i p\u00ebrdit\u00ebsimeve t\u00eb paketave n\u00eb shp\u00ebrndarje mund t\u00eb ndiqet n\u00eb faqet: Debian, Ubuntu, Gentoo, RHEL, SUSE, Fedora, Arch.           <\/p>\n<p>Sulmi b\u00ebhet p\u00ebrmes kopjimit t\u00eb skedareve me flagset setgid\/setuid nga nj\u00eb parti e montuar n\u00eb m\u00ebnyr\u00eb nosuid, n\u00eb nj\u00eb parti OverlayFS, e cila ka nj\u00eb shtres\u00eb t\u00eb lidhur me nj\u00eb parti q\u00eb lejon ekzekutimin e skedareve suid. Vulnerabiliteti \u00ebsht\u00eb i ngjash\u00ebm me problemin CVE-2021-3847, i identifikuar n\u00eb vitin 2021, por dallon p\u00ebr k\u00ebrkesat m\u00eb t\u00eb ul\u00ebta p\u00ebr shp\u00ebrthim - n\u00eb problemin e vjet\u00ebr k\u00ebrkoheshin manipulime me xattrs, t\u00eb cilat jan\u00eb t\u00eb kufizuara kur p\u00ebrdoren hap\u00ebsirat e identifikuesit t\u00eb p\u00ebrdoruesit (user namespace), nd\u00ebrsa n\u00eb problemin e ri p\u00ebrdoren bitet setgid\/setuid, t\u00eb cilat nuk trajtohen posa\u00e7\u00ebrisht n\u00eb user namespace.    <\/p>\n<p>Algoritmi i kryerjes s\u00eb sulmit:  <\/p>\n<ul>\n<li class=\"l\"> Me an\u00eb t\u00eb n\u00ebnstruktur\u00ebs FUSE, montohet nj\u00eb FS, n\u00eb t\u00eb cil\u00ebn ka nj\u00eb skedar ekzekutiv p\u00ebr p\u00ebrdoruesin root me flagset setuid\/setgid, t\u00eb cilat jan\u00eb t\u00eb aksesueshme p\u00ebr t\u00eb gjith\u00eb p\u00ebrdoruesit n\u00eb shkrim. Gjat\u00eb montimit, FUSE vendos modin \"nosuid\".\n<li class=\"l\"> \u00c7aktivizohen (unshare) hap\u00ebsirat e emrave t\u00eb p\u00ebrdoruesve dhe t\u00eb pikave t\u00eb montimit (user\/mount namespace).\n<li class=\"l\"> Montohet OverlayFS me referenc\u00eb n\u00eb FS-n\u00eb e krijuar m\u00eb par\u00eb n\u00eb FUSE si nj\u00eb shtres\u00eb t\u00eb poshtme dhe nj\u00eb shtres\u00eb t\u00eb sip\u00ebrme mbi nj\u00eb katalog q\u00eb lejon mund\u00ebsin\u00eb e shkrimit. Katalogu i shtres\u00ebs s\u00eb sip\u00ebrme duhet t\u00eb vendoset n\u00eb FS, gjat\u00eb montimit t\u00eb s\u00eb cil\u00ebs nuk p\u00ebrdoret flagu \"nosuid\".\n<li class=\"l\"> P\u00ebr skedarin suid n\u00eb ndarjen FUSE, me mjetin touch ndryshohet koha e modifikimit, gj\u00eb q\u00eb \u00e7on n\u00eb kopjimin e tij n\u00eb shtres\u00ebn e sip\u00ebrme t\u00eb OverlayFS.\n<li class=\"l\"> Gjat\u00eb kopjimit, kerneli nuk i heq flamujt setgid\/setuid, \u00e7ka b\u00ebn q\u00eb skedari t\u00eb shfaqet n\u00eb nj\u00eb ndarje q\u00eb lejon p\u00ebrpunimin e setgid\/setuid.\n<li class=\"l\"> P\u00ebr t\u00eb marr\u00eb t\u00eb drejta root, mjafton t\u00eb ekzekutohet skedari me flamujt setgid\/setuid nga drejtoria e lidhur me shtres\u00ebn e sip\u00ebrme t\u00eb OverlayFS.  <\/ul>\n<p>Gjithashtu vlen t\u00eb p\u00ebrmendet zbulimi nga studiuesit e ekipit Google Project Zero i informacioneve p\u00ebr tre cenueshm\u00ebri, t\u00eb cilat u korrigjuan n\u00eb deg\u00ebn kryesore t\u00eb kernelit Linux 5.15, por nuk u transferuan n\u00eb paketat me kernel nga RHEL 8.x\/9.x dhe CentOS Stream 9.  <\/p>\n<ul>\n<li class=\"l\"> CVE-2023-1252 - qasje n\u00eb nj\u00eb zon\u00eb t\u00eb liruar tashm\u00eb t\u00eb memories n\u00eb struktur\u00ebn ovl_aio_req gjat\u00eb kryerjes s\u00eb shum\u00eb operacioneve n\u00eb OverlayFS t\u00eb vendosur mbi FS-n\u00eb Ext4. Potencialisht, vulnerabiliteti lejon rritjen e privilegjeve n\u00eb sistem.\n<li class=\"l\"> CVE-2023-0590 - qasje n\u00eb nj\u00eb zon\u00eb t\u00eb liruar tashm\u00eb t\u00eb memories n\u00eb funksionin qdisc_graft(). Supozohet se shp\u00ebrthimi kufizohet n\u00eb mbyllje t\u00eb jasht\u00ebzakonshme.\n<li class=\"l\"> CVE-2023-1249 - qasje n\u00eb nj\u00eb zon\u00eb t\u00eb liruar tashm\u00eb t\u00eb memories n\u00eb kodin e shkarkimit coredump, e cila ndodh si rezultat i nj\u00eb thirjeje t\u00eb humbur mmap_lock n\u00eb file_files_note. Supozohet se shp\u00ebrthimi kufizohet n\u00eb mbyllje t\u00eb jasht\u00ebzakonshme.    <\/ul>\n<p>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=58857\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412 \u044f\u0434\u0440\u0435 Linux \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b OverlayFS \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2023-0386), \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f root-\u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 FUS\u0415 \u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 OverlayFS \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c (\u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u044f\u0434\u0440\u0430 Linux 5.11 \u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 user namespace). \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0430 \u0432 \u0432\u0435\u0442\u043a\u0435 \u044f\u0434\u0440\u0430 6.2. \u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0432 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043b\u0435\u0434\u0438\u0442\u044c \u043d\u0430 [&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-107498","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412 \u044f\u0434\u0440\u0435 Linux \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b OverlayFS \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2023-0386), \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f root-\u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 FUS\u0415 \u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e.\" \/>\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\/sq\/blog\/news\/uyazvimost-v-overlayfs-pozvolyayushhaya-povysit-svoi-privilegii\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\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 OverlayFS, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u044f\u0434\u0440\u0435 Linux \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b OverlayFS \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2023-0386), \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f root-\u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 FUS\u0415 \u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/news\/uyazvimost-v-overlayfs-pozvolyayushhaya-povysit-svoi-privilegii\" \/>\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=\"2023-03-24T10:48:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-03-24T18:21:30+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\udd47Dob\u00ebsi n\u00eb OverlayFS q\u00eb lejon rritjen e privilegjeve | ProHoster","description":"N\u00eb kernelin Linux, n\u00eb implementimin e sistemit t\u00eb skedar\u00ebve OverlayFS, \u00ebsht\u00eb zbuluar nj\u00eb dob\u00ebsi (CVE-2023-0386), e cila mund t\u00eb p\u00ebrdoret p\u00ebr t\u00eb fituar qasje root n\u00eb sistemet ku n\u00ebnsistemi FUSE \u00ebsht\u00eb i instaluar dhe i aktivizuar.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/news\/uyazvimost-v-overlayfs-pozvolyayushhaya-povysit-svoi-privilegii","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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 OverlayFS, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 | ProHoster","og:description":"\u0412 \u044f\u0434\u0440\u0435 Linux \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b OverlayFS \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2023-0386), \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f root-\u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 FUS\u0415 \u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e.","og:url":"https:\/\/prohoster.info\/sq\/blog\/news\/uyazvimost-v-overlayfs-pozvolyayushhaya-povysit-svoi-privilegii","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":"2023-03-24T10:48:20+00:00","article:modified_time":"2023-03-24T18:21:30+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\/sq\/wp-json\/wp\/v2\/posts\/107498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=107498"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/107498\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=107498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=107498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=107498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}