CVE-2006-6799 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands and potentially system commands via cmd.php arguments when register_argc_argv is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2006-6799?
CVE-2006-6799 is a high-severity SQL injection vulnerability in n/a, published on 28 Dec 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in Cacti 0.8.6i and earlier, when register_argc_argv is enabled, allows remote attackers to execute arbitrary SQL commands via the (1) second or (2) third arguments to cmd.php. NOTE: this issue can be leveraged to execute arbitrary commands since the SQL query results are later used in the polling_items array and popen function.
Which versions are affected by CVE-2006-6799?
It affects 1 product.
Products include The Cacti Group Cacti.
How do I fix CVE-2006-6799?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2006-6799 being exploited?
There is no known exploitation of CVE-2006-6799 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2006-6799, DSA-1250-1, GHSA-8f93-437m-m53h.