BeWelcome Rox CVE-2025-34292
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege access
-
DeliveryCraft serialized PHP gadget payload
-
ExploitSubmit via formkit_memory_recovery POST or bwRemember cookie
-
Executionunserialize() instantiates gadget chain
-
PersistWrite arbitrary file / execute code
-
ImpactFull site compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires reaching one of two specific sinks: (1) the |
| Impact | The signals are largely consistent and point to a genuine high priority for anyone running Rox. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N with high vulnerable- and subsequent-system CIA) indicates network-reachable, low-complexity exploitation requiring only low privileges and no user interaction, yielding full compromise - consistent with a deserialization-to-RCE class bug and the 9.4 score. The patch diff confirms the sink (unserialize on |
| Exploit ScenarioDerived | An attacker with a low-privilege account (or a valid session using the remember-me flow) submits a request to the Rox callback endpoint containing a crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 14, 2026
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.
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.
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.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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).
Executive ViewAI
Rox, the PHP platform powering BeWelcome's hospitality exchange network, contains a critical remote code execution vulnerability in form and cookie handling that could allow attackers to execute arbitrary PHP code and achieve full platform compromise. All BeWelcome users face potential data exposure and account compromise; immediate action is essential to protect user privacy and restore platform integrity.
No vendor-released patch identified at time of analysis; no public exploit identified at time of analysis. Interim mitigations: Implement Web Application Firewall (WAF) rules to block or sanitize requests containing serialized PHP objects in the formkit_memory_recovery POST parameter and bwRemember cookie; disable PHP unserialize() processing if operationally feasible; apply strict input validation and encoding; implement rate limiting on vulnerable endpoints; establish continuous monitoring for exploitation indicators. Consider temporary platform unavailability if active exploitation is confirmed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub
Exploit-DB