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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege access
  2. Delivery
    Craft serialized PHP gadget payload
  3. Exploit
    Submit via formkit_memory_recovery POST or bwRemember cookie
  4. Execution
    unserialize() instantiates gadget chain
  5. Persist
    Write arbitrary file / execute code
  6. Impact
    Full 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 formkit_memory_recovery POST parameter processed by RoxPostHandler::getCallbackAction, which is passed through stripslashes()/htmlspecialchars_decode() into unserialize(); or (2) the bwRemember 'memory cookie' consumed by the restore-from-memory functionality in RoxModelBase::getMemoryCookie, also passed to unserialize(). A working PHP POP gadget chain must exist in the loaded Rox codebase and bundled libraries - the disclosure states such chains ARE present, so this is satisfied by default on affected builds. The CVSS vector's PR:L indicates a low-privilege authenticated context is expected (limiting factor: not confirmed as fully anonymous/unauthenticated from the data), while UI:N and AC:L mean no user interaction and no special timing/complexity are needed once the endpoint is reachable. The principal limiting factors are therefore the required low-privilege access and the need for the vulnerable pre-c60bf04 code to still be deployed with the remember-me/recovery paths active.

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 formkit_memory_recovery, neutralized to false), which corroborates the description rather than contradicting it. Tempering factors: PR:L means some authenticated/low-privilege foothold is expected rather than fully anonymous exploitation, and the cookie-based sink may narrow to sessions that use the remember-me flow. No EPSS score, no CISA KEV entry, and no confirmed POC flag were provided, so probabilistic and in-the-wild-exploitation signals are simply absent (not negative) - this is confirmed actively exploited status is NOT established. SSVC/automatability data was not supplied. Net: treat as a high-priority RCE for the specific (niche) product, but real-world mass exploitation likelihood is unquantified given missing EPSS/KEV data.

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 formkit_memory_recovery value - a serialized PHP object graph built from Rox/bundled-library gadgets - or plants a malicious bwRemember cookie. When the server deserializes it, the gadget chain fires during object lifecycle handling to write a PHP file or execute commands, giving the attacker code execution and full site compromise. Given AV:N/AC:L/UI:N, the request is a single network interaction with no victim interaction required; no confirmed public POC is provided, though the referenced gist may detail the chain.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Rare
single niche community-hosting platform, minimal enterprise deployment footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

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-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

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

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