Description
Directory traversal vulnerability in src/http/modules/ngx_http_dav_module.c in nginx (aka Engine X) before 0.7.63, and 0.8.x before 0.8.17, allows remote authenticated users to create or overwrite arbitrary files via a .. (dot dot) in the Destination HTTP header for the WebDAV (1) COPY or (2) MOVE method.
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 | nginx | 0.7.63-1 | — |
| Debian 13 | nginx | 0.7.63-1 | — |
| Debian 12 | nginx | 0.7.63-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Nginx 0.7.61 - WebDAV Directory Traversal EDB-9829 · remote · Sep 23, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- [oss-security] 20091123 Re: CVEs for nginx mailing-list
- [oss-security] 20091123 Re: CVEs for nginx mailing-list
- [oss-security] 20091123 Re: CVEs for nginx mailing-list
- 20090923 nginx - low risk webdav destination bug mailing-list
- 48577 third-party-advisory
- 36818 third-party-advisory
- [oss-security] 20091123 Re: CVEs for nginx mailing-list
- [oss-security] 20091120 CVEs for nginx mailing-list
- GLSA-201203-22 vendor-advisory