CVE-2011-4959 SQL injection in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary SQL commands in SilverStripe when using specific MySQL character encodings, potentially compromising database integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2011-4959?

CVE-2011-4959 is a medium-severity SQL injection vulnerability in Silverstripe Silverstripe, published on 17 Sep 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-89

Which versions are affected by CVE-2011-4959?

It affects 1 product.

Products include Silverstripe Silverstripe.

How do I fix CVE-2011-4959?

No fix has been published for CVE-2011-4959 yet. Limit exposure of the affected software until one is available.

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-2011-4959 being exploited?

There is no known exploitation of CVE-2011-4959 in the wild and no public exploit code.

All Silverstripe Silverstripe vulnerabilities

Sources

Also known as GHSA-rfmw-7vw9-fm8m.

Is CVE-2011-4959 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free