0xCoto / PICTOR

📡 The official repository for the free-to-use PICTOR Radio Telescope
https://www.pictortelescope.com/
GNU General Public License v3.0
230 stars 25 forks source link

SEVERE: Security concerns with use of 'exec' command #27

Open theredcameron opened 2 months ago

theredcameron commented 2 months ago

The use of 'exec' here is highly concerning. Seeing how the program uses it, this could open the door to a remote execution attack.

I would suggest reading the file directly and setting the variable values based on what is found in the file, rather than executing the file itself.