CVE-2011-0432 PyWebDAV SQL Injection vulnerability

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL commands via the user or password arguments in the PyWebDAV library's authentication handler.

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-0432?

CVE-2011-0432 is a high-severity SQL injection vulnerability in n/a, published on 14 Mar 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple SQL injection vulnerabilities in the get_userinfo method in the MySQLAuthHandler class in DAVServer/mysqlauth.py in PyWebDAV before 0.9.4.1 allow remote attackers to execute arbitrary SQL commands via the (1) user or (2) pw argument. NOTE: some of these details are obtained from third party information.

Weakness: CWE-89

Which versions are affected by CVE-2011-0432?

3 open source packages ship an affected version, including pywebdav. It affects 1 product.

PackageAffectedFixed in
pywebdav PyPIAll versions0.9.4.1
pywebdav PyPIAll versions0.9.4.1
pywebdav PyPIAll versions0.9.4.1

Products include Simon Pamies Pywebdav.

How do I fix CVE-2011-0432?

Upgrade pywebdav to 0.9.4.1 or later.

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-0432 being exploited?

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

Sources

Also known as DEBIAN-CVE-2011-0432, DSA-2177-1, GHSA-69vw-jfq7-935g, PYSEC-2011-7.

Is CVE-2011-0432 in your software?

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

Check your SBOMs for free