{"id":"CVE-2023-50094","published":"2024-01-01T00:00:00Z","modified":"2025-04-17T18:55:32Z","title":"reNgine before 2.1.2 allows OS Command Injection if an adversary has a valid session ID","vendor":null,"product":null,"tier":"tail","description":{"text":"reNgine before 2.1.2 allows OS Command Injection if an adversary has a valid session ID. The attack places shell metacharacters in an api/tools/waf_detector/?url= string. The commands are executed as root via subprocess.check_output.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.2078,"percentile":0.98078,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/yogeshojha/rengine/blob/5e120bd5f9dfbd1da82a193e8c9702e483d38d22/web/api/views.py#L195","tags":[]},{"url":"https://github.com/yogeshojha/rengine/security","tags":[]},{"url":"https://github.com/yogeshojha/rengine/releases","tags":[]},{"url":"https://www.mattz.io/posts/cve-2023-50094/","tags":[]},{"url":"https://github.com/yogeshojha/rengine/security/advisories/GHSA-fx7f-f735-vgh4","tags":[]},{"url":"https://github.com/yogeshojha/rengine/commit/3d5f1724dd12cf9861443742e7d7c02ff8c75a6f","tags":[]},{"url":"https://github.com/yogeshojha/rengine/commit/edd3c85ee16f93804ad38dac5602549d2d30a93e","tags":[]},{"url":"https://github.com/yogeshojha/rengine/blob/53d9f505f04861a5040195ea71f20907ff90577a/web/api/views.py#L268-L275","tags":[]}],"priority":{"score":30.8,"factors":[{"name":"EPSS percentile","points":19.62},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-11-23","earliestUrl":"https://github.com/Zierax/CVE-2023-50094_POC","repos":[{"name":"Zierax/CVE-2023-50094_POC","url":"https://github.com/Zierax/CVE-2023-50094_POC","stars":1,"created":"2024-11-23"}]},"nuclei":[{"id":"CVE-2023-50094","name":"reNgine 2.2.0 - Command Injection","severity":"high","path":"http/cves/2023/CVE-2023-50094.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-50094.yaml"}],"first":{"date":"2024-11-23","source":"PoC-in-GitHub","url":"https://github.com/Zierax/CVE-2023-50094_POC"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-01-08T16:16:21.020714Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The reNgine web reconnaissance tool, before version 2.1.2, contains an OS command injection flaw in its WAF detector API endpoint (api/tools/waf_detector/?url=), where the url parameter is passed unsanitised into a shell command run via subprocess.check_output. An attacker holding a valid session ID can embed shell metacharacters in that parameter to execute arbitrary commands over the network, with no user interaction required, and the commands run as root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:22Z"},"euvd":{"id":"EUVD-2023-54924","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-yogeshojha-rengine-cve-2021-38606","parents":[{"from":"CVE-2021-38606","to":"CVE-2023-50094","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/reNgine/tasks.py"],"commits":["https://github.com/yogeshojha/rengine/commit/158367a231335026b8dba633a76b44de290ad37c","https://github.com/yogeshojha/rengine/commit/3d5f1724dd12cf9861443742e7d7c02ff8c75a6f","https://github.com/yogeshojha/rengine/commit/edd3c85ee16f93804ad38dac5602549d2d30a93e"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2023-50094","to":"CVE-2025-24962","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/reNgine/tasks.py"],"commits":["https://github.com/yogeshojha/rengine/commit/3d5f1724dd12cf9861443742e7d7c02ff8c75a6f","https://github.com/yogeshojha/rengine/commit/edd3c85ee16f93804ad38dac5602549d2d30a93e","https://github.com/yogeshojha/rengine/commit/c28e5c8d304478a787811580b4d80b330920ace4"],"basis":"rarely changed file"}]}]}}