OSSN-0097: Horizon RC file generation does not escape special characters in project names

Summary

Horizon generates shell scripts for OpenStack RC file downloads with user-provided values in double-quoted strings without escaping shell metacharacters. A domain manager can set a project name containing $() or backtick sequences that execute arbitrary commands when a user sources the RC file.

Affected Services / Software

horizon (>=8.0.0 <25.3.3, >=25.4.0 <25.5.3, >=25.6.0 <25.7.4)

Discussion

A domain manager who can rename a project can inject commands that run in the shell of any user who downloads and sources the RC file for that project.

Contacts / References

Author: Goutham Pacha Ravi, Red Hat