Description
Directory traversal vulnerability in importxml.pl in Bugzilla before 2.22.5, and 3.x before 3.0.5, when --attach_path is enabled, allows remote attackers to read arbitrary files via an XML file with a .. (dot dot) in the data element.
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 5.0 | bugzilla | 3.0.4.1-2+lenny1 | DTSA-170-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
- Bugzilla 3.1.4 - '--attach_path' Directory Traversal EDB-32228 · remote · Aug 12, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DTSA-170-1 bugzilla - directory traversal Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2008-2344 vdb-entry
- 31444 third-party-advisory
- FEDORA-2009-2418 vendor-advisory
- FEDORA-2009-2417 vendor-advisory
- http://www.bugzilla.org/security/2.22.4/
- 34361 third-party-advisory
- 1020668 vdb-entry
- https://bugzilla.mozilla.org/show_bug.cgi?id=437169
- 30661 vdb-entry
- bugzilla-importxml-directory-traversal(44407) vdb-entry