博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[EXP]Microsoft Windows CONTACT - Remote Code Execution
阅读量:4963 次
发布时间:2019-06-12

本文共 3434 字,大约阅读时间需要 11 分钟。

[+] Credits: John Page (aka hyp3rlinx)        [+] Website: hyp3rlinx.altervista.org[+] Source:  http://hyp3rlinx.altervista.org/advisories/MICROSOFT-WINDOWS-CONTACT-FILE-INSUFFECIENT-UI-WARNING-WEBSITE-LINK-ARBITRARY-CODE-EXECUTION.txt[+] ISR: ApparitionSec          [Vendor]www.microsoft.com[Product]Microsoft .CONTACT FileA file with the CONTACT file extension is a Windows Contact file. They're used in Windows 10, Windows 8, Windows 7, and Windows Vista.This is the folder where CONTACT files are stored by default: C:\Users\[USERNAME]\Contacts\.[Vulnerability Type]Insufficient UI Warning Arbitrary Code Execution[Security Issue]This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Microsoft Windows.User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.The flaw is due to the processing of ".contact" files 
node param which takes an expected website value, however if an attacker references anexecutable file it will run that instead without warning instead of performing expected web navigation. This is dangerous and would be unexpected to an end user.e.g.
www.hyp3rlinx.altervista.com
Executable files can live in a sub-directory so when the ".contact" website link is clicked it traverses directories towards the executable and runs.Making matters worse is if the the files are compressed then downloaded "mark of the web" (MOTW) may potentially not work as expected with certain archive utilitys.The ".\" chars allow directory traversal to occur in order to run the attackers supplied executable sitting unseen in the attackers directory.This advisory is a duplicate issue that currently affects Windows .VCF files, and released for the sake of completeness as it affects Windows .contact files as well.[Exploit/POC]Rename any executable file extension from ".exe" to ".com" to be like a valid web domain name.Create a directory to house the executable fileModify the contact file website link like ---> http.\\www.
.comContact website link now points at "dir .\ executable" ---> http.\\www.
.comCompress the files using archive utility and place in webserver for download.[POC Video URL]https://vimeo.com/311759191[Disclosure Timeline]Reported to ZDI 2018-11-30This exact same vulnerability exists and affects Microsoft Windows .VCF files sharing the same root cause and was publicly disclosed 2019-01-10.https://www.zerodayinitiative.com/advisories/ZDI-19-013/Public disclosure : January 16, 2019 [+] DisclaimerThe information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise.Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, andthat due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due creditis given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibilityfor any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related informationor exploits by the author or elsewhere. All content (c).hyp3rlinx

转载于:https://www.cnblogs.com/k8gege/p/10533625.html

你可能感兴趣的文章
vue里图片压缩上传组件
查看>>
生成随机数(无论几位)
查看>>
【转载】git/github初级运用自如
查看>>
Vue update loop 的问题
查看>>
EntityFrameworkCore(efcore)在与 MySQL 连接使用中的问题
查看>>
实验吧之【拐弯抹角】(url伪静态)
查看>>
System.TimeDate
查看>>
Progress
查看>>
Python内置函数
查看>>
TensorFlow学习笔记(二)-- MNIST机器学习入门程序学习
查看>>
基于spark logicplan的表血缘关系解析实现
查看>>
我对于编程培训班的一些看法
查看>>
集合的操作
查看>>
蔡勒公式
查看>>
Groovy入门教程
查看>>
Spring工作原理
查看>>
Easyui datagrid绑定数据,新增,修改,删除方法(一)
查看>>
Java HTTP通信--Get与POST请求
查看>>
12.bss段的初始化
查看>>
10.NandFlash的驱动_写操作
查看>>