RatPanel can perform remote command execution without authorization
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.5.6, 0.0.0-20250707071915-4985eb2e1f38
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- tnb-labs panel
From 2.3.19 · fixed in 2.5.6
- github.com/tnborg/panelGo
From 2.3.19 · fixed in 2.5.6
- github.com/tnborg/panelGo
From 0.0.0-20241111062800-91ecd04c2700 · fixed in 0.0.0-20250707071915-4985eb2e1f38
- github.com/TheTNB/panelGo
From 0.0.0-20241111062800-91ecd04c2700
- github.com/TheTNB/panel/v2Go
All versions
- github.com/tnb-labs/panelGo
fixed in 0.0.0-20250707071915-4985eb2e1f38