critical CVSS 9.1 Actively exploited

CVE-2025-0108·PHP vulnerability

An authentication bypass in the Palo Alto Networks PAN-OS software enables an unauthenticated attacker with network access to the management web interface to bypass the authentication otherwise required by the PAN-OS management web interface and invoke certain PHP scripts. While invoking these PHP scripts does not enable remote code execution, it can negatively impact integrity and confidentiality of PAN-OS. You can greatly reduce the risk of this issue by restricting access to the management web interface to only trusted internal IP addresses according to our recommended best practices deployment guidelines https://live.paloaltonetworks.com/t5/community-blogs/tips-amp-tricks-how-to-secure-the-management-access-of-your-palo/ba-p/464431 . This issue does not affect Cloud NGFW or Prisma Access software.

Severity
critical
Software
PHP
Fixed in
11.2.4
Published
2025-02-12

Affected versions

From: 11.2.0

Until: 11.2.4

Fixed in: 11.2.4

How to fix this CVE

PHP versions 11.2.0 through 11.2.3 contain an authentication bypass vulnerability in the management interface that allows unauthenticated attackers to invoke sensitive PHP scripts and compromise data integrity and confidentiality. Immediately upgrade to PHP 11.2.4 or later, and implement network-level access controls restricting management interface access to trusted internal IP ranges only.

sudo dnf update php

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST|GET /admin/.*\.php HTTP.*\nHost:.*\n((?!Authorization|X-Auth-Token).)*\n\n

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement HTTP authentication checks at the WAF level by requiring valid Authorization headers or session cookies for all requests to /admin/* paths. Block any unauthenticated requests to PHP script endpoints. Use geo-fencing or IP reputation filtering to reject management interface requests from untrusted networks.

How to check if you are affected

  1. Check installed PHP version: php -v or php -r 'echo phpversion();'
  2. Verify the management interface is accessible: curl -I https://<management-ip>/admin/ (should return 401 if properly protected)
  3. Review web server access logs for unauthenticated POST/GET requests to admin paths: grep -E 'admin|management' /var/log/apache2/access.log or /var/log/nginx/access.log | grep -v 401
  4. Confirm patch application by checking package version: dpkg -l | grep php (Debian/Ubuntu) or rpm -qa | grep php (RHEL/CentOS)

Indicators of compromise

  • Unauthenticated HTTP 200 responses to /admin/php endpoints in access logs
  • POST requests to /admin/ paths originating from external IP addresses
  • Absence of Authorization header in management interface access logs

FAQ

What is CVE-2025-0108?

CVE-2025-0108 is a critical authentication bypass flaw in PAN-OS that permits network-based attackers to reach the management interface and execute PHP scripts without providing valid credentials, potentially exposing sensitive firewall configuration and operational data.

Is CVE-2025-0108 being actively exploited?

Yes, CVE-2025-0108 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and is actively exploited in the wild. No public proof-of-concept exploit code is officially available, but threat actors have demonstrated active targeting.

What versions of PHP are affected by CVE-2025-0108?

PHP versions 11.2.0 through 11.2.3 are vulnerable. Version 11.2.4 and later include the security patch.

How do I check if my server is vulnerable to CVE-2025-0108?

Run php -v and verify the version number is 11.2.3 or earlier. Additionally, test management interface access without credentials: curl -I https://<firewall-ip>/admin/ and check if you receive unexpected 200 responses instead of 401 Unauthorized.

Does Defensia detect CVE-2025-0108?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If PHP is installed on a monitored server, CVE-2025-0108 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.
CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
CVE-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-0108. Free for 1 server.

Get started free