{"id":29675,"date":"2017-09-10T08:00:51","date_gmt":"2017-09-10T01:00:51","guid":{"rendered":"http:\/\/deepquest.code511.com\/blog\/2017\/09\/docker-daemon-unprotected-tcp-socket\/"},"modified":"2017-09-10T08:00:51","modified_gmt":"2017-09-10T01:00:51","slug":"docker-daemon-unprotected-tcp-socket","status":"publish","type":"post","link":"https:\/\/deepquest.code511.com\/blog\/2017\/09\/docker-daemon-unprotected-tcp-socket\/","title":{"rendered":"Docker Daemon Unprotected TCP Socket"},"content":{"rendered":"<p>Utilizing Docker via unprotected tcp socket (2375\/tcp, maybe 2376\/tcp with tls but without tls-auth), an attacker can create a Docker container with the &#8216;\/&#8217; path mounted with read\/write permissions on the host server that is running the Docker container. As the Docker container executes command as uid 0 it is honored by the host operating system allowing the attacker to edit\/create files owned by root. This exploit abuses this to creates a cron job in the &#8216;\/etc\/cron.d\/&#8217; path of the host server. The Docker image should exist on the target system or be a valid image from hub.docker.com.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Utilizing Docker via unprotected tcp socket (2375\/tcp, maybe 2376\/tcp with tls but without tls-auth), an attacker can create a Docker container with the &#8216;\/&#8217; path mounted with read\/write permissions on&#8230;<\/p>\n","protected":false},"author":439,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[43],"tags":[],"class_list":["post-29675","post","type-post","status-publish","format-standard","hentry","category-exploit"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4bBYZ-7ID","_links":{"self":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/29675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/users\/439"}],"replies":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/comments?post=29675"}],"version-history":[{"count":0,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/29675\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/media?parent=29675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/categories?post=29675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/tags?post=29675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}