Tnb-labs panel
RatPanel can perform remote command execution without authorization
RatPanel is a server operation and maintenance management panel. In versions 2.3.19 through 2.5.5, when an attacker obtains the backend login path of RatPanel (including but not limited to weak default paths, brute-force cracking, etc.), they can execute system commands or take over hosts managed by the panel without logging in. In addition to this remote code execution (RCE) vulnerability, the flawed code also leads to unauthorized access. RatPanel uses the CleanPath middleware provided by github.com/go-chi/chi package to clean URLs, but but the middleware does not process r.URL.Path, which can cause the paths to be misinterpreted. This is fixed in version 2.5.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.3.19, < 2.5.6
Fixed in 2.5.6
Mitigation
Upgrade panel to 2.5.6 or later.
References
- Vendor advisory github.com/tnborg/panel/security/advisories/GH…
- Patch github.com/tnborg/panel/commit/ed5c74c7534230b…
- Release notes github.com/tnborg/panel/releases/tag/v2.5.6
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.