critical CVSS 9.8

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-fpm

Defensia 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 executed

WAF 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

  1. Check installed PHP version: php -v and compare against the vulnerability timeline for Vasion Print components
  2. Scan for exposed legacy endpoints: curl -s http://localhost/var/www/app/resetroot.php -I | head -1 (should return 404 if patched)
  3. 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
  4. 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

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-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.
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-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.

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-34205. Free for 1 server.

Get started free