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 phpDefensia 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\nWAF 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
- Check installed PHP version: php -v or php -r 'echo phpversion();'
- Verify the management interface is accessible: curl -I https://<management-ip>/admin/ (should return 401 if properly protected)
- 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
- 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
References
- https://security.paloaltonetworks.com/CVE-2025-0108
- https://github.com/iSee857/CVE-2025-0108-PoC
- https://slcyber.io/blog/nginx-apache-path-confusion-to-auth-bypass-in-pan-os/
- https://www.bleepingcomputer.com/news/security/palo-alto-networks-tags-new-firewall-bug-as-exploited-in-attacks/
- https://www.darkreading.com/remote-workforce/patch-now-cisa-researchers-warn-palo-alto-flaw-exploited-wild
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