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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pywebdav | 0.9.4-3 | — |
| Debian 13 | pywebdav | 0.9.4-3 | — |
| Debian 12 | pywebdav | 0.9.4-3 | — |
| Debian 6.0 | pywebdav | 0.9.4-1+squeeze1 | DSA-2177-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pywebdav | < 0.9.4.1 | 0.9.4.1 | GHSA-69vw-jfq7-935g |
Advisories 1
- DSA-2177-1 pywebdav - SQL injection Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-2177 vendor-advisory
- FEDORA-2011-2427 vendor-advisory
- http://pywebdav.googlecode.com/files/PyWebDAV-0.9.4.1.tar.gz
- 43602 third-party-advisory
- 43571 third-party-advisory
- ADV-2011-0553 vdb-entry
- FEDORA-2011-2470 vendor-advisory
- FEDORA-2011-2460 vendor-advisory
- 43703 third-party-advisory
- ADV-2011-0554 vdb-entry
- ADV-2011-0634 vdb-entry
- 46655 vdb-entry
- http://code.google.com/p/pywebdav/updates/list
- https://bugzilla.redhat.com/show_bug.cgi?id=677718