CVE-2014-125107: Corveda PHPSandbox Protection Mechanism Failure vulnerability
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.23458%
CWE
Published
12/19/2023
Updated
1/3/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
corveda/phpsandbox | composer | < 1.3.5 | 1.3.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from insufficient protection around SandboxedString handling. The commit adds overrides for multiple PHP functions (var_dump, print_r, var_export, intval, floatval, is_string, etc.) to properly handle SandboxedString objects. The presence of these new wrapper functions in the patch indicates the original implementations in PHPSandbox.php did not properly mask SandboxedString instances, allowing sandboxed code to manipulate or inspect protected strings through these functions. The addition of ArrayAccess implementation to SandboxedString in the patch also suggests previous string manipulation vulnerabilities existed.