CVE-2023-50094
published 2024-01-01CVE-2023-50094: reNgine before 2.1.2 allows OS Command Injection if an adversary has a valid session ID. The attack places shell metacharacters in an…
PriorityP275high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
13.54%
96.0th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| yogeshojha | rengine | <= 2.0.2 | — |
Detection & IOCsextracted from sources · hover to see the quote
path/login
path/scan-engine/update
command{"nmap_cmd": 'curl {{interactsh-url}}'}
- →Monitor HTTP requests to /api/tools/waf_detector/ with shell metacharacters in the 'url' query parameter, as this is the injection point for CVE-2023-50094. ↗
- →Injected commands execute as root via subprocess.check_output; monitor for unexpected root-level process spawning from the reNgine web process. ↗
- →Exploitation requires a valid authenticated session; correlate suspicious WAF detector or scan-engine API calls with recently authenticated session IDs. ↗
- →Detect reNgine instances exposed to the internet using Shodan query title:"reNgine" to identify potentially vulnerable targets.
- ·Exploitation requires a valid authenticated session (PR:L); unauthenticated attackers cannot directly exploit this vulnerability. ↗
- ·EPSS score of 0.88564 (99.5th percentile) indicates very high likelihood of active exploitation in the wild; prioritize patching.
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Nuclei
reNgine 2.2.0 - Command Injection
nuclei·CVSS 8.8
CVE-2023-50094 [HIGH] reNgine 2.2.0 - Command Injection
reNgine 2.2.0 - Command Injection
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.
Template:
id: CVE-2023-50094
info:
name: reNgine 2.2.0 - Command Injection
author: Zierax
severity: high
description: |
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.
impact: |
Authenticated attackers can inject arbitrary OS commands that execute as root, leading to complete system compromise and data exfiltration.
remediation: |
Upgrade r
No writeups or analysis indexed.
https://github.com/yogeshojha/rengine/blob/53d9f505f04861a5040195ea71f20907ff90577a/web/api/views.py#L268-L275https://github.com/yogeshojha/rengine/blob/5e120bd5f9dfbd1da82a193e8c9702e483d38d22/web/api/views.py#L195https://github.com/yogeshojha/rengine/commit/3d5f1724dd12cf9861443742e7d7c02ff8c75a6fhttps://github.com/yogeshojha/rengine/commit/edd3c85ee16f93804ad38dac5602549d2d30a93ehttps://github.com/yogeshojha/rengine/releaseshttps://github.com/yogeshojha/rengine/securityhttps://github.com/yogeshojha/rengine/security/advisories/GHSA-fx7f-f735-vgh4https://www.mattz.io/posts/cve-2023-50094/https://github.com/yogeshojha/rengine/blob/5e120bd5f9dfbd1da82a193e8c9702e483d38d22/web/api/views.py#L195https://github.com/yogeshojha/rengine/releaseshttps://github.com/yogeshojha/rengine/securityhttps://www.mattz.io/posts/cve-2023-50094/
2024-01-01
Published