SQL injection vulnerability in the addslashes method in SilverStripe 2.3.x before 2.3.12 and 2.4.x before 2.4.6, when connected to a MySQL database using far east character encodings, allows remote attackers to execute arbitrary SQL commands via unspecified vectors.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://github.com/silverstripe/sapphire/commit/73cca09 | patch exploit |
https://github.com/silverstripe/silverstripe-cms/commit/b5ea2f6 | patch exploit |
https://github.com/silverstripe/sapphire/commit/ca78784 | patch exploit |
http://www.openwall.com/lists/oss-security/2012/04/30/1 | mailing list |
http://www.openwall.com/lists/oss-security/2012/04/30/3 | mailing list |
http://doc.silverstripe.org/framework/en/trunk/changelogs/2.3.12 | vendor advisory |
http://doc.silverstripe.org/framework/en/trunk/changelogs/2.4.6 | vendor advisory |