Goal Reached Thanks to every supporter โ€” we hit 100%!

Goal: 1000 CNY ยท Raised: 1359 CNY

100%

CVE-2022-31137 โ€” AI Deep Analysis Summary

CVSS 10.0 ยท Critical

Q1What is this vulnerability? (Essence + Consequences)

๐Ÿšจ **Essence**: Roxy-WI suffers from **OS Command Injection**. Attackers can execute arbitrary system commands remotely via the `subprocess_execute` function.โ€ฆ

Q2Root Cause? (CWE/Flaw)

๐Ÿ›ก๏ธ **Root Cause**: **CWE-78** (OS Command Injection). The flaw lies in `/app/options.py`, where user inputs are not sanitized before being passed to the command execution function.โ€ฆ

Q3Who is affected? (Versions/Components)

๐Ÿ“ฆ **Affected**: **Roxy-WI** versions **before 6.1.1.0**. ๐Ÿข **Vendor**: hap-wi. ๐ŸŒ **Component**: The web interface managing Haproxy, Nginx, and Keepalived servers.

Q4What can hackers do? (Privileges/Data)

๐Ÿ’€ **Hackers Can**: Execute commands with the privileges of the Roxy-WI service account. ๐Ÿ“‚ **Impact**: Read/Write/Modify any file, steal data, install backdoors, or pivot to other internal servers.โ€ฆ

Q5Is exploitation threshold high? (Auth/Config)

๐Ÿ”“ **Threshold**: **LOW**. ๐ŸŒ **Access**: Network Accessible (AV:N). ๐Ÿ”‘ **Auth**: No Privileges Required (PR:N). ๐Ÿ‘ค **UI**: No User Interaction Needed (UI:N). It is a critical, easy-to-exploit flaw.

Q6Is there a public Exp? (PoC/Wild Exploitation)

๐Ÿ”ฅ **Public Exp**: **YES**. ๐Ÿ“‚ **PoCs**: Available on GitHub (Threekiii/Awesome-POC) and Nuclei templates. ๐Ÿš€ **Wild Exploitation**: Likely, given the low barrier to entry and public availability of exploits.

Q7How to self-check? (Features/Scanning)

๐Ÿ” **Self-Check**: Scan for Roxy-WI instances. ๐Ÿงช **Test**: Use Nuclei template `CVE-2022-31137.yaml`. ๐Ÿ“ **Verify**: Check if `/app/options.py` is vulnerable to command injection via `subprocess_execute`.

Q8Is it fixed officially? (Patch/Mitigation)

๐Ÿ› ๏ธ **Fixed**: **YES**. โœ… **Patch**: Upgrade to **Roxy-WI version 6.1.1.0** or later. ๐Ÿ“ข **Advisory**: See GHSA-53r2-mq99-f532 for official details.

Q9What if no patch? (Workaround)

๐Ÿšง **No Patch?**: Implement strict **Input Validation** on `/app/options.py`. ๐Ÿšซ **Mitigation**: Restrict network access to Roxy-WI. ๐Ÿ›‘ **Defense**: Use WAF rules to block OS command injection patterns in HTTP requests.

Q10Is it urgent? (Priority Suggestion)

๐Ÿšจ **Urgency**: **CRITICAL**. ๐Ÿ”ด **Priority**: **P0**. Immediate patching required. With CVSS High and public PoCs, active exploitation is highly probable. Do not delay! โณ