CVE-2011-1939 SQL injection in PHP

Critical 9.8 Published Updated

SQL injection in Zend Framework with PDO_MySql allows attackers to read or modify database data when using non-ASCII encodings.

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

What is CVE-2011-1939?

CVE-2011-1939 is a critical SQL injection vulnerability in Debian Debian Linux, published on 26 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SQL injection vulnerability in Zend Framework 1.10.x before 1.10.9 and 1.11.x before 1.11.6 when using non-ASCII-compatible encodings in conjunction PDO_MySql in PHP before 5.3.6.

Weakness: CWE-89

Which versions are affected by CVE-2011-1939?

It affects 3 products.

Products include Debian Debian Linux, Php Php, Zend Zend Framework.

How do I fix CVE-2011-1939?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-1939 exists.

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-v2wg-2jpv-87h6.

Is CVE-2011-1939 in your software?

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

Check your SBOMs for free