一个用于为 CVE-2000-0649 创建 PoC 的小工具。
此脚本用于验证服务器是否存在 CVE-2000-0649 漏洞。请注意尝试 HTTP、HTTPS 以及不同的路径。根据我的经验,信息泄露大多发生在通过 HTTP 连接并使用默认路径 '/' 或 '/images' 时。
你需要提供主机/IP 地址和端口。默认情况下路径设置为 '/'。你也可以选择性地指定以 '/' 开头的路径。
$ python3 cve-2000-0649.py -host {hostname} -port {port} -path {path}
This script verifies if the server is vulnerable for CVE-2000-0649.
Keep in mind to play with HTTP, HTTPS and different paths. In my experience the disclosure is mostly happening when connecting over HTTP and using the default path '/' or '/images'
Server response:
HTTP/1.1 301 Moved Permanently
Content-Type: text/html; charset=UTF-8
Location: https://192.168.1.1/images/
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Date: Tue, 18 Jun 2024 13:26:25 GMT
Connection: close
Content-Length: 152
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="https://192.168.1.1/images/">here</a></body>
The server may be vulnerable to CVE-2000-0649.
The response contains an internal IP address, indicating a potential information disclosure.
欢迎提出 issue、参与贡献并提交 Pull Request。你也可以在 Twitter (@PvdH) 上联系我。