{"id":"MSF-linux--http--pyload_js2py_exec","name":"pyLoad js2py Python Execution","description":"pyLoad versions prior to 0.5.0b3.dev31 are vulnerable to Python code injection due to the pyimport functionality exposed through the js2py library. An unauthenticated attacker can issue a crafted POST request to the flash/addcrypted2 endpoint to leverage this for code execution. pyLoad by default runs two services, the primary of which is on port 8000 and can not be used by external hosts. A secondary \"Click 'N' Load\" service runs on port 9666 and can be used remotely without authentication.","cves":["CVE-2023-0297"],"author":"Spencer McIntyre, bAu","published":"2023-01-13","platform":"Linux,Python,Unix","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/9e02ac35d81e745446e23f3b552dce2eea215a8a/modules/exploits/linux/http/pyload_js2py_exec.rb","path":"modules/exploits/linux/http/pyload_js2py_exec.rb","revision":"9e02ac35d81e745446e23f3b552dce2eea215a8a","filename":"pyload_js2py_exec.rb","vulnerabilities":[{"id":"CVE-2023-0297","state":"PUBLISHED","title":"Code Injection in pyload/pyload","titleSource":"CVE Program","description":"Code Injection in GitHub repository pyload/pyload prior to 0.5.0b3.dev31.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2023-0297","cvss":{"version":"3.0","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"@huntrdev","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-0297"},"updatedAt":"2025-04-07T18:41:55.800Z","retrievedAt":"2026-11-26T19:41:04.768Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-linux--http--pyload_js2py_exec.png?v=2","url":"https://exploitbin.com/exploits/MSF-linux--http--pyload_js2py_exec","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--pyload_js2py_exec/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--pyload_js2py_exec/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}