CVE-2025-34429
vulnerability analysis and mitigation

Overview

CVE-2025-34429 is a Cross-Site Request Forgery (CSRF) vulnerability in the web port configuration functionality of 1Panel, an open-source Linux server management panel developed by Fit2Cloud. It affects versions 1.10.33 through 2.0.15 (inclusive). The vulnerability was published on December 10, 2025, by VulnCheck and added to the GitHub Advisory Database the same day. It carries a CVSS v3.1 base score of 7.1 (High) and a CVSS v4.0 base score of 7.0 (High) (GitHub Advisory, Feedly).

Technical details

The vulnerability is classified as CWE-352 (Cross-Site Request Forgery). The port-change endpoint in 1Panel's web interface lacks standard CSRF defenses — specifically, it does not implement anti-CSRF tokens and does not validate the Origin or Referer HTTP headers. An attacker can craft a malicious webpage containing a hidden form or JavaScript that submits a port-change request to the 1Panel API; when an authenticated administrator visits the page, the browser automatically includes valid session cookies, causing the server to accept and process the forged request. No special privileges or prior access to the target system are required by the attacker beyond social engineering the victim into visiting the malicious page (GitHub Advisory, Feedly).

Impact

Successful exploitation allows an attacker to change the TCP port on which the 1Panel web service listens, causing immediate loss of access on the original port and resulting in denial of service for legitimate administrators. Additionally, the service may be unintentionally exposed on an attacker-chosen port, potentially bypassing firewall rules or network access controls that were configured for the original port. There is no direct confidentiality impact, but the integrity impact includes unauthorized modification of a critical service configuration (GitHub Advisory, Feedly).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation (Feedly). No threat actor attribution has been reported. The EPSS score is approximately 0.018% (0.000180), placing it in a low exploitation probability tier. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction — specifically, an authenticated 1Panel administrator must visit a malicious webpage — which limits the attack surface compared to fully unauthenticated vulnerabilities (GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify a target running a vulnerable version of 1Panel (1.10.33–2.0.15) by scanning for the default 1Panel web interface port or through OSINT.
  2. Craft malicious page: Create an HTML page containing a hidden form or JavaScript fetch()/XMLHttpRequest that sends a POST request to the 1Panel port-change API endpoint (e.g., /api/v1/settings/port) with an attacker-chosen port number as the payload.
  3. Social engineering: Deliver the malicious URL to an authenticated 1Panel administrator via phishing email, chat message, or by embedding it in a resource the administrator is likely to visit.
  4. Trigger the CSRF: When the authenticated administrator visits the malicious page, the browser automatically includes the valid 1Panel session cookie with the forged request. Because the endpoint lacks CSRF token or Origin/Referer validation, the server processes the request as legitimate.
  5. Achieve objective: The 1Panel web service is reconfigured to listen on the attacker-specified port, causing denial of service on the original port and potentially exposing the panel on a port not covered by existing firewall rules (GitHub Advisory, Feedly).

Indicators of compromise

  • Logs: 1Panel access logs showing a POST request to the port configuration endpoint (e.g., /api/v1/settings/port) originating from an unexpected or external Referer header, or with no Referer/Origin header at all during an active administrator session.
  • Configuration Changes: Unexpected changes to the 1Panel listening port in the panel's configuration files or settings database, particularly if the change timestamp does not correspond to a known administrative action.
  • Network: The 1Panel web service becomes unreachable on its previously configured port; network scans reveal the panel responding on an unexpected port.
  • Application Events: 1Panel audit or event logs (if enabled) recording a port-change action at an unusual time or without a corresponding administrator login from a known IP address.

Mitigation and workarounds

Upgrade 1Panel to a version beyond 2.0.15, as a patch has been made available in subsequent releases (the latest stable release at time of reporting is v2.1.13) (1Panel Releases). Until an upgrade is possible, administrators should restrict access to the 1Panel web interface to trusted IP addresses using firewall rules, reducing the risk of a CSRF attack being triggered. Additionally, enabling two-factor authentication (2FA) for the 1Panel admin account and using browser security extensions that block cross-origin requests can provide supplementary protection. Monitoring for unexpected port configuration changes in application logs is also recommended (GitHub Advisory, Feedly).

Additional resources


SourceThis report was generated using AI

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