CVE-2022-25046
Control Web Panel vulnerability analysis and mitigation

Overview

A path traversal vulnerability (CVE-2022-25046) was discovered in loader.php of Control Web Panel (CWP) v0.9.8.1122, allowing attackers to execute arbitrary code via crafted POST requests. The vulnerability was identified and responsibly disclosed by Immersive Labs researchers in early 2022 (NVD, Immersive Labs).

Technical details

The vulnerability stems from improper filtering of directory traversal attempts in the application. The security measures implemented, including htmlspecialchars and striptags functions, inadvertently created a new bypass method. When sending a string like 'variable=../', the initial security check passes as '..' isn't present, but after the final striptags processing, it results in 'variable=../../', enabling directory traversal. This vulnerability was chained with a command injection flaw to achieve remote code execution (Immersive Labs).

Impact

The vulnerability affected approximately 185,000 active CWP servers on the internet, with each server typically hosting between 10 and 100 websites. This means millions of individual websites could have been impacted. Attackers could potentially exploit these vulnerabilities at scale to infect websites with credential harvesting malware or target payment portals to intercept banking details (Immersive Labs).

Mitigation and workarounds

The CWP team has patched all reported vulnerabilities. The system's default configuration includes automatic updates at regular intervals, ensuring that all CWP instances should be fully patched unless updates have been manually disabled. Users can verify their installed version by SSH-ing onto the target server and running the command 'cat /path to version.php' (Immersive Labs).

Community reactions

The CWP development team responded quickly to the disclosure and worked collaboratively with researchers to patch and test all fixes. As acknowledgment for the responsible disclosure, CWP made a donation to Save the Children in support of Ukraine at the researchers' request (Immersive Labs).

Additional resources


SourceThis report was generated using AI

Related Control Web Panel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-42121CRITICAL9.8
  • Control Web PanelControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesMay 03, 2024
CVE-2025-48703CRITICAL9
  • Control Web PanelControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
YesYesSep 19, 2025
CVE-2023-42123HIGH8.8
  • Control Web PanelControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesMay 03, 2024
CVE-2023-42120HIGH8.8
  • Control Web PanelControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesMay 03, 2024
CVE-2023-42122HIGH7.8
  • Control Web PanelControl Web Panel
  • cpe:2.3:a:control-webpanel:webpanel
NoYesMay 03, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management