CVE-2015-10030: SUKOHI Surpass Path Traversal vulnerability
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.19053%
CWE
Published
1/8/2023
Updated
10/20/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| sukohi/surpass | composer | < 1.0.0 | 1.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the dir() method in Surpass.php which handled user-controlled 'dir' parameter. The pre-patch code (line 53) directly assigned $this->_dir = $dir without sanitization. The patch adds str_replace to remove path traversal characters (/ and .), confirming this was the injection point. The CWE-22 classification and commit message explicitly reference directory traversal protection being added to this method.