Datadirect Connect For Jdbc For Salesforce
The software contains an Improper Control of Generation of Code issue, specifically a Code Injection flaw. The `SpyAttribute` connection option, used with the `log=(file)` construct, allows a user to specify an arbitrary file for the JDBC driver to write log information to. If an application permits a user to define a value for the `SpyAttributes` connection option, an attacker could potentially write JavaScript code to a log file. If this log file is located in a directory accessible by the application server and has the correct extension, the server might interpret it as a resource to be served. An attacker could then request this resource, leading to the execution of the injected JavaScript code.