{"id":53889,"date":"2019-12-12T00:00:00","date_gmt":"2019-12-11T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/uyazvimost-v-ld-so-openbsd"},"modified":"2020-02-18T14:01:50","modified_gmt":"2020-02-18T11:01:50","slug":"uyazvimost-v-ld-so-openbsd","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimost-v-ld-so-openbsd","title":{"rendered":"Az ld.so OpenBSD-ben tal\u00e1lhat\u00f3 sebezhet\u0151s\u00e9g","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Dinamikus bet\u00f6lt\u0151 <noindex><a rel=\"nofollow\" href=\"http:\/\/man.openbsd.org\/OpenBSD-6.6\/ld.so.1\">ld.so<\/a><\/noindex>, amely az OpenBSD r\u00e9sze, bizonyos k\u00f6r\u00fclm\u00e9nyek k\u00f6z\u00f6tt k\u00e9pes lehet <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/Suid\">SUID\/SGID<\/a><\/noindex>-alkalmaz\u00e1sokn\u00e1l meg\u0151rizni az LD_LIBRARY_PATH k\u00f6rnyezeti v\u00e1ltoz\u00f3t, ez\u00e1ltal lehet\u0151v\u00e9 t\u00e9ve harmadik f\u00e9l k\u00f3dj\u00e1nak bet\u00f6lt\u00e9s\u00e9t magas privil\u00e9giumokkal fut\u00f3 folyamat kontextus\u00e1ban. A sebezhet\u0151s\u00e9g jav\u00edt\u00e1s\u00e1ra vonatkoz\u00f3 jav\u00edt\u00e1sok el\u00e9rhet\u0151k a kiad\u00e1sokhoz <noindex><a rel=\"nofollow\" href=\"https:\/\/ftp.openbsd.org\/pub\/OpenBSD\/patches\/6.5\/common\/024_ldso.patch.sig\">6.5<\/a><\/noindex> \u00e9s <noindex><a rel=\"nofollow\" href=\"https:\/\/ftp.openbsd.org\/pub\/OpenBSD\/patches\/6.6\/common\/013_ldso.patch.sig\">6.6<\/a><\/noindex>. A bin\u00e1ris jav\u00edt\u00e1sok (<noindex><a rel=\"nofollow\" href=\"http:\/\/man.openbsd.org\/OpenBSD-6.6\/syspatch.8\">syspatch<\/a><\/noindex>) amd64, i386 \u00e9s arm64 platformok sz\u00e1m\u00e1ra m\u00e1r gy\u00e1rt\u00e1sba ker\u00fcltek, \u00e9s a h\u00edr k\u00f6zz\u00e9t\u00e9tel\u00e9nek id\u0151pontj\u00e1ra el\u00e9rhet\u0151v\u00e9 kell v\u00e1lniuk a let\u00f6lt\u00e9sre.<\/p>\n<p>A probl\u00e9ma l\u00e9nyege: ld.so m\u0171k\u00f6d\u00e9se sor\u00e1n el\u0151sz\u00f6r kinyeri a LD_LIBRARY_PATH v\u00e1ltoz\u00f3 \u00e9rt\u00e9k\u00e9t a k\u00f6rnyezetb\u0151l, majd a _dl_split_path() f\u00fcggv\u00e9ny seg\u00edts\u00e9g\u00e9vel t\u00f6mbb\u00e9 alak\u00edtja a k\u00f6nyvt\u00e1rak el\u00e9r\u00e9si \u00fatj\u00e1t. Ha k\u00e9s\u0151bb kider\u00fcl, hogy a jelenlegi folyamat SUID\/SGID alkalmaz\u00e1sk\u00e9nt fut, akkor a l\u00e9trehozott t\u00f6mb \u00e9s mag\u00e1nak a LD_LIBRARY_PATH v\u00e1ltoz\u00f3nak az \u00e9rt\u00e9ke is t\u00f6rl\u0151dik. Ezenk\u00edv\u00fcl, ha a _dl_split_path() m\u0171k\u00f6d\u00e9se sor\u00e1n mem\u00f3riahi\u00e1ny l\u00e9p fel (ami neh\u00e9zkes, mivel a k\u00f6rnyezeti v\u00e1ltoz\u00f3k m\u00e9ret\u00e9re 256 kbyte-os korl\u00e1toz\u00e1s vonatkozik, de elm\u00e9letileg lehets\u00e9ges), akkor a _dl_libpath v\u00e1ltoz\u00f3 \u00e9rt\u00e9ke NULL-ra \u00e1ll\u00edt\u00f3dik, \u00e9s a k\u00f6vetkez\u0151 ellen\u0151rz\u00e9s sor\u00e1n ennek az \u00e9rt\u00e9knek a vizsg\u00e1lata megakad\u00e1lyozza a _dl_unsetenv(\"LD_LIBRARY_PATH\") h\u00edv\u00e1s\u00e1t.<\/p>\n<p>A sebezhet\u0151s\u00e9get a <noindex><a rel=\"nofollow\" href=\"https:\/\/blog.qualys.com\/\">Qualys<\/a><\/noindex>szak\u00e9rt\u0151i fedezt\u00e9k fel, ahogyan <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51979\">t\u00f6bb kor\u00e1bban nyilv\u00e1noss\u00e1gra hozott<\/a><\/noindex> probl\u00e9ma is. A sebezhet\u0151s\u00e9g felfedez\u0151i gyorsan reag\u00e1ltak a probl\u00e9m\u00e1ra: a jav\u00edt\u00e1st el\u0151k\u00e9sz\u00edtett\u00e9k, \u00e9s a friss\u00edt\u00e9seket h\u00e1rom \u00f3r\u00e1n bel\u00fcl kiadta az OpenBSD projekt.<\/p>\n<p>Kieg\u00e9sz\u00edt\u00e9s: A probl\u00e9m\u00e1nak a k\u00f6vetkez\u0151 azonos\u00edt\u00f3ja van <noindex><a rel=\"nofollow\" href=\"http:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2019-19726\">CVE-2019-19726<\/a><\/noindex>. Az oss-security levelez\u0151list\u00e1n megjelent egy <noindex><a rel=\"nofollow\" href=\"https:\/\/www.openwall.com\/lists\/oss-security\/2019\/12\/11\/9\">hivatalos bejelent\u00e9s<\/a><\/noindex>, amely tartalmaz egy protot\u00edpust is, amely az OpenBSD 6.6, 6.5, 6.2 \u00e9s 6.1 rendszeren m\u0171k\u00f6dik az<br \/>\namd64 \u00e9s i386 architekt\u00far\u00e1kon (a kihaszn\u00e1l\u00e1s m\u00e1s architekt\u00far\u00e1kra is alkalmazhat\u00f3).<br \/>\n A probl\u00e9ma alap\u00e9rtelmezett telep\u00edt\u00e9s alatt kihaszn\u00e1lhat\u00f3, \u00e9s nem privilegiz\u00e1lt helyi felhaszn\u00e1l\u00f3k sz\u00e1m\u00e1ra lehet\u0151v\u00e9 teszi, hogy root jogokkal k\u00f3dot futtassanak a chpass vagy passwd SUID seg\u00e9dprogramok futtat\u00e1sa sor\u00e1n. A kihaszn\u00e1l\u00e1shoz sz\u00fcks\u00e9ges mem\u00f3riahi\u00e1nyt a RLIMIT_DATA korl\u00e1toz\u00e1s be\u00e1ll\u00edt\u00e1s\u00e1val \u00e9rik el a setrlimit \u00e1ltal.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52012\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a ld.so, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 OpenBSD, \u043f\u0440\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043c\u043e\u0436\u0435\u0442 \u0434\u043b\u044f SUID\/SGID-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f LD_LIBRARY_PATH \u0438 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u043a\u043e\u0434 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0441 \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u044f\u043c\u0438. \u041f\u0430\u0442\u0447\u0438 \u0441 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0440\u0435\u043b\u0438\u0437\u043e\u0432 6.5 \u0438 6.6. \u0411\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043f\u0430\u0442\u0447\u0438 (syspatch) \u0434\u043b\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c amd64, i386 \u0438 arm64 \u0443\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u044b \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0438 [&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-53889","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=\"\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a ld.so, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 OpenBSD, \u043f\u0440\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043c\u043e\u0436\u0435\u0442 \u0434\u043b\u044f\" \/>\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-ld-so-openbsd\" \/>\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 ld.so OpenBSD | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a ld.so, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 OpenBSD, \u043f\u0440\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043c\u043e\u0436\u0435\u0442 \u0434\u043b\u044f\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimost-v-ld-so-openbsd\" \/>\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=\"2019-12-11T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:01:50+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\udd47 Az ld.so OpenBSD-ben tal\u00e1lhat\u00f3 sebezhet\u0151s\u00e9g | ProHoster","description":"Az ld.so dinamikus bet\u00f6lt\u0151je, amely az OpenBSD r\u00e9sze, bizonyos k\u00f6r\u00fclm\u00e9nyek k\u00f6z\u00f6tt k\u00e9pes lehet","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimost-v-ld-so-openbsd","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 ld.so OpenBSD | ProHoster","og:description":"\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a ld.so, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 OpenBSD, \u043f\u0440\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043c\u043e\u0436\u0435\u0442 \u0434\u043b\u044f","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimost-v-ld-so-openbsd","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":"2019-12-11T21:00:00+00:00","article:modified_time":"2020-02-18T11:01:50+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"53889","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-24 09:10:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 20:16:27","updated":"2026-01-24 09:10:20","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/53889","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=53889"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/53889\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=53889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=53889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=53889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}