CVE-2021-29004: SQL Injection
rConfig 3.9.6 is affected by SQL Injection. A user must be authenticated to exploit the vulnerability. If --secure-file-priv in MySQL server is not set and the Mysql server is the same as rConfig, an attacker may successfully upload a webshell to the server and access it remotely.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rConfigto a version that resolves this vulnerability.Fixed in 3.9.6 - Compensating control
Ensure MySQL server is configured with --secure-file-priv set (and that --secure-file-priv is set so webshell upload via file import is prevented) before addressing the rConfig SQL Injection issue.
Event History
Frequently Asked Questions
What is CVE-2021-29004?
CVE-2021-29004 is a vulnerability in rConfig 3.9.6 that allows for SQL Injection, which can be exploited by an authenticated user.
How severe is CVE-2021-29004?
CVE-2021-29004 has a severity score of 8.8, which is considered high.
How does CVE-2021-29004 affect rConfig?
CVE-2021-29004 affects rConfig 3.9.6 and allows for SQL Injection if the MySQL server does not have --secure-file-priv set and the same server is used by rConfig.
Can an attacker upload a webshell with CVE-2021-29004?
Yes, if the MySQL server does not have --secure-file-priv set and is the same as rConfig, an attacker may successfully upload a webshell to the server.
How can I fix CVE-2021-29004?
To fix CVE-2021-29004, make sure to update rConfig to the latest version and set --secure-file-priv in your MySQL server configuration.