Exploit database

GH-6807c91410616244ffc1a2d56cd25937

korteke/cve-2022-42889-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-42889

42 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files2

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/main/resources/templates/home.html

HTML · 1,379 bytes
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>CVE-2022-42889 PoC</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<p>Initialize <a href="https://app.interactsh.com/">Interactsh</a> service and copy url to the box below.</br>
    Or you can use local OOB (Out of Band) service e.g. <a href="https://github.com/projectdiscovery/interactsh">Project
        Discovery Interactsh client</a>
</p>
<p><a href="https://github.com/korteke/CVE-2022-42889-POC">Github Documentation</a></p>
<form th:action="@{/exploit}">
    <strong>Interact service url</strong></br>
    <p><input type="text" th:name="interact" value="http://asdasdsad.oast.me" size="50"/></p>
    <strong>Exploit type</strong></br>
    <p>
        <select th:name="s">
            <option value="1">touch /tmp/blop</option>
            <option value="2">DNS interaction</option>
            <option value="3">URL interaction</option>
            <option value="4">Reverse shell (bash)</option>
        </select>
    <p><strong>Reverse shell</strong></p>
    <p><label>Remote host </label></label><input type="text" th:name="remoteHost" value="123.123.123.123" size="20"/>
    </p>
    <p><label>Remote port </label><input type="text" th:name="remotePort" value="4242" size="8"/></p>
    </p>
    <input type="submit"/>
</form>

</body>
</html>