MHSanaei 3x-ui
Authenticated Arbitrary File Write via Database Import and Xray Log Path Manipulation
3X-UI is a web control panel for managing Xray-core servers. Prior to 3.3.1, an authenticated administrator can abuse the database import functionality to achieve arbitrary file write on the host by modifying Xray configuration values stored in the database. This can be leveraged to obtain code execution and persistent access as the user running Xray (including root when Xray is running as root). This vulnerability is fixed in 3.3.1.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.2high · scored by CNA · CWE-73
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
MHSanaei 3x-ui
- < 3.3.1
Fixed in 3.3.1
Mitigation
Upgrade 3x-ui to 3.3.1 or later.
References
- Vendor advisory github.com/MHSanaei/3x-ui/security/advisories/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.