Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Address RVD#2401 (#170) - #172

Merged
mjcarroll merged 1 commit into
indigo-develfrom
backport_170
Aug 21, 2020
Merged

mjcarroll merged 1 commit into
indigo-develfrom
backport_170

Conversation

@mjcarroll

Copy link
Copy Markdown
Member

Our team at @aliasrobotics identified and reported in RVD#2401 the use of
unsafe yaml load (aliasrobotics/RVD#2401).

After triaging the flaw we detected that it was exploitable and could lead to
local (or remote, based on certain common user interaction) code execution.

Specifically, the flaw itself is caused by an unsafe parsing of YAML values which
happens whenever an action message is processed to be sent, and allows for the
creation of Python objects. Through this flaw in ROS, an attacker could build a
malicious payload and execute arbitrary code in Python. A PoC is available but
have decided not to disclose it for now and until this is mitigated and debs are
available.

Peer-researched and coded with @ibaiape.

Our team at @aliasrobotics identified and reported in RVD#2401 the use of 
unsafe yaml load (aliasrobotics/RVD#2401).

After triaging the flaw we detected that it was  exploitable and could lead to 
local (or remote, based on certain common user interaction) code execution.

Specifically, the flaw itself is caused by an unsafe parsing of YAML values which 
happens whenever an action message is processed to be sent, and allows for the 
creation of Python objects. Through this flaw in ROS, an attacker could build a 
malicious payload and execute arbitrary code in Python. A PoC is available but 
have decided not to disclose it for now and until this is mitigated and debs are
available.

Peer-researched and coded with @ibaiape.
@mjcarroll
mjcarroll merged commit 31f87c1 into indigo-devel Aug 21, 2020
@mjcarroll
mjcarroll deleted the backport_170 branch August 21, 2020 16:12
@ros-discourse

Copy link
Copy Markdown

This pull request has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/red-teaming-ros-and-ros-industrial-packages/16448/4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants