OS Command Injection in @pensar/apex smart_enumerate Tool
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Pensar | Apex |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.9% (1.852% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Title | OS Command Injection in @pensar/apex smart_enumerate Tool |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | OS Command Injection Vulnerability in @pensar/apex Smart Enumerate Tool |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | OS Command Injection Vulnerability in @pensar/apex Smart Enumerate Tool |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | OS Command Injection via Unsanitized Parameters in @pensar/apex's smart_enumerate Tool |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts constructs a shell command by concatenating unsanitized values from the extensions array and url parameter into a string passed to Node.js child_process.exec(). Because exec() spawns a shell, shell metacharacters in those values are interpreted by the host shell, resulting in arbitrary OS command execution with the privileges of the running process. | @pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts constructs a shell command by concatenating unsanitized values from the extensions array and url parameter into a string passed to Node.js child_process.exec(). Because exec() spawns a shell, shell metacharacters in those values are interpreted by the host shell, resulting in arbitrary OS command execution with the privileges of the running process. NOTE: this is disputed by the Supplier because the report is about intended behavior, as explained in the Security Policy of the pensarai/apex GitHub repo. |
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pensar
Pensar apex |
|
| Vendors & Products |
Pensar
Pensar apex |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | OS Command Injection via Unsanitized Parameters in @pensar/apex's smart_enumerate Tool | |
| Weaknesses | CWE-78 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts constructs a shell command by concatenating unsanitized values from the extensions array and url parameter into a string passed to Node.js child_process.exec(). Because exec() spawns a shell, shell metacharacters in those values are interpreted by the host shell, resulting in arbitrary OS command execution with the privileges of the running process. | |
| References |
| |
| Metrics |
cvssV3_1
|