Share
## https://sploitus.com/exploit?id=9176C372-DF35-547D-8D0F-C5916EB3B2E9
<div class="markdown prose w-full break-words dark:prose-invert light"><h1>CVE-2023-23752</h1><p>This is a proof-of-concept code for the CVE-2023-23752 vulnerability. It allows an attacker to extract sensitive information such as usernames, passwords, and database names from a target application.</p><h2>Usage</h2><p>To use this code, you can follow these steps:</p><ol><li>Clone this repository or download the <code>CVE-2023-23752.py</code> file.</li><li>Make sure you have Python 3 and the required packages (<code>argparse</code> and <code>requests</code>) installed on your system.</li><li>Open a terminal or command prompt and navigate to the directory where the <code>CVE-2023-23752.py</code> file is located.</li><li>Run the script with the following command:</li></ol><pre><div class="bg-black rounded-md mb-4"><div class="flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md"><button class="flex ml-auto gap-2"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" class="h-4 w-4" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect></svg></button></div><div class="p-4 overflow-y-auto">python CVE-2023-23752.py -u &lt;target_url&gt; -o &lt;output_file&gt;
</code></div></div></pre><p>Replace <code>&lt;target_url&gt;</code> with the URL of the target application and <code>&lt;output_file&gt;</code> with the path to the output file where the results will be saved.</p><p>Alternatively, you can provide a file containing a list of URLs to scan with the following command:</p><pre><div class="bg-black rounded-md mb-4"><div class="flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md"><button class="flex ml-auto gap-2"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" class="h-4 w-4" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect></svg></button></div><div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-python">python CVE-2023-23752.py -f &lt;input_file&gt; -o &lt;output_file&gt;
</code></div></div></pre><p>Replace <code>&lt;input_file&gt;</code> with the path to the file containing a list of URLs to scan.</p><h2>Arguments</h2><p>The following arguments are available:</p><ul><li><code>-u</code>, <code>--url</code>: The URL of the target application to scan.</li><li><code>-f</code>, <code>--file</code>: The path to the file containing a list of URLs to scan.</li><li><code>-o</code>, <code>--output_file</code>: The path to the output file where the results will be saved. This argument is optional.</li><li><code>-e</code>, <code>--endpoint</code>: The endpoint to scan. The default value is <code>/api/index.php/v1/config/application?public=true</code>.</li><li><code>-t</code>, <code>--timeout</code>: The timeout in seconds for each request. The default value is <code>2</code>.</li><li><code>-m</code>, <code>--max_threads</code>: The maximum number of threads to use for scanning. The default value is <code>10</code>.</li></ul><h2>Disclaimer</h2><p>This code is for educational purposes only and should not be used for illegal activities. The author is not responsible for any damage or harm caused by the use or misuse of this code.</p></div>