| 标题 | Sangfor Operation and Maintenance Management System (OSM / 运维安全管理系统) 3.0.8 OS Command Injection |
|---|
| 描述 | A critical Remote Command Execution (RCE) vulnerability exists in the Sangfor Operation and Maintenance Management System (OSM) version 3.0.8. The vulnerability is located in the /isomp-protocol/protocol/getCmd endpoint. The application fails to properly sanitize the sessionPath parameter in an HTTP POST request.
Specifically, the WriterHandle.getCmd() method retrieves the user-supplied sessionPath and passes it to WriterHandle.getCmd(), which directly concatenates the parameter into a shell command string without sufficient validation or escaping. This string is then executed by ShellExecutor.service().exe(). An unauthenticated remote attacker can exploit this vulnerability by injecting shell metacharacters (e.g., ;) into the sessionPath parameter to execute arbitrary system commands with the privileges of the web server (typically root or tomcat). |
|---|
| 来源 | ⚠️ https://github.com/master-abc/cve/issues/12 |
|---|
| 用户 | nestor233 (UID 94006) |
|---|
| 提交 | 2025-12-30 17時40分 (2 月前) |
|---|
| 管理 | 2026-01-09 18時12分 (10 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 340346 [Sangfor Operation and Maintenance Management System 直到 3.0.8 getCmd WriterHandle.getCmd sessionPath 权限提升] |
|---|
| 积分 | 20 |
|---|