{"id":34141,"date":"2019-10-31T21:56:37","date_gmt":"2019-10-31T18:56:37","guid":{"rendered":"https:\/\/prohoster.info\/blog\/v-19-populyarnejshih-docker-obrazov-net-parolya-dlya-root\/"},"modified":"2019-10-31T21:56:37","modified_gmt":"2019-10-31T18:56:37","slug":"v-19-populyarnejshih-docker-obrazov-net-parolya-dlya-root","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/v-19-populyarnejshih-docker-obrazov-net-parolya-dlya-root","title":{"rendered":"N\u00eb 19% t\u00eb imazheve m\u00eb t\u00eb njohura Docker nuk ka fjal\u00ebkalim p\u00ebr root","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>T\u00eb shtun\u00ebn e kaluar, m\u00eb 18 maj, Jerry Gamblin nga Kenna Security <noindex><a rel=\"nofollow\" href=\"https:\/\/www.kennasecurity.com\/20-of-the-1000-most-popular-docker-containers-have-no-root-password\/\">kontrolloi<\/a><\/noindex> 1000 imazhe m\u00eb t\u00eb njohura nga Docker Hub p\u00ebr fjal\u00ebkalimin e p\u00ebrdoruesit root. N\u00eb 19% t\u00eb rasteve, ai rezultoi t\u00eb ishte bosh.<\/p>\n<p><img decoding=\"async\" alt=\"N\u00eb 19% t\u00eb imazheve m\u00eb t\u00eb njohura Docker nuk ka fjal\u00ebkalim p\u00ebr root\" src=\"\/wp-content\/uploads\/50d68e9378a116909318240ae1ca318a.png\" style=\"display:block;margin: 0 auto;\" \/><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>Historiku me Alpine<\/h2>\n<p>\nShkaku i hulumtimit t\u00eb zhvilluar ishte Raporti i D\u00ebmtimit t\u00eb Talos (<noindex><a rel=\"nofollow\" href=\"https:\/\/talosintelligence.com\/vulnerability_reports\/TALOS-2019-0782\">TALOS-2019-0782<\/a><\/noindex>), autor\u00ebt e t\u00eb cilit \u2014 fal zbulimit t\u00eb Peter Adkins nga Cisco Umbrella \u2014 njoftuan se imazhet Docker me distribucionin e njohur p\u00ebr kontejner\u00ebt Alpine nuk kan\u00eb fjal\u00ebkalim p\u00ebr root:<\/p>\n<blockquote><p>\"Versionet zyrtare t\u00eb imazheve Docker t\u00eb Alpine Linux (nga v3.3 e tutje) p\u00ebrmbajn\u00eb fjal\u00ebkalimin NULL p\u00ebr p\u00ebrdoruesin root. Kjo dob\u00ebsi u shfaq si rezultat i regresionit t\u00eb paraqitur n\u00eb dhjetor 2015. Ajo ka t\u00eb b\u00ebj\u00eb me faktin se sistemet e zbatuara me versione problematike t\u00eb Alpine Linux n\u00eb kontejner dhe q\u00eb p\u00ebrdorin Linux PAM ose nj\u00eb mekaniz\u00ebm tjet\u00ebr, q\u00eb p\u00ebrfshin skedarin sistemor shadow si baz\u00eb p\u00ebr autentifikimin, mund t\u00eb pranojn\u00eb fjal\u00ebkalimin null (NULL) p\u00ebr p\u00ebrdoruesin root.\"<\/p><\/blockquote>\n<p>\nVersionet e imazheve Docker me Alpine t\u00eb verifikuara p\u00ebr problemin ishin nga 3.3 deri n\u00eb 3.9 p\u00ebrfshir\u00eb, si dhe l\u00ebshimi m\u00eb i fundit edge.<\/p>\n<p>Autor\u00ebt jepnin rekomandimin e m\u00ebposht\u00ebm p\u00ebr p\u00ebrdoruesit e prekur nga problemi:<\/p>\n<blockquote><p>\"Llogaria root duhet t\u00eb \u00e7aktivizohet qart\u00eb n\u00eb imazhet Docker t\u00eb nd\u00ebrtuara mbi versionet problematike t\u00eb Alpine. Shfryt\u00ebzimi i mundsh\u00ebm i dob\u00ebsis\u00eb varet nga mjedisi, pasi suksesi i saj k\u00ebrkon nj\u00eb sh\u00ebrbim ose aplikacion t\u00eb ekspozuar jasht\u00eb, q\u00eb p\u00ebrdor Linux PAM ose nj\u00eb mekaniz\u00ebm tjet\u00ebr t\u00eb ngjash\u00ebm.\"<\/p><\/blockquote>\n<p>\nnj\u00eb rrjedhje rrug\u00ebsh p\u00ebrmes BGP, gjat\u00eb s\u00eb cil\u00ebs rreth 20 mij\u00eb prefiks t\u00eb 2400 rrjet\u00ebve u ridrejtuan n\u00eb m\u00ebnyr\u00eb t\u00eb gabuar. Burimi i rrjedhjes ishte ofruesi DQE Communications, i cili p\u00ebrdori software <noindex><a rel=\"nofollow\" href=\"https:\/\/alpinelinux.org\/posts\/Docker-image-vulnerability-CVE-2019-5021.html\">\u00ebsht\u00eb eliminuar<\/a><\/noindex> n\u00eb Alpine versionet 3.6.5, 3.7.3, 3.8.4, 3.9.2 dhe edge (snapshot 20190228), dhe t\u00eb pronar\u00ebve t\u00eb imazheve t\u00eb prekura u propozua t\u00eb komentojn\u00eb linj\u00ebn me root n\u00eb <code>\/etc\/shadow<\/code> ose t\u00eb sigurohen q\u00eb nuk ekziston paketa <code>linux-pam<\/code>.<\/p>\n<h2>Vazhdimi nga Docker Hub<\/h2>\n<p>\nJerry Gamblin vendosi t\u00eb hulumtoj\u00eb \"sa e p\u00ebrhapur mund t\u00eb jet\u00eb praktika e p\u00ebrdorimit t\u00eb fjal\u00ebkalimeve null n\u00eb kontejner\u00eb\". P\u00ebr k\u00ebt\u00eb ai shkroi nj\u00eb t\u00eb vog\u00ebl <noindex><a rel=\"nofollow\" href=\"https:\/\/gist.github.com\/jgamblin\/fd94d9078709fe68d13f36f82c29fdab\">Skripti Bash<\/a><\/noindex>, thelbi i t\u00eb cilit \u00ebsht\u00eb mjaft i thjesht\u00eb:<\/p>\n<ul>\n<li> me nj\u00eb k\u00ebrkes\u00eb curl te API n\u00eb Docker Hub k\u00ebrkohet lista e imazheve t\u00eb vendosura atje;<\/li>\n<li> p\u00ebrmes jq ai rendit at\u00eb sipas fush\u00ebs <code>popularity<\/code>, dhe nga rezultatet e marra mbetet mij\u00ebshi i par\u00eb;<\/li>\n<li> p\u00ebr secilin prej tyre ekzekutohet <code>docker pull<\/code>;<\/li>\n<li> p\u00ebr \u00e7do imazh t\u00eb marr\u00eb nga Docker Hub ekzekutohet <code>docker run<\/code> duke lexuar rreshtin e par\u00eb nga skedari <code>\/etc\/shadow<\/code>;<\/li>\n<li> n\u00ebse vlera e rreshtit del t\u00eb jet\u00eb <code>root:::0:::::<\/code>, emri i imazhit ruhet n\u00eb nj\u00eb skedar t\u00eb ve\u00e7ant\u00eb.<\/li>\n<\/ul>\n<p>\n\u00c7far\u00eb ka rezultuar? N\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/gist.github.com\/jgamblin\/6015a2020c1de3bc3aab19b361573b7f\">k\u00ebt\u00eb skedar<\/a><\/noindex> u gjet\u00ebn 194 rreshta me emrat e imazheve t\u00eb njohura Docker me sisteme Linux, ku p\u00ebrdoruesi root nuk ka vendosur nj\u00eb fjal\u00ebkalim:<\/p>\n<blockquote><p>\u00abN\u00eb mesin e emrave m\u00eb t\u00eb njohur n\u00eb k\u00ebt\u00eb list\u00eb jan\u00eb govuk\/governmentpaas, hashicorp, microsoft, monsanto dhe mesosphere. Nd\u00ebrkoh\u00eb, kylemanna\/openvpn \u00ebsht\u00eb kontenieri m\u00eb i njohur nga lista, me statistika q\u00eb arrijn\u00eb mbi 10 milion\u00eb pull\u2019esh.\u00bb<\/p><\/blockquote>\n<p>\nMegjithat\u00eb, duhet t\u00eb kujtojm\u00eb se ky fenomen vet\u00eb nuk do t\u00eb thot\u00eb nj\u00eb vulnerabilitet t\u00eb drejtp\u00ebrdrejt\u00eb n\u00eb sigurin\u00eb e sistemeve q\u00eb i p\u00ebrdorin ato: gjith\u00e7ka varet nga m\u00ebnyra se si ato p\u00ebrdoren. <i>(shih komentin e rastit me Alpine m\u00eb lart)<\/i>. Por \u00abmoralja e k\u00ebsaj p\u00ebrralle\u00bb e kemi par\u00eb shum\u00eb her\u00eb m\u00eb par\u00eb: thjesht\u00ebsia e dukshme shpesh ka nj\u00eb an\u00eb tjet\u00ebr, p\u00ebr t\u00eb cil\u00ebn gjithmon\u00eb duhet t\u00eb kujtojm\u00eb dhe pasojat e saj t\u00eb merren parasysh n\u00eb skenar\u00ebt e p\u00ebrdorimit t\u00eb teknologjis\u00eb.<\/p>\n<h2>P.S.<\/h2>\n<p>\nLexoni gjithashtu n\u00eb blogun ton\u00eb:<\/p>\n<ul>\n<li> \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/337448\/\">Statistikat mbi sistemet operative baz\u00eb n\u00eb imazhet n\u00eb Docker Hub<\/a><\/noindex>\u00bb;<\/li>\n<li> \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/440504\/\">9 praktikat m\u00eb t\u00eb mira p\u00ebr sigurimin e Kubernetes<\/a><\/noindex>\u00bb;<\/li>\n<li> \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/439964\/\">Vulnerabiliteti CVE-2019-5736 n\u00eb runc, i cili lejon marrjen e t\u00eb drejtave root n\u00eb host<\/a><\/noindex>\u00bb;<\/li>\n<li> \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/337154\/\">Vulnerable Docker VM \u2014 nj\u00eb makin\u00eb virtuale-puzzle p\u00ebr Docker dhe pentesting<\/a><\/noindex>\u00bb.<\/li>\n<\/ul>\n<p>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/452754\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412 \u043c\u0438\u043d\u0443\u0432\u0448\u0443\u044e \u0441\u0443\u0431\u0431\u043e\u0442\u0443, 18 \u043c\u0430\u044f, Jerry Gamblin \u0438\u0437 Kenna Security \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b 1000 \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u043e\u0431\u0440\u0430\u0437\u043e\u0432 \u0441 Docker Hub \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0432 \u043d\u0438\u0445 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f root. \u0412 19% \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043e\u043d \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043f\u0443\u0441\u0442\u044b\u043c. \u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f \u0441 Alpine \u041f\u043e\u0432\u043e\u0434\u043e\u043c \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d\u043d\u043e\u0433\u043e \u043c\u0438\u043d\u0438-\u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u043b \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u0440\u0430\u043d\u0435\u0435 \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u044f\u0446\u0435 Talos Vulnerability Report (TALOS-2019-0782), \u0430\u0432\u0442\u043e\u0440\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u2014 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043d\u0430\u0445\u043e\u0434\u043a\u0435 Peter [&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":[688],"tags":[],"class_list":["post-34141","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412 \u043c\u0438\u043d\u0443\u0432\u0448\u0443\u044e \u0441\u0443\u0431\u0431\u043e\u0442\u0443, 18 \u043c\u0430\u044f, Jerry Gamblin \u0438\u0437 Kenna Security \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b.\" \/>\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\/administrirovanie\/v-19-populyarnejshih-docker-obrazov-net-parolya-dlya-root\" \/>\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\u0412 19% \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0435\u0439\u0448\u0438\u0445 Docker-\u043e\u0431\u0440\u0430\u0437\u043e\u0432 \u043d\u0435\u0442 \u043f\u0430\u0440\u043e\u043b\u044f \u0434\u043b\u044f root | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u043c\u0438\u043d\u0443\u0432\u0448\u0443\u044e \u0441\u0443\u0431\u0431\u043e\u0442\u0443, 18 \u043c\u0430\u044f, Jerry Gamblin \u0438\u0437 Kenna Security \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/v-19-populyarnejshih-docker-obrazov-net-parolya-dlya-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=\"2019-10-31T18:56:37+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:56:37+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\udd47N\u00eb 19% t\u00eb imazheve m\u00eb t\u00eb njohura Docker nuk ka fjal\u00ebkalim p\u00ebr root | ProHoster","description":"N\u00eb fundjav\u00ebn e kaluar, m\u00eb 18 maj, Jerry Gamblin nga Kenna Security e verifikoi.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/v-19-populyarnejshih-docker-obrazov-net-parolya-dlya-root","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\u0412 19% \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0435\u0439\u0448\u0438\u0445 Docker-\u043e\u0431\u0440\u0430\u0437\u043e\u0432 \u043d\u0435\u0442 \u043f\u0430\u0440\u043e\u043b\u044f \u0434\u043b\u044f root | ProHoster","og:description":"\u0412 \u043c\u0438\u043d\u0443\u0432\u0448\u0443\u044e \u0441\u0443\u0431\u0431\u043e\u0442\u0443, 18 \u043c\u0430\u044f, Jerry Gamblin \u0438\u0437 Kenna Security \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b.","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/v-19-populyarnejshih-docker-obrazov-net-parolya-dlya-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":"2019-10-31T18:56:37+00:00","article:modified_time":"2019-10-31T18:56:37+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"34141","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-21 18:05:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 23:13:00","updated":"2026-01-21 18:05:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/34141","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=34141"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/34141\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=34141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=34141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=34141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}