| Title | Sangfor Operation and Maintenance Security Management System (OSM / 运维安全管理系统) v3.0.12 Command Injection |
|---|
| Description | /A critical Remote Command Execution (RCE) vulnerability exists in the Sangfor Operation and Maintenance Security Management System (OSM). The vulnerability is located in the `portValidate` method of the `IpOrPortController` class.
The application fails to properly sanitize the `port` parameter in the HTTP POST request. While the `ip` parameter is strictly validated against a regex, the `port` parameter only checks for a specific blacklisted string ("AppScanLocalIpAddress"). This allows an attacker to inject malicious shell commands using separators (such as `;` or `|`), which are then executed by the system shell via `ShellExecutor`. |
|---|
| Source | ⚠️ https://github.com/LX-LX88/cve/issues/23 |
|---|
| User | hhsw34 (UID 91076) |
|---|
| Submission | 01/12/2026 11:06 (3 months ago) |
|---|
| Moderation | 01/25/2026 10:50 (13 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 342802 [Sangfor Operation and Maintenance Security Management System HTTP POST Request port_validate portValidate command injection] |
|---|
| Points | 20 |
|---|