CVE-2025-34205·PHP vulnerability
Vasion Print (formerly PrinterLogic) Virtual Appliance Host versions prior to 22.0.843 and Application prior to 20.0.1923 (VA and SaaS deployments) contains dangerous PHP dead code present in multiple Docker-hosted PHP instances. A script named /var/www/app/resetroot.php (found in several containers) lacks authentication checks and, when executed, performs a SQL update that sets the database administrator username to 'root' and its password hash to the SHA-512 hash of the string 'password'. Separately, commented-out code in /var/www/app/lib/common/oses.php would unserialize session data (unserialize($_SESSION['osdata']))—a pattern that can enable remote code execution if re-enabled or reached with attacker-controlled serialized data. An attacker able to reach the resetroot.php endpoint can trivially reset the MySQL root password and obtain full database control; combined with deserialization issues this can lead to full remote code execution and system compromise. This vulnerability has been identified by the vendor as: V-2023-003 — Dead / Insecure PHP Code.
- Severity
- critical
- Software
- PHP
- Fixed in
- 22.0.843
- Published
- 2025-09-19
Affected versions
Until: 22.0.843
Fixed in: 22.0.843
How to fix this CVE
Upgrade PHP and Vasion Print Virtual Appliance components to patch dangerous unauthenticated endpoints and unsafe deserialization routines. Systems running Vasion Print VA versions prior to 22.0.843 or Application versions prior to 20.0.1923 must be updated immediately to eliminate exposure to database credential reset and remote code execution attacks. After patching, verify that legacy PHP scripts like resetroot.php have been removed and that no unauthenticated endpoints remain accessible.
sudo dnf update php php-common php-cli php-fpmDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST|GET /app/resetroot.php HTTP.*|GET /lib/common/oses.php.*osdata.*unserialize|HTTP request to /var/www/app/resetroot.php with response indicating SQL UPDATE executedWAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Block all HTTP requests to /resetroot.php, /lib/common/oses.php, and any paths containing /var/www/app/ with a 403 Forbidden response; additionally, enforce strict input validation on any parameter containing serialized PHP objects (prefixed with 'O:' or 'a:') and log such attempts for investigation.How to check if you are affected
- Check installed PHP version: php -v and compare against the vulnerability timeline for Vasion Print components
- Scan for exposed legacy endpoints: curl -s http://localhost/var/www/app/resetroot.php -I | head -1 (should return 404 if patched)
- Review web server access logs for GET/POST requests to /resetroot.php or /lib/common/oses.php: grep -E '(resetroot\.php|oses\.php)' /var/log/apache2/access.log /var/log/nginx/access.log
- Verify PHP version is 22.0.843 or later and confirm patched files are in place: ls -la /var/www/app/resetroot.php (should not exist or return permission denied)
Indicators of compromise
- /app/resetroot.php
- /lib/common/oses.php
- /var/www/app/resetroot.php
- UPDATE.*users.*SET.*username.*=.*'root'.*password
- unserialize($_SESSION['osdata'])
FAQ
What is CVE-2025-34205?
CVE-2025-34205 is a critical vulnerability in Vasion Print (formerly PrinterLogic) PHP applications that exposes unauthenticated endpoints capable of resetting database administrator credentials and enabling remote code execution through unsafe object deserialization patterns.
Is CVE-2025-34205 being actively exploited?
According to CISA KEV data, CVE-2025-34205 is not currently listed as actively exploited in the wild; however, no public exploit is required since the vulnerability is trivial to trigger and provides immediate system compromise.
What versions of PHP are affected by CVE-2025-34205?
Vasion Print Virtual Appliance versions prior to 22.0.843 and Application versions prior to 20.0.1923 are affected; all underlying PHP installations in these deployments inherit the risk.
How do I check if my server is vulnerable to CVE-2025-34205?
Run: curl -s http://localhost/app/resetroot.php -o /dev/null -w '%{http_code}' — if the response is 200 instead of 404, the endpoint is exposed and your system is vulnerable.
Does Defensia detect CVE-2025-34205?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If PHP is installed on a monitored server, CVE-2025-34205 will appear in your dashboard with remediation steps.
Related PHP CVEs
References
- https://help.printerlogic.com/saas/Print/Security/Security-Bulletins.htm
- https://help.printerlogic.com/va/Print/Security/Security-Bulletins.htm
- https://pierrekim.github.io/blog/2025-04-08-vasion-printerlogic-83-vulnerabilities.html#va-dead-code
- https://www.vulncheck.com/advisories/vasion-print-printerlogic-dangerous-php-dead-code-enables-rce
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-34205. Free for 1 server.
Get started free