{"id":102156,"date":"2019-09-23T21:06:26","date_gmt":"2019-09-24T04:06:26","guid":{"rendered":"https:\/\/www.paloaltonetworks.com\/blog\/?p=102156"},"modified":"2019-09-23T21:06:26","modified_gmt":"2019-09-24T04:06:26","slug":"kubernetes-penetration-test","status":"publish","type":"post","link":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/2019\/09\/kubernetes-penetration-test\/?lang=ja","title":{"rendered":"Kubernetes\u306e\u4fb5\u5165\u30c6\u30b9\u30c8\u306e\u7d50\u679c\uff1a\u8003\u5bdf\u3068Twistlock\u306b\u3088\u308b\u5bfe\u5fdc"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">\u30af\u30e9\u30a6\u30c9 \u30cd\u30a4\u30c6\u30a3\u30d6 \u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u63a8\u9032\u3059\u308b\u975e\u55b6\u5229\u56e3\u4f53Cloud Native Computing Foundation\uff08CNCF\uff09\u306f\u6628\u5e74\u672b\u3001Kubernetes\u306e\u672a\u77e5\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8106\u5f31\u6027\u3068\u8a2d\u8a08\u4e0a\u306e\u5f31\u70b9\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306b\u4fb5\u5165\u30c6\u30b9\u30c8\uff08\u30da\u30cd\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3 \u30c6\u30b9\u30c8\uff09\u3092\u59d4\u8a17\u3057\u307e\u3057\u305f\u3002<\/span><a href=\"https:\/\/github.com\/kubernetes\/community\/blob\/master\/wg-security-audit\/findings\/Kubernetes%20Final%20Report.pdf\" rel=\"nofollow,noopener\" ><span style=\"font-weight: 400;\">\u6700\u7d42\u30ec\u30dd\u30fc\u30c8<\/span><\/a><span style=\"font-weight: 400;\">\u306f<\/span><a href=\"https:\/\/github.com\/kubernetes\/community\/tree\/master\/wg-security-audit\" rel=\"nofollow,noopener\" ><span style=\"font-weight: 400;\">\u30ef\u30fc\u30ad\u30f3\u30b0\u30b0\u30eb\u30fc\u30d7\u306e\u30ea\u30dd\u30b8\u30c8\u30ea<\/span><\/a><span style=\"font-weight: 400;\">\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4fb5\u5165\u30c6\u30b9\u30c8\u306f\u3001\u3046\u307e\u304f\u3044\u3051\u3070\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u54c1\u8cea\u306e\u5f37\u5316\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002Kubernetes\u306e\u4fb5\u5165\u30c6\u30b9\u30c8\u306f\u7dbf\u5bc6\u304b\u3064\u9069\u5207\u306b\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001\u591a\u6570\u306e\u65b0\u3057\u3044\u8106\u5f31\u6027\u304c\u7279\u5b9a\u3055\u308c\u3001\u65b0\u3057\u3044\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6a5f\u80fd\u306e\u5f37\u5316\u3092\u5b9f\u88c5\u3059\u308b\u3088\u3046\u63a8\u5968\u3055\u308c\u308b\u306a\u3069\u3001\u6570\u591a\u304f\u306e\u8abf\u67fb\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3057\u305f\u3002Kubernetes\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u7279\u5b9a\u3055\u308c\u305f37\u4ef6\u306e\u554f\u984c\u306e\u9032\u6357\u72b6\u6cc1\u3092\u8ffd\u8de1\u3059\u308b\u305f\u3081\u306e\u30c8\u30e9\u30c3\u30ab\u30fc\u3068\u3057\u3066\u3001<\/span><a href=\"https:\/\/github.com\/kubernetes\/kubernetes\/issues\/81146\" rel=\"nofollow,noopener\" ><span style=\"font-weight: 400;\">#81146<\/span><\/a><span style=\"font-weight: 400;\">\u3092\u30aa\u30fc\u30d7\u30f3\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u3053\u306e\u30ec\u30dd\u30fc\u30c8\u306b\u3064\u3044\u3066\u306f\u3001\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u4f01\u696d\u304b\u3089\u8cea\u554f\u304c\u5bc4\u305b\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u4ee3\u8868\u7684\u306a\u8cea\u554f\u3068\u56de\u7b54\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/span><\/p>\n<ol>\n<li><b>\u3059\u3079\u3066\u306e\u554f\u984c\u304c\u4fee\u6b63\u3055\u308c\u308b\u524d\u306b\u30ec\u30dd\u30fc\u30c8\u304c\u516c\u958b\u3055\u308c\u305f\u306e\u306f\u306a\u305c\u3067\u3059\u304b\uff1f<\/b><\/li>\n<\/ol>\n<p>\u8abf\u67fb\u7d50\u679c\u306e\u958b\u793a\u306b\u3064\u3044\u3066\u306f\u3001\u516c\u958b\u524d\u306b\u767a\u8868\u3055\u308c\u3066\u304a\u3089\u305a\u3001\u8abf\u6574\u304c\u5145\u5206\u306b\u306a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3067\u306f\u3001\u4fb5\u5165\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u306f\u8a8d\u8b58\u3057\u3066\u3044\u305f\u3082\u306e\u306e\u3001\u672a\u4fee\u6b63\u306e\u8106\u5f31\u6027\u3092\u542b\u3080\u7d50\u679c\u307e\u3067\u3059\u3079\u3066\u958b\u793a\u3055\u308c\u308b\u3053\u3068\u306f\u60f3\u5b9a\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002Palo Alto Networks\u306e\u7814\u7a76\u30c1\u30fc\u30e0\u3092\u7387\u3044\u308b\u30a2\u30ea\u30a8\u30eb\u30fb\u30bc\u30ea\u30d0\u30f3\u30b9\u30ad\u30fc\uff08Ariel Zelivansky\uff09\u306f\u3001\u3059\u3079\u3066\u306e\u88fd\u54c1\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3059\u308b\u3068\u3044\u3046\u7cbe\u795e\u306e\u3082\u3068\u3001\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067<a href=\"https:\/\/github.com\/kubernetes\/community\/issues\/3982\" rel=\"nofollow,noopener\" >#3982<\/a>\u3092\u30aa\u30fc\u30d7\u30f3\u3057\u3001\u4eca\u5f8c\u306e\u60c5\u5831\u958b\u793a\u3084\u3001\u4e88\u9632\u306e\u305f\u3081\u306e\u6539\u5584\u7b56\u306b\u5411\u3051\u305f\u30d7\u30ed\u30bb\u30b9\u306e\u8abf\u6574\u306b\u3064\u3044\u3066\u8a71\u3057\u5408\u3044\u3092\u91cd\u306d\u3066\u304d\u307e\u3057\u305f\u3002\u5c06\u6765\u7684\u306b\u306f\u3001\u958b\u793a\u6642\u70b9\u3067\u8106\u5f31\u6027\u304c\u4fee\u6b63\u3055\u308c\u308b\u3088\u3046\u3001\u8106\u5f31\u6027\u306b\u95a2\u3059\u308b\u8abf\u67fb\u7d50\u679c\u3092\u30e1\u30f3\u30c6\u30ca\u3068\u30d9\u30f3\u30c0\u30fc\u306e\u9593\u3067\u8abf\u6574\u3059\u308b\u306e\u304c\u7406\u60f3\u7684\u3067\u3059\u3002<\/p>\n<p><span style=\"font-weight: 400;\">2.\u00a0<\/span><b>Twistlock\uff08\u203b\uff09\u3067\u3053\u308c\u3089\u306e\u65b0\u3057\u3044\u8106\u5f31\u6027\u3092\u691c\u51fa\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f<\/b><\/p>\n<p><span style=\"font-weight: 400;\">\u5f53\u793e\u306e<\/span><a href=\"https:\/\/www.twistlock.com\/2018\/10\/02\/building-ultimate-cloud-native-vulnerability-feed\/\" rel=\"nofollow,noopener\" ><span style=\"font-weight: 400;\">\u30a4\u30f3\u30c6\u30ea\u30b8\u30a7\u30f3\u30b9\u30b9\u30c8\u30ea\u30fc\u30e0<\/span><\/a><span style=\"font-weight: 400;\">\u306f\u3001\u591a\u6570\u306e\u30d9\u30f3\u30c0\u30fc\u3084\u30a2\u30c3\u30d7\u30b9\u30c8\u30ea\u30fc\u30e0\u30fb\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u304b\u3089\u306e\u8106\u5f31\u6027\u30c7\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001\u304a\u5ba2\u69d8\u306e\u5404\u74b0\u5883\u3067\u306e\u8106\u5f31\u6027\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002\u4eca\u56de\u306e\u30ec\u30dd\u30fc\u30c8\u306f\u4e88\u671f\u305b\u305a\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3001\u591a\u304f\u306e\u8106\u5f31\u6027\u306bCVE\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u591a\u304f\u306e\u30d9\u30f3\u30c0\u30fc\u306f\u81ea\u5206\u305f\u3061\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u304c\u8106\u5f31\u304b\u3069\u3046\u304b\u3092\u8a55\u4fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u30d9\u30f3\u30c0\u30fc\u304c\u3053\u308c\u3089\u306e\u8a55\u4fa1\u3092\u5b9f\u65bd\u3057\u3066\u8abf\u67fb\u7d50\u679c\u3092\u516c\u958b\u3059\u308b\u3068\u3001\u30a4\u30f3\u30c6\u30ea\u30b8\u30a7\u30f3\u30b9\u30b9\u30c8\u30ea\u30fc\u30e0\u304c\u3053\u308c\u3089\u306e\u8106\u5f31\u6027\u3092\u81ea\u52d5\u7684\u306b\u691c\u51fa\u3057\u3001Twistlock\u3067\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u65b0\u305f\u306b\u516c\u958b\u3055\u308c\u305f\u8106\u5f31\u6027\u306e\u30d9\u30f3\u30c0\u30fc\u5206\u6790\u306f\u3001\u591a\u304f\u306e\u5834\u5408\u306f\u516c\u958b\u304b\u3089\u6570\u6642\u9593\u4ee5\u5185\u306b\u3001\u8fc5\u901f\u306b\u884c\u308f\u308c\u307e\u3059\u3002\u305f\u3060\u4eca\u56de\u306f\u8abf\u67fb\u7d50\u679c\u306e\u91cf\u304c\u591a\u3044\u3053\u3068\u304b\u3089\u3001\u91cd\u5927\u5ea6\u306e\u4f4e\u3044\u8abf\u67fb\u7d50\u679c\u3068CVE\u30c7\u30fc\u30bf\u306e\u516c\u958b\u306f\u3001\u5c11\u3057\u6642\u9593\u304c\u304b\u304b\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u304a\u5ba2\u69d8\u306b\u3088\u308b\u30a2\u30af\u30b7\u30e7\u30f3\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002\u30d9\u30f3\u30c0\u30fc\u304c\u8106\u5f31\u6027\u30c7\u30fc\u30bf\u3092\u516c\u958b\u3057\u305f\u6642\u70b9\u3067\u3001\u305d\u306e\u30c7\u30fc\u30bf\u3092\u30a4\u30f3\u30c6\u30ea\u30b8\u30a7\u30f3\u30b9\u30b9\u30c8\u30ea\u30fc\u30e0\u304c\u53d6\u5f97\u3057\u3001\u304a\u5ba2\u69d8\u306e\u74b0\u5883\u5185\u3067\u306e\u8106\u5f31\u6027\u3092\u691c\u51fa\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><b>3. Twistlock\u306f\u3053\u306e\u3088\u3046\u306a\u8106\u5f31\u6027\u304b\u3089\u30e6\u30fc\u30b6\u30fc\u3092\u3069\u306e\u3088\u3046\u306b\u4fdd\u8b77\u3057\u307e\u3059\u304b\uff1f<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Twistlock\u306b\u306f\u3001\u8abf\u67fb\u7d50\u679c\u306e\u554f\u984c\u70b9\u3092\u89e3\u6d88\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u3055\u307e\u3056\u307e\u306a\u7ba1\u7406\u6a5f\u80fd\u304c\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306e37\u4ef6\u306e\u8abf\u67fb\u7d50\u679c\u306e\u3046\u3061\u3001\u5f71\u97ff\u5ea6\u304c\u9ad8\u3044\u3068\u8a55\u4fa1\u3055\u308c\u305f\u306e\u306f5\u4ef6\u306e\u307f\u3067\u3059\u3002\u307e\u305f\u3001\u3053\u306e5\u4ef6\u306e\u3046\u30611\u4ef6\u306f\u3001\u8106\u5f31\u6027\u3067\u306f\u306a\u304f\u63a8\u5968\u3055\u308c\u305f\u62e1\u5f35\u6a5f\u80fd\u3067\u3059\u3002\u3053\u306e5\u4ef6\u306e\u7d50\u679c\u3092\u4ee5\u4e0b\u3067\u691c\u8a3c\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><b>4. Twistlock\u306f\u3001\u4ee5\u4e0b\u306e\u554f\u984c\u306b\u5bfe\u3057\u3066\u3069\u306e\u3088\u3046\u306b\u5bfe\u7b56\u3057\u307e\u3059\u304b\uff1f<\/b><\/p>\n<ol>\n<li><b>Finding ID TOB-K8S-038: hostPath PersistentVolumes enable PodSecurityPolicy bypass (hostPath\u306ePersistentVolumes\u3067PodSecurityPolicy\u306e\u30d0\u30a4\u30d1\u30b9\u304c\u6709\u52b9\u306b\u306a\u308b)<\/b><\/li>\n<\/ol>\n<p>Twistlock\u306b\u306f2\u3064\u306e\u7de9\u548c\u7b56\u304c\u3042\u308a\u307e\u3059\u3002\u3072\u3068\u3064\u306f\u3001Kubernetes\u306e\u76e3\u67fb\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3067\u7279\u6a29\u3092\u8ffd\u52a0\uff08\u30db\u30b9\u30c8\u306e\u30de\u30a6\u30f3\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\uff09\u3057\u3066\u4f5c\u6210\u3055\u308c\u305f\u30dd\u30c3\u30c9 \u306b\u3064\u3044\u3066\u3001\u30a2\u30e9\u30fc\u30c8\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3082\u3046\u3072\u3068\u3064\u306f\u3001\u30dd\u30c3\u30c9\u304c\u30db\u30b9\u30c8\u306e\u30de\u30a6\u30f3\u30c8\u3067\u4f5c\u6210\u3055\u308c\u305f\u5834\u5408\u306b\u30a2\u30e9\u30fc\u30c8\/\u30d6\u30ed\u30c3\u30af\u3059\u308b\u7d44\u307f\u8fbc\u307f\u306e\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9 \u30eb\u30fc\u30eb\u3092\u4f7f\u3046\u3053\u3068\u3067\u3059\uff08Twistlock\u306e55\u756a\u76ee\u306e\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9 \u30c1\u30a7\u30c3\u30af\uff09\u3002<\/p>\n<ol start=\"2\">\n<li><span style=\"font-weight: 400;\"> Finding ID TOB-K8S-028: Kubernetes does not facilitate certificate revocation (<\/span><b>Kubernetes\u3067\u306f\u8a3c\u660e\u66f8\u306e\u5931\u52b9\u51e6\u7406\u304c\u5bb9\u6613\u306b\u3067\u304d\u306a\u3044)<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">\u3053\u306e\u554f\u984c\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u9762\u306e\u5f37\u5316\u306e\u305f\u3081\u306b\u63d0\u8d77\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8a3c\u660e\u66f8\u30c1\u30a7\u30fc\u30f3\u306e\u30ad\u30fc\u306e\u518d\u751f\u6210\u306f\u975e\u5e38\u306b\u624b\u306e\u304b\u304b\u308b\u4f5c\u696d\u3067\u3059\u3002\u3053\u306e\u305f\u3081\u3001\u8abf\u67fb\u7d50\u679c\u3067\u306f\u3001\u305d\u306e\u3088\u3046\u306a\u4f5c\u696d\u3092\u7c21\u7d20\u5316\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u7528\u7684\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6280\u8853\u306e\u9032\u6b69\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u8106\u5f31\u6027\u3067\u306f\u306a\u304f\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u4eca\u3059\u3050\u76f4\u63a5\u7684\u306a\u30ea\u30b9\u30af\u3092\u3082\u305f\u3089\u3059\u3082\u306e\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u554f\u984c\u306f\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u5f37\u5316\u306b\u5411\u3051\u305f\u63d0\u6848\u3067\u3042\u3063\u3066\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u88fd\u54c1\u3068\u3057\u3066\u306e\u7126\u70b9\u306e\u5bfe\u8c61\u5916\u3067\u3059\u3002<\/span><\/p>\n<ol start=\"3\">\n<li><span style=\"font-weight: 400;\"> Finding ID TOB-K8S-034: HTTPS connections are not authenticated (<\/span><b>HTTPS\u63a5\u7d9a\u304c\u8a8d\u8a3c\u3055\u308c\u306a\u3044)<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">\u3053\u3053\u3067\u306e\u4e3b\u306a\u30ea\u30b9\u30af\u306f\u3001\u6700\u7d42\u7684\u306betcd\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u70b9\u3067\u3059\u3002\u30dd\u30c3\u30c9\u306f\u901a\u5e38\u3001etcd\u306b\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3057\u307e\u305b\u3093\u3002Twistlock\u306eCloudNative Network Firewall\u306f\u3001\u901a\u5e38\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u30d1\u30bf\u30fc\u30f3\u3092\u81ea\u52d5\u7684\u306b\u5b66\u7fd2\u3059\u308b\u305f\u3081\u3001\u3053\u306e\u7570\u5e38\u306a\u63a5\u7d9a\u3092\u898b\u3064\u3051\u3066\u30d6\u30ed\u30c3\u30af\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u653b\u6483\u306b\u306f\u3001\u60aa\u610f\u306e\u3042\u308bkubelet\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u3001\u627f\u8a8d\u3055\u308c\u305f\u30ec\u30b8\u30b9\u30c8\u30ea\u3084\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u306e\u307f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u3001\u30e6\u30fc\u30b6\u30fc\u306fTrusted Images\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u3066\u5f71\u97ff\u3092\u6291\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<ol start=\"4\">\n<li><span style=\"font-weight: 400;\"> Finding ID TOB-K8S-022: TOCTOU when moving PID to manager\u2019scgroup via kubelet (<\/span><b>kubelet\u7d4c\u7531\u3067PID\u3092\u30de\u30cd\u30b8\u30e3\u30fc\u306ecgroup\u306b\u79fb\u52d5\u3059\u308b\u969b\u306b\u201dTime Of Check vs Time Of Use\u201d\u653b\u6483\u306e\u53ef\u80fd\u6027)<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">\u3053\u306e\u8106\u5f31\u6027\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u5185\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u3088\u3063\u3066\u3001\u6700\u7d42\u7684\u306b\u30db\u30b9\u30c8\u4e0a\u306e\u30c7\u30d0\u30a4\u30b9\u306b\u66f8\u304d\u8fbc\u307f\u304c\u884c\u308f\u308c\u307e\u3059\u3002\u30e9\u30f3\u30bf\u30a4\u30e0\u9632\u5fa1\u6a5f\u80fd\u306f\u3001\u3053\u306e\u3088\u3046\u306a\u30bf\u30a4\u30d7\u306e\u653b\u6483\u3092\u81ea\u52d5\u7684\u306b\u691c\u51fa\u3057\u3066\u9632\u6b62\u3057\u307e\u3059\u3002Twistlock\u306f\u3001\u3053\u308c\u304c\u901a\u5e38\u306e\u30d5\u30a1\u30a4\u30eb \u30b7\u30b9\u30c6\u30e0\u306e\u30a2\u30af\u30bb\u30b9\u52d5\u4f5c\u3067\u306f\u306a\u3044\u3053\u3068\u3092\u81ea\u52d5\u7684\u306b\u5b66\u7fd2\u3057\u3066\u9632\u6b62\u3057\u307e\u3059\u3002<\/span><\/p>\n<ol start=\"5\">\n<li><span style=\"font-weight: 400;\"> Finding ID ATR-K8S-001: Improperly patched directory traversal in kubectl cp (<\/span><b>kubectl cp\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea \u30c8\u30e9\u30d0\u30fc\u30b5\u30eb\u554f\u984c\u306b\u5bfe\u5fdc\u3059\u308b\u4fee\u6b63\u304c\u4e0d\u5341\u5206)<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">\u3053\u306e\u554f\u984c\u306f<\/span><a href=\"https:\/\/discuss.kubernetes.io\/t\/announce-security-release-of-kubernetes-kubectl-potential-directory-traversal-releases-1-11-9-1-12-7-1-13-5-and-1-14-0-cve-2019-1002101\/5712\" rel=\"nofollow,noopener\" ><span style=\"font-weight: 400;\">CVE-2019-1002101<\/span><\/a><span style=\"font-weight: 400;\">\u3067\u7ba1\u7406\u3055\u308c\u3066\u304a\u308a\u3001\u4eca\u5e74\u521d\u3081\u306b\u30bc\u30ea\u30d0\u30f3\u30b9\u30ad\u30fc\u306b\u3088\u3063\u3066\u767a\u898b\u3055\u308c\u307e\u3057\u305f\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<\/span><a href=\"https:\/\/www.twistlock.com\/labs-blog\/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101\/\" rel=\"nofollow,noopener\" ><span style=\"font-weight: 400;\">\u5143\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b<\/span><\/a><span style=\"font-weight: 400;\">\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306eCVE\u3067\u306f\u3001\u60aa\u610f\u306e\u3042\u308b\u30a4\u30e1\u30fc\u30b8\uff08Trusted Images\u6a5f\u80fd\u3067\u56de\u907f\u3067\u304d\u308b\uff09\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001rootfs\u3092\u8aad\u307f\u53d6\u308a\u5c02\u7528\u306b\u3059\u308b\u3053\u3068\u3067\u89e3\u6d88\u3067\u304d\u307e\u3059\u3002Twistlock \u3067\u306f\u3053\u306e\u554f\u984c\u306b\u5bfe\u3057\u3066\u3001\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9 \u30c1\u30a7\u30c3\u30af\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><b>\uff08\u203b\uff09<\/b>Twistlock\u306f\u30012019\u5e746\u6708\u306bPalo Alto Networks\u304c\u8cb7\u53ce\u3057\u305f\u30b3\u30f3\u30c6\u30ca \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u30ea\u30fc\u30c0\u30fc\u4f01\u696dTwistlock\u793e\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3042\u308a\u3001\u4eca\u5f8c\u3001Palo Alto Networks\u306e\u30af\u30e9\u30a6\u30c9 \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u88fd\u54c1\u7fa4Prisma\u306b\u7d71\u5408\u3055\u308c\u307e\u3059\u3002\u30af\u30e9\u30a6\u30c9 \u30cd\u30a4\u30c6\u30a3\u30d6\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306e\u8106\u5f31\u6027\u8abf\u67fb\u3001\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u7ba1\u7406\u3001\u632f\u308b\u821e\u3044\u76e3\u8996\u306a\u3069\u3001\u30af\u30e9\u30a6\u30c9 \u30cd\u30a4\u30c6\u30a3\u30d6\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u5b9f\u73fe\u306e\u305f\u3081\u306e\u6a5f\u80fd\u3092\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30af\u30e9\u30a6\u30c9 \u30cd\u30a4\u30c6\u30a3\u30d6 \u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u63a8\u9032\u3059\u308b\u975e\u55b6\u5229\u56e3\u4f53Cloud Native Computing Foundation\uff08CNCF\uff09\u306f\u6628\u5e74\u672b\u3001Kubernetes\u306e\u672a\u77e5\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8106\u5f31\u6027\u3068\u8a2d\u8a08\u4e0a\u306e\u5f31\u70b9\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306b\u4fb5\u5165\u30c6\u30b9\u30c8\uff08\u30da\u30cd\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3 \u30c6\u30b9\u30c8\uff09\u3092\u59d4\u8a17\u3057\u307e\u3057\u305f\u3002\u6700\u7d42\u30ec\u30dd\u30fc\u30c8\u306f\u30ef\u30fc\u30ad\u30f3\u30b0\u30b0\u30eb\u30fc\u30d7\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u4fb5\u5165\u30c6\u30b9\u30c8\u306f\u3001\u3046\u307e\u304f\u3044\u3051\u3070\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u54c1\u8cea\u306e\u5f37\u5316\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002Kubernetes\u306e\u4fb5\u5165\u30c6\u30b9\u30c8\u306f\u7dbf\u5bc6\u304b\u3064\u9069\u5207\u306b\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001\u591a\u6570\u306e\u65b0\u3057\u3044\u8106\u5f31\u6027\u304c\u7279\u5b9a\u3055\u308c\u3001\u65b0\u3057\u3044\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6a5f\u80fd\u306e\u5f37\u5316\u3092\u5b9f\u88c5\u3059\u308b\u3088\u3046\u63a8\u5968\u3055\u308c\u308b\u306a\u3069\u3001\u6570\u591a\u304f\u306e\u8abf\u67fb\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3057\u305f\u3002Kubernetes\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u7279\u5b9a\u3055\u308c\u305f37\u4ef6\u306e\u554f\u984c\u306e\u9032\u6357\u72b6\u6cc1\u3092\u8ffd\u8de1\u3059\u308b\u305f\u3081\u306e\u30c8\u30e9\u30c3\u30ab\u30fc\u3068\u3057\u3066\u3001#81146\u3092\u30aa\u30fc\u30d7\u30f3\u3057\u307e\u3057\u305f\u3002 \u3053\u306e\u30ec\u30dd\u30fc\u30c8\u306b\u3064\u3044\u3066\u306f\u3001\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u4f01\u696d\u304b\u3089\u8cea\u554f\u304c\u5bc4\u305b\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u4ee3\u8868\u7684\u306a\u8cea\u554f\u3068\u56de\u7b54\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002 \u3059\u3079\u3066\u306e\u554f\u984c\u304c\u4fee\u6b63\u3055\u308c\u308b\u524d\u306b\u30ec\u30dd\u30fc\u30c8\u304c\u516c\u958b\u3055\u308c\u305f\u306e\u306f\u306a\u305c\u3067\u3059\u304b\uff1f \u8abf\u67fb\u7d50\u679c\u306e\u958b\u793a\u306b\u3064\u3044\u3066\u306f\u3001\u516c\u958b\u524d\u306b\u767a\u8868\u3055\u308c\u3066\u304a\u3089\u305a\u3001\u8abf\u6574\u304c\u5145\u5206\u306b\u306a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3067\u306f\u3001\u4fb5\u5165\u30c6\u30b9\u30c8\u306b\u3064\u3044\u3066\u306f\u8a8d\u8b58\u3057\u3066\u3044\u305f\u3082\u306e\u306e\u3001\u672a\u4fee\u6b63\u306e\u8106\u5f31\u6027\u3092\u542b\u3080\u7d50\u679c\u307e\u3067\u3059\u3079\u3066\u958b\u793a\u3055\u308c\u308b\u3053\u3068\u306f\u60f3\u5b9a\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002Palo Alto Networks\u306e\u7814\u7a76\u30c1\u30fc\u30e0\u3092\u7387\u3044\u308b\u30a2\u30ea\u30a8\u30eb\u30fb\u30bc\u30ea\u30d0\u30f3\u30b9\u30ad\u30fc\uff08Ariel Zelivansky\uff09\u306f\u3001\u3059\u3079\u3066\u306e\u88fd\u54c1\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3059\u308b\u3068\u3044\u3046\u7cbe\u795e\u306e\u3082\u3068\u3001\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067#3982\u3092\u30aa\u30fc\u30d7\u30f3\u3057\u3001\u4eca\u5f8c\u306e\u60c5\u5831\u958b\u793a\u3084\u3001\u4e88\u9632\u306e\u305f\u3081\u306e\u6539\u5584\u7b56\u306b\u5411\u3051\u305f\u30d7\u30ed\u30bb\u30b9\u306e\u8abf\u6574\u306b\u3064\u3044\u3066\u8a71\u3057\u5408\u3044\u3092\u91cd\u306d\u3066\u304d\u307e\u3057\u305f\u3002\u5c06\u6765\u7684\u306b\u306f\u3001\u958b\u793a\u6642\u70b9\u3067\u8106\u5f31\u6027\u304c\u4fee\u6b63\u3055\u308c\u308b\u3088\u3046\u3001\u8106\u5f31\u6027\u306b\u95a2\u3059\u308b\u8abf\u67fb\u7d50\u679c\u3092\u30e1\u30f3\u30c6\u30ca\u3068\u30d9\u30f3\u30c0\u30fc\u306e\u9593\u3067\u8abf\u6574\u3059\u308b\u306e\u304c\u7406\u60f3\u7684\u3067\u3059\u3002 2.\u00a0Twistlock\uff08\u203b\uff09\u3067\u3053\u308c\u3089\u306e\u65b0\u3057\u3044\u8106\u5f31\u6027\u3092\u691c\u51fa\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f \u5f53\u793e\u306e\u30a4\u30f3\u30c6\u30ea\u30b8\u30a7\u30f3\u30b9\u30b9\u30c8\u30ea\u30fc\u30e0\u306f\u3001\u591a\u6570\u306e\u30d9\u30f3\u30c0\u30fc\u3084\u30a2\u30c3\u30d7\u30b9\u30c8\u30ea\u30fc\u30e0\u30fb\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u304b\u3089\u306e\u8106\u5f31\u6027\u30c7\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001\u304a\u5ba2\u69d8\u306e\u5404\u74b0\u5883\u3067\u306e\u8106\u5f31\u6027\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002\u4eca\u56de\u306e\u30ec\u30dd\u30fc\u30c8\u306f\u4e88\u671f\u305b\u305a\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3001\u591a\u304f\u306e\u8106\u5f31\u6027\u306bCVE\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u591a\u304f\u306e\u30d9\u30f3\u30c0\u30fc\u306f\u81ea\u5206\u305f\u3061\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u304c\u8106\u5f31\u304b\u3069\u3046\u304b\u3092\u8a55\u4fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u30d9\u30f3\u30c0\u30fc\u304c\u3053\u308c\u3089\u306e\u8a55\u4fa1\u3092\u5b9f\u65bd\u3057\u3066\u8abf\u67fb\u7d50\u679c\u3092\u516c\u958b\u3059\u308b\u3068\u3001\u30a4\u30f3\u30c6\u30ea\u30b8\u30a7\u30f3\u30b9\u30b9\u30c8\u30ea\u30fc\u30e0\u304c\u3053\u308c\u3089\u306e\u8106\u5f31\u6027\u3092\u81ea\u52d5\u7684\u306b\u691c\u51fa\u3057\u3001Twistlock\u3067\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u65b0\u305f\u306b\u516c\u958b\u3055\u308c\u305f\u8106\u5f31\u6027\u306e\u30d9\u30f3\u30c0\u30fc\u5206\u6790\u306f\u3001\u591a\u304f\u306e\u5834\u5408\u306f\u516c\u958b\u304b\u3089\u6570\u6642\u9593\u4ee5\u5185\u306b\u3001\u8fc5\u901f\u306b\u884c\u308f\u308c\u307e\u3059\u3002\u305f\u3060\u4eca\u56de\u306f\u8abf\u67fb\u7d50\u679c\u306e\u91cf\u304c\u591a\u3044\u3053\u3068\u304b\u3089\u3001\u91cd\u5927\u5ea6\u306e\u4f4e\u3044\u8abf\u67fb\u7d50\u679c\u3068CVE\u30c7\u30fc\u30bf\u306e\u516c\u958b\u306f\u3001\u5c11\u3057\u6642\u9593\u304c\u304b\u304b\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002 \u304a\u5ba2\u69d8\u306b\u3088\u308b\u30a2\u30af\u30b7\u30e7\u30f3\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002\u30d9\u30f3\u30c0\u30fc\u304c\u8106\u5f31\u6027\u30c7\u30fc\u30bf\u3092\u516c\u958b\u3057\u305f\u6642\u70b9\u3067\u3001\u305d\u306e\u30c7\u30fc\u30bf\u3092\u30a4\u30f3\u30c6\u30ea\u30b8\u30a7\u30f3\u30b9\u30b9\u30c8\u30ea\u30fc\u30e0\u304c\u53d6\u5f97\u3057\u3001\u304a\u5ba2\u69d8\u306e\u74b0\u5883\u5185\u3067\u306e\u8106\u5f31\u6027\u3092\u691c\u51fa\u3057\u307e\u3059\u3002 3. Twistlock\u306f\u3053\u306e\u3088\u3046\u306a\u8106\u5f31\u6027\u304b\u3089\u30e6\u30fc\u30b6\u30fc\u3092\u3069\u306e\u3088\u3046\u306b\u4fdd\u8b77\u3057\u307e\u3059\u304b\uff1f Twistlock\u306b\u306f\u3001\u8abf\u67fb\u7d50\u679c\u306e\u554f\u984c\u70b9\u3092\u89e3\u6d88\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u3055\u307e\u3056\u307e\u306a\u7ba1\u7406\u6a5f\u80fd\u304c\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306e37\u4ef6\u306e\u8abf\u67fb\u7d50\u679c\u306e\u3046\u3061\u3001\u5f71\u97ff\u5ea6\u304c\u9ad8\u3044\u3068\u8a55\u4fa1\u3055\u308c\u305f\u306e\u306f5\u4ef6\u306e\u307f\u3067\u3059\u3002\u307e\u305f\u3001\u3053\u306e5\u4ef6\u306e\u3046\u30611\u4ef6\u306f\u3001\u8106\u5f31\u6027\u3067\u306f\u306a\u304f\u63a8\u5968\u3055\u308c\u305f\u62e1\u5f35\u6a5f\u80fd\u3067\u3059\u3002\u3053\u306e5\u4ef6\u306e\u7d50\u679c\u3092\u4ee5\u4e0b\u3067\u691c\u8a3c\u3057\u307e\u3059\u3002 4. Twistlock\u306f\u3001\u4ee5\u4e0b\u306e\u554f\u984c\u306b\u5bfe\u3057\u3066\u3069\u306e\u3088\u3046\u306b\u5bfe\u7b56\u3057\u307e\u3059\u304b\uff1f Finding ID TOB-K8S-038: hostPath PersistentVolumes enable PodSecurityPolicy bypass (hostPath\u306ePersistentVolumes\u3067PodSecurityPolicy\u306e\u30d0\u30a4\u30d1\u30b9\u304c\u6709\u52b9\u306b\u306a\u308b) Twistlock\u306b\u306f2\u3064\u306e\u7de9\u548c\u7b56\u304c\u3042\u308a\u307e\u3059\u3002\u3072\u3068\u3064\u306f\u3001Kubernetes\u306e\u76e3\u67fb\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3067\u7279\u6a29\u3092\u8ffd\u52a0\uff08\u30db\u30b9\u30c8\u306e\u30de\u30a6\u30f3\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\uff09\u3057\u3066\u4f5c\u6210\u3055\u308c\u305f\u30dd\u30c3\u30c9 &hellip;<\/p>\n","protected":false},"author":563,"featured_media":97348,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6974,3552],"tags":[],"coauthors":[6821,6875],"class_list":["post-102156","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-secure-the-cloud-2","category-3552"],"jetpack_featured_media_url":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-content\/uploads\/2019\/03\/Containers.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/posts\/102156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/users\/563"}],"replies":[{"embeddable":true,"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/comments?post=102156"}],"version-history":[{"count":12,"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/posts\/102156\/revisions"}],"predecessor-version":[{"id":102168,"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/posts\/102156\/revisions\/102168"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/media\/97348"}],"wp:attachment":[{"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/media?parent=102156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/categories?post=102156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/tags?post=102156"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/origin-researchcenter.paloaltonetworks.com\/blog\/wp-json\/wp\/v2\/coauthors?post=102156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}