{"id":47596,"date":"2023-04-30T06:05:38","date_gmt":"2023-04-29T22:05:38","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=47596"},"modified":"2023-04-30T06:05:38","modified_gmt":"2023-04-29T22:05:38","slug":"mcdonald-vulnerability-password","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/mcdonald-vulnerability-password.html","title":{"rendered":"\u91cd\u78c5\uff1a\u5229\u7528\u9ea6\u5f53\u52b3\u7f51\u7ad9\u7684\u6f0f\u6d1e\u83b7\u53d6\u7528\u6237\u5bc6\u7801"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u672c\u6587\u8bb2\u8ff0\u4e86\u5229\u7528\u4e0d\u5b89\u5168\u7684\u52a0\u5bc6\u5b58\u50a8\uff08Insecure_Cryptographic_Storage\uff09\u6f0f\u6d1e\u548c\u670d\u52a1\u7aef\u53cd\u5c04\u578bXSS\u6f0f\u6d1e\uff0c\u5b9e\u73b0\u5bf9\u9ea6\u5f53\u52b3\u7f51\u7ad9\uff08McDonalds.com\uff09\u6ce8\u518c\u7528\u6237\u7684\u5bc6\u7801\u7a83\u53d6\uff0c\u8fdb\u4e00\u6b65\u6d4b\u8bd5\uff0c\u8fd8\u53ef\u80fd\u83b7\u53d6\u5230\u7f51\u7ad9\u6ce8\u518c\u7528\u6237\u7684\u66f4\u591a\u4fe1\u606f\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n POC-\u5229\u7528\u53cd\u5c04\u578bXSS\u6f0f\u6d1e\u7ed5\u8fc7AngularJS\u6846\u67b6\u6c99\u7bb1<\/strong><\/div>\n \u9ea6\u5f53\u52b3\u7f51\u7ad9McDonalds.com\u8bbe\u7f6e\u6709\u4e00\u4e2a\u641c\u7d22\u9875\u9762\uff0c\u8be5\u9875\u9762\u5b58\u5728XSS\u53cd\u5c04\u578b\u6f0f\u6d1e\uff0c\u53ef\u4ee5\u8fd4\u56de\u641c\u7d22\u53c2\u6570\u503c\uff0c\u5047\u8bbe\u641c\u7d22\u53c2\u6570q\u4e3a***********-test-reflected-test-***********\uff0c\u5bf9\u5e94\u94fe\u63a5\uff1a \u5219\u6267\u884c\u6548\u679c\u5982\u4e0b\uff1a <\/p>\n \u9ea6\u5f53\u52b3\u7f51\u7ad9\u91c7\u7528AngularJS\u6846\u67b6\uff0c\u6240\u4ee5\u53ef\u4ee5\u4f7f\u7528\u7279\u6b8a\u5b57\u7b26\u5728\u641c\u7d22\u533a\u57df\u8fdb\u884c\u8fd4\u56de\u503c\u5c1d\u8bd5\u3002\u901a\u8fc7\u66f4\u6539\u641c\u7d22\u53c2\u6570q\u4e3a{{$id}}\u4e4b\u540e\uff0c\u53d1\u73b0\u8fd4\u56de\u503c\u5bf9\u5e94AngularJS\u8303\u56f4\u5185\u7684\u5bf9\u5e94ID\u6570\u5b579\uff1a<\/p>\n Link used: https:\/\/www.mcdonalds.com\/us\/en-us\/search-results.html?q={{$id}}<\/p>\n <\/p>\n <\/p>\n AngularJS\u662f\u4e00\u4e2a\u6d41\u884c\u7684JavaScript\u6846\u67b6\uff0c\u901a\u8fc7\u8fd9\u4e2a\u6846\u67b6\u53ef\u4ee5\u628a\u8868\u8fbe\u5f0f\u653e\u5728\u82b1\u62ec\u53f7\u4e2d\u5d4c\u5165\u5230\u9875\u9762\u4e2d\u3002\u4f8b\u5982\uff0c\u8868\u8fbe\u5f0f1+2={{1+2}}\u5c06\u4f1a\u5f97\u52301+2=3\u3002\u5176\u4e2d\u62ec\u53f7\u4e2d\u7684\u8868\u8fbe\u5f0f\u88ab\u6267\u884c\u4e86\uff0c\u8fd9\u5c31\u610f\u5473\u7740\uff0c\u5982\u679c\u670d\u52a1\u7aef\u5141\u8bb8\u7528\u6237\u8f93\u5165\u7684\u53c2\u6570\u4e2d\u5e26\u6709\u82b1\u62ec\u53f7\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u7528Angular\u8868\u8fbe\u5f0f\u6765\u8fdb\u884cxss\u653b\u51fb\u3002<\/p>\n \u7531\u4e8eAngularJS\u5de5\u4f5c\u5728\u6c99\u7bb1\u6a21\u5f0f\uff0c\u6240\u4ee5\u4f7f\u7528\u53c2\u6570{{alert(1)}}\u65e0\u4efb\u4f55\u8fd4\u56de\u4fe1\u606f\uff0c\u4f46\u8fd9\u5e76\u4e0d\u4ee3\u8868AngularJS\u6c99\u7bb1\u6ca1\u6709\u6f0f\u6d1e\u3002\u5728 AngularJS1.6\u7248\u672c\u4e2d\uff0c\u7531\u4e8e\u6c99\u7bb1\u673a\u5236\u4e0d\u80fd\u5f88\u597d\u5730\u8d77\u5230\u5b89\u5168\u9632\u62a4\u76ee\u7684\uff0c\u5df2\u7ecf\u88ab\u4ece\u6e90\u7801\u4e2d\u79fb\u9664\u3002\u800cPortSwigger\u8fd8\u5bf9AngularJS\u7684\u5404\u7248\u672c\u6c99\u7bb1\u8fdb\u884c\u4e86\u7ed5\u8fc7\u6d4b\u8bd5\uff0c\u5e76\u7ed9\u51fa\u4e86\u76f8\u5e94\u7ed5\u8fc7\u6267\u884c\u547d\u4ee4\u3002<\/p>\n \u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u6765\u770b\u770bMcDonalds.com\u4f7f\u7528\u7684AngularJS\u7248\u672c\uff0c\u901a\u8fc7\u5728\u6d4f\u89c8\u5668\u63a7\u5236\u7aef\u8f93\u5165angular.version\u547d\u4ee4\uff1a \u53ef\u4ee5\u53d1\u73b0AngularJS\u4e3a1.5.3\u7248\u672c\uff0c\u53c2\u7167PortSwigger\u7684\u6d4b\u8bd5\uff0c\u6211\u4eec\u9009\u7528<\/p>\n {{x = {'y':''.constructor.prototype}; x['y'].charAt=[].join;$ 100vw, 965px\" \/><\/p>\n |