CVE-2013-6172 SQL injection in n/a
Remote attackers can modify configuration settings to execute arbitrary code, read files, and perform SQL injection in Roundcube webmail.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-6172?
CVE-2013-6172 is a high-severity SQL injection vulnerability in Roundcube Webmail, published on 5 Nov 2013. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
steps/utils/save_pref.inc in Roundcube webmail before 0.8.7 and 0.9.x before 0.9.5 allows remote attackers to modify configuration settings via the _session parameter, which can be leveraged to read arbitrary files, conduct SQL injection attacks, and execute arbitrary code.
Weakness: CWE-89
Which versions are affected by CVE-2013-6172?
It affects 1 product.
Products include Roundcube Webmail.
How do I fix CVE-2013-6172?
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-2013-6172 being exploited?
There is no known exploitation of CVE-2013-6172 in the wild and no public exploit code.
Other vulnerabilities in Roundcube Webmail
Sources
Also known as DEBIAN-CVE-2013-6172, DSA-2787-1, GHSA-pq43-cvv2-h373, MGASA-2013-0325.