iofogctl command injection via Controller provisioning response
Impact
In Eclipse ioFog iofogctl versions 1.0.0 through 3.7.0 and 3.8.0-rc.1 through 3.9.1, the provisioning key and CA certificate returned by the Controller API are concatenated into shell commands (edgelet provision and edgelet config cert on supported releases; iofog-agent provision and iofog-agent cert on older releases) that run over SSH on a remote agent host and via a local shell. A party who can change that API response can include shell metacharacters and cause the operator's CLI to run additional commands on the agent host when the operator deploys or attaches an agent. This is fixed…
Source excerpt · eclipseAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Eclipse Foundation · Eclipse ioFog
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 1.0.0 through 3.7.0 (inclusive) | affected |
| 3.8.0-rc.1 to before 3.9.2 | affected |
Original source description
In Eclipse ioFog iofogctl versions 1.0.0 through 3.7.0 and 3.8.0-rc.1 through 3.9.1, the provisioning key and CA certificate returned by the Controller API are concatenated into shell commands (edgelet provision and edgelet config cert on supported releases; iofog-agent provision and iofog-agent cert on older releases) that run over SSH on a remote agent host and via a local shell. A party who can change that API response can include shell metacharacters and cause the operator's CLI to run additional commands on the agent host when the operator deploys or attaches an agent. This is fixed in version 3.9.2.
References
- Release notes github.com/eclipse-iofog/iofogctl/releases/tag/v3.9.2
- Patch github.com/eclipse-iofog/iofogctl/commit/566e6be9d88e8b652f3cb397da684f324915c33e
- Security advisory gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1066
- Security advisory gitlab.eclipse.org/security/cve-assignment/-/work_items/470