Any malicious code in configuration file can affect the system. Check (and remove) code other than configuration variables while reading.