{"id":130236,"date":"2025-08-07T10:37:50","date_gmt":"2025-08-07T01:37:50","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=130236"},"modified":"2025-08-07T10:37:50","modified_gmt":"2025-08-07T01:37:50","slug":"microsoft-nlweb-vulnerability","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/microsoft-nlweb-vulnerability\/","title":{"rendered":"Microsoft\u306e\u65b0\u6280\u8853\u300cNLWeb\u300d\u306b\u767a\u899a\u3057\u305f\u91cd\u5927\u306a\u8106\u5f31\u6027\u3068\u306f\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/08\/s_20250807-_1026.48.jpg\" alt=\"\" width=\"1097\" height=\"686\" class=\"aligncenter size-full wp-image-130237\" \/><\/p>\n<p>2025\u5e745\u6708\u3001Microsoft\u304cBuild\u30ab\u30f3\u30d5\u30a1\u30ec\u30f3\u30b9\u3067\u767a\u8868\u3057\u305f\u300cNLWeb(Natural Language Web)\u300d\u306f\u3001AI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304cWeb\u30b5\u30a4\u30c8\u3068\u81ea\u7136\u8a00\u8a9e\u3067\u5bfe\u8a71\u3067\u304d\u308b\u672a\u6765\u306eWeb\u57fa\u76e4\u3068\u3057\u3066\u6ce8\u76ee\u3092\u96c6\u3081\u307e\u3057\u305f\u3002Shopify\u3084TripAdvisor\u306a\u3069\u3082\u5c0e\u5165\u3092\u9032\u3081\u308b\u4e2d\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7814\u7a76\u8005Aonan Guan\u6c0f\u304c<strong>NLWeb\u306e\u30b3\u30fc\u30c9\u306b\u91cd\u5927\u306a\u8106\u5f31\u6027\u3092\u767a\u898b<\/strong>\u3057\u3001\u8a71\u984c\u3068\u306a\u3063\u3066\u3044\u307e\u3059(<a href=\"https:\/\/www.neowin.net\/news\/researcher-exposes-microsofts-flawed-code-that-lets-attackers-access-files-on-your-computer\/\">Neowin<\/a>)\u3002<\/p>\n<p>\u8106\u5f31\u6027\u306e\u5185\u5bb9\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30c8\u30e9\u30d0\u30fc\u30b5\u30eb\u653b\u6483\u3067\u3059\u3002Guan\u6c0f\u306fNLWeb\u306e <code>static_file_handler.py<\/code> \u306b\u3042\u308b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306b\u6ce8\u76ee\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\nsafe_path = os.path.normpath(path.lstrip('\/'))\r\nfull_path = os.path.join(root, safe_path)\r\n<\/pre>\n<p>\u3053\u306e <code>os.path.normpath()<\/code> \u306f\u30d1\u30b9\u3092\u6b63\u898f\u5316\u3059\u308b\u95a2\u6570\u3067\u3059\u304c\u3001<code>..\/<\/code> \u3092\u542b\u3080\u30d1\u30b9\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u6a5f\u80fd\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u7d50\u679c\u3068\u3057\u3066\u3001\u653b\u6483\u8005\u304c curl \u30b3\u30de\u30f3\u30c9\u306a\u3069\u3092\u4f7f\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u308b\u3068\u2026<\/p>\n<pre>\r\ncurl \"http:\/\/localhost:8000\/static\/..%2f..%2f..%2fetc\/passwd\"\r\n<\/pre>\n<p>UNIX\u7cfb\u30b7\u30b9\u30c6\u30e0\u306e\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u30d5\u30a1\u30a4\u30eb <code>\/etc\/passwd<\/code> \u304c\u8fd4\u3055\u308c\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u4e8b\u614b\u306b\u3002<\/p>\n<p>\u3055\u3089\u306b <code>.env<\/code> \u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u6a5f\u5bc6\u60c5\u5831\u3082\u53d6\u5f97\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/08\/localhost.jpg\" alt=\"\" width=\"1280\" height=\"807\" class=\"aligncenter size-full wp-image-130238\" \/><\/p>\n<h2>Microsoft\u306e\u5bfe\u5fdc<\/h2>\n<p>\u3053\u306e\u554f\u984c\u306f2025\u5e745\u670828\u65e5\u306b\u5831\u544a\u3055\u308c\u3001Microsoft\u306f2\u65e5\u5f8c\u306b\u30d1\u30c3\u30c1\u3092\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002<code>..<\/code> \u3092\u542b\u3080\u30d1\u30b9\u306e\u30d6\u30ed\u30c3\u30af\u3084\u3001\u8a31\u53ef\u3055\u308c\u305f\u62e1\u5f35\u5b50\uff08.html, .css, .js\u306a\u3069\uff09\u306e\u307f\u3092\u8a31\u5bb9\u3059\u308b\u5909\u66f4\u3001\u7d76\u5bfe\u30d1\u30b9\u3092\u89e3\u6c7a\u3057\u3001\u6307\u5b9a\u3055\u308c\u305f\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b\u3042\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u51e6\u7406\u306e\u8ffd\u52a0\u306a\u3069\u306e\u5bfe\u7b56\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c6\u30a3\u30c3\u30af\u30fb\u30a6\u30a7\u30d6\u306e\u65b0\u305f\u306a\u8ab2\u984c<\/h2>\n<p>Guan\u6c0f\u306f\u3001\u300c\u81ea\u7136\u8a00\u8a9e\u3067\u64cd\u4f5c\u3059\u308bWeb\u300d\u306f\u4fbf\u5229\u306a\u4e00\u65b9\u3067\u3001\u65b0\u305f\u306a\u653b\u6483\u9762(attack surface)\u3092\u751f\u307f\u51fa\u3059\u53ef\u80fd\u6027\u304c\u3042\u308b\u3068\u8b66\u544a\u3057\u3066\u3044\u307e\u3059\u3002\u30a8\u30fc\u30b8\u30a7\u30f3\u30c6\u30a3\u30c3\u30af\u30fb\u30a6\u30a7\u30d6\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u81ea\u7136\u8a00\u8a9e\u5165\u529b\u304c\u3001\u610f\u56f3\u305b\u305a\u5371\u967a\u306a\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3084\u30b3\u30de\u30f3\u30c9\u306b\u5909\u63db\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u5165\u529b\u691c\u8a3c\u3068\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u306e\u5fb9\u5e95\u304c\u4e0d\u53ef\u6b20\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u554f\u984c\u306f\u3001AI\u3068Web\u306e\u878d\u5408\u304c\u9032\u3080\u4e2d\u3067\u3001\u5229\u4fbf\u6027\u3068\u5b89\u5168\u6027\u306e\u30d0\u30e9\u30f3\u30b9\u3092\u3069\u3046\u53d6\u308b\u304b\u3068\u3044\u3046\u8ab2\u984c\u3092\u6d6e\u304d\u5f6b\u308a\u306b\u3057\u3066\u3044\u307e\u3059\u3002NLWeb\u306e\u3088\u3046\u306a\u9769\u65b0\u7684\u6280\u8853\u3092\u6d3b\u7528\u3059\u308b\u306b\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3078\u306e\u6df1\u3044\u7406\u89e3\u3068\u614e\u91cd\u306a\u8a2d\u8a08\u304c\u4e0d\u53ef\u6b20\u3068\u306a\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2025\u5e745\u6708\u3001Microsoft\u304cBuild\u30ab\u30f3\u30d5\u30a1\u30ec\u30f3\u30b9\u3067\u767a\u8868\u3057\u305f\u300cNLWeb(Natural Language Web)\u300d\u306f\u3001AI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304cWeb\u30b5\u30a4\u30c8\u3068\u81ea\u7136\u8a00\u8a9e\u3067\u5bfe\u8a71\u3067\u304d\u308b\u672a\u6765\u306eWeb\u57fa\u76e4\u3068\u3057\u3066\u6ce8\u76ee\u3092\u96c6\u3081\u307e\u3057 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":130237,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[87,4828],"class_list":["post-130236","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-microsoft","tag-nlweb"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/130236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=130236"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/130236\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/130237"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=130236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=130236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=130236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}