CVE-2020-27958: Arbitraty command execution in Open OnDemand

Description

Myjobs app in Ohio Supercomputer Center Open OnDemand web application allows remote authenticated user to execute arbitrary OS command (shell injection).

Successfull exploitation requires:

Function copying source directory structure into newly created template directory (myjobs templates_controller copy_dir) does not sanitize source directory name.

References

Timeline