| Title | ShopeX OMS up to ca3dd19 (2026-11-12) Local File Inclusion |
|---|
| Description | A local file inclusion vulnerability was found in ShopeX OMS (https://github.com/ShopeX/OMS), an open source e-commerce order management system. The desktop finder dispatcher (app/desktop/lib/controller.php, method finder) builds a class name from the user-supplied action GET parameter: kernel::single('desktop_finder_builder_' . $_GET['action']). The autoloader _eogo_auto_load() (app/base/lib/ego/ego.php) converts class names to file paths by replacing underscores with slashes and prepending APP_DIR/<app>/lib/, without filtering dots or slashes (only strip_tags is applied), and executes require_once when the built path exists. A remote authenticated backend user can supply traversal segments (dot-dot sequences separated by underscores) as action, causing inclusion and execution of any .php file on the server outside the application directory, resulting in arbitrary local file inclusion and, combined with any file-write primitive, remote code execution. Affected version: main, commit ca3dd19 (2026-11-12). Affected files: app/desktop/lib/controller.php (finder dispatcher), app/base/lib/ego/ego.php (_eogo_auto_load). Affected parameter: GET action. CVSS 3.1 vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (7.2 High). Mitigation: whitelist the action parameter against known finder builder names or reject values containing dots or slashes, and verify with realpath() that the resolved path stays inside APP_DIR before require_once. The vendor has been notified through GitHub (public issue). |
|---|
| Source | ⚠️ https://github.com/ShopeX/OMS/issues/2 |
|---|
| User | muzhi (UID 102993) |
|---|
| Submission | 11/13/2026 07:59 (24 days ago) |
|---|
| Moderation | 12/06/2026 22:10 (24 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 450895 [ShopEx ONEX OMS up to 8.17.0 Desktop Finder Dispatcher controller.php finder action php file inclusion] |
|---|
| Points | 20 |
|---|