CVE-2025-53534 RatPanel can perform remote command execution without authorization
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
4 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| TheTNB github.com/TheTNB/panel(Go) | >= 0.0.0-20241111062800-91ecd04c2700; All versions | No fix listed | No fix yet |
| tnb-labs github.com/tnb-labs/panel(Go) | < 0.0.0-20250707071915-4985eb2e1f38 | 0.0.0-20250707071915-4985eb2e1f38 | Fixed |
| tnborg github.com/tnborg/panel(Go) | >= 0.0.0-20241111062800-91ecd04c2700, < 0.0.0-20250707071915-4985eb2e1f38; >= 2.3.19, < 2.5.6 | 0.0.0-20250707071915-4985eb2e1f38, 2.5.6 | Fixed |
| tnb-labs github.com/tnb-labs/panel | = >= 2.3.19, < 2.5.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tnborg github.com/tnborg/panel(Go) | >= 2.3.19, < 2.5.6 | 2.5.6 |
| tnborg github.com/tnborg/panel(Go) | >= 0.0.0-20241111062800-91ecd04c2700, < 0.0.0-20250707071915-4985eb2e1f38 | 0.0.0-20250707071915-4985eb2e1f38 |
| TheTNB github.com/TheTNB/panel(Go) | >= 0.0.0-20241111062800-91ecd04c2700 | No fix listed |
| TheTNB github.com/TheTNB/panel(Go) | All versions | No fix listed |
| tnb-labs github.com/tnb-labs/panel(Go) | < 0.0.0-20250707071915-4985eb2e1f38 | 0.0.0-20250707071915-4985eb2e1f38 |
| tnb-labs github.com/tnb-labs/panel | = >= 2.3.19, < 2.5.6 | No fix listed |
References
- https://github.com/tnborg/panel/security/advisories/GHSA-fm3m-jrgm-5ppg exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- https://github.com/tnborg/panel/commit/ed5c74c7534230ba685273504af4c1e1e3598ff1 patch
- github.com product
- https://github.com/tnborg/panel/releases/tag/v2.5.6
- github.com