Description (CNA)
OliveTin gives access to predefined shell commands from a web interface. From 3000.2.0 until 3000.17.0, the service/internal/executor/arguments.go checkShellArgumentSafety function does not treat regex: custom argument types as unsafe for Shell mode actions, allowing values that pass typeSafetyCheckRegex to be interpolated by wrapCommandInShell into an sh -c command string and enabling OS command injection. This issue is fixed in version 3000.17.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| OliveTin / OliveTin | affected >= 3000.2.0, < 3000.17.0 |
CWE
CWE-78
References
- https://github.com/OliveTin/OliveTin/security/advisories/GHSA-xc5w-4v5w-7x65
- https://github.com/OliveTin/OliveTin/commit/995ff79736f2bccc364448a3ece84087b550b232
- https://github.com/OliveTin/OliveTin/releases/tag/3000.17.0
ADP enrichment
No English description supplied.