Skip to main content

BeWelcome Rox CVE-2025-34292

CRITICAL
Deserialization of Untrusted Data (CWE-502)
2025-10-27 disclosure@vulncheck.com
9.4
CVSS 4.0 · Vendor: vulncheck
Share

Severity by source

Vendor (vulncheck) PRIMARY
9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
8.8 HIGH

Network-reachable unserialize() sink with low complexity and no interaction, but the CVSS vector's PR:L implies a low-privilege foothold; deserialization-to-RCE yields full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Jul 14, 2026 - 23:32 vuln.today
Analysis Generated
Jul 14, 2026 - 23:32 vuln.today
CVE Published
Oct 27, 2025 - 15:15 cve.org
CRITICAL 9.4

DescriptionCVE.org

Rox, the software running BeWelcome, contains a PHP object injection vulnerability resulting from deserialization of untrusted data. User-controlled input is passed to PHP's unserialize(): the POST parameter formkit_memory_recovery in \\RoxPostHandler::getCallbackAction and the 'memory cookie' read by \\RoxModelBase::getMemoryCookie (bwRemember). (1) If present, formkit_memory_recovery is processed and passed to unserialize(), and (2) restore-from-memory functionality calls unserialize() on the bwRemember cookie value. Gadget chains present in Rox and bundled libraries enable exploitation of object injection to write arbitrary files or achieve remote code execution. Successful exploitation can lead to full site compromise. This vulnerability was remediated with commit c60bf04 (2025-06-16).

AnalysisAI

Remote code execution in Rox, the PHP platform powering the BeWelcome hospitality-exchange community, arises from unsafe unserialize() calls on attacker-controllable input: the POST parameter formkit_memory_recovery handled by RoxPostHandler::getCallbackAction and the bwRemember 'memory cookie' read by RoxModelBase::getMemoryCookie. Because usable PHP gadget chains ship in Rox and its bundled libraries, an attacker with low-level access can trigger PHP object injection to write arbitrary files or execute code, resulting in full site compromise. The issue carries a CVSS 4.0 base score of 9.4 and was fixed in commit c60bf04 (2025-06-16); no public exploit identified at time of analysis, though a referenced technical gist may contain exploitation detail.

Technical ContextAI

The vulnerability is a classic CWE-502 Deserialization of Untrusted Data flaw in a PHP web application. PHP's unserialize() reconstructs arbitrary object graphs from a serialized string; if an application feeds untrusted bytes to it, an attacker can instantiate objects of any class currently loaded and control their properties. When such objects define 'magic methods' (__wakeup, __destruct, __toString, etc.) or when combined into a POP (Property-Oriented Programming) gadget chain across the application and its bundled libraries, deserialization alone can drive file writes, code inclusion, or command execution - this is PHP Object Injection. In Rox, two sinks receive untrusted data: the restore-from-memory ('remember me') feature deserializes the bwRemember cookie, and getCallbackAction deserializes the formkit_memory_recovery POST field (after stripslashes/htmlspecialchars_decode). The disclosure notes that suitable gadget chains already exist within Rox and its dependencies, converting object injection into arbitrary file write / RCE. No CPE strings were supplied in the input, so exact platform identifiers are unavailable; the affected component is identified from the source repository (github.com/BeWelcome/rox) and the patch diff to tools/services/roxposthandler.class.php.

Affected ProductsAI

The affected product is Rox, the open-source PHP application that runs the BeWelcome hospitality-exchange website (repository: https://github.com/BeWelcome/rox). No CPE identifiers were provided and the input specifies no version range; affected versions are those prior to fix commit c60bf04 dated 2025-06-16 (https://github.com/BeWelcome/rox/commit/c60bf04). The vulnerable code resides in tools/services/roxposthandler.class.php (RoxPostHandler::getCallbackAction) and the memory-cookie handling in RoxModelBase::getMemoryCookie. Vendor/researcher advisory: https://www.vulncheck.com/advisories/rox-php-object-injection-rce, with additional technical notes at https://gist.github.com/mcdruid/c0f7c42b28949c7d86cf77d0c674f398.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply Rox commit c60bf04 (2025-06-16), which removes the unserialize() of formkit_memory_recovery (the diff sets $mem_from_recovery = false) and hardens the callback handler; pull the current main branch of https://github.com/BeWelcome/rox if no tagged release is used. If you cannot patch immediately, the effective compensating controls are targeted: stop passing the formkit_memory_recovery POST parameter and the bwRemember memory cookie into unserialize() by disabling the restore-from-memory ('remember me') feature, or replace unserialize() with a safe encoding (JSON) or the allowed_classes => false option so no objects can be instantiated (trade-off: existing remember-me sessions break and users must re-authenticate). As a network-layer stopgap, use a WAF/reverse-proxy rule to reject requests carrying a formkit_memory_recovery field or a bwRemember cookie whose value contains PHP-serialized object markers (e.g. patterns like O: / a:), accepting the risk of false positives and that serialization can be obfuscated. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/rox-php-object-injection-rce) and the mcdruid gist for specifics before deploying filters.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2025-34292 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy