CVE-2005-0372: Directory traversal vulnerability in gftp before 2.0.18 for GTK+ allows remote malicious FTP servers to read arbitrary files via ..
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.3% (FIRST EPSS); higher than 91.4% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: gftp (Debian:12) 2.0.18-1; gftp (Debian:3.0) 2.0.11-1woody1; gftp (Red Hat:enterprise_linux:3::as) 1:2.0.14-4.
Low priority for now. Upgrade to gftp (Debian:12) 2.0.18-1; gftp (Debian:3.0) 2.0.11-1woody1; gftp (Red Hat:enterprise_linux:3::as) 1:2.0.14-4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Directory traversal vulnerability in gftp before 2.0.18 for GTK+ allows remote malicious FTP servers to read arbitrary files via .. (dot dot) sequences in filenames returned from a LIST command.
- Published
- May 2, 2005
- Updated
- Jun 16, 2026
- EPSS
- 4.3% · 91th percentile
- CWE
- CWE-22
Report tools
Action score
21
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gnome | gtk | cpe:2.3:a:gnome:gtk |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnome gtkbefore 2.0.18
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | gftp | before 2.0.18-1 | 2.0.18-1 |
| Debian:3.0 | gftp | before 2.0.11-1woody1 | 2.0.11-1woody1 |
| Red Hat:enterprise_linux:3::as | gftp | before 1:2.0.14-4 | 1:2.0.14-4 |
| Red Hat:enterprise_linux:3::as | gftp-debuginfo | before 1:2.0.14-4 | 1:2.0.14-4 |
| Red Hat:enterprise_linux:4::as | gftp | before 1:2.0.17-5 | 1:2.0.17-5 |
| Red Hat:enterprise_linux:4::as | gftp-debuginfo | before 1:2.0.17-5 | 1:2.0.17-5 |
Same product
gnome: all recordsOther highest-scoring records for the same primary product.
- CVE-2010-4833Untrusted search path vulnerability in modules/engines/ms-windows/xp_theme.c in GTK+ before 2.24.0 allows local users to gain privileges…38Monitor
- CVE-2005-0891Double free vulnerability in gtk 2 (gtk2) before 2.2.4 allows remote attackers to cause a denial of service (crash) via a crafted BMP image.31Monitor
- CVE-2014-1949GTK+ 3.10.9 and earlier, as used in cinnamon-screensaver, gnome-screensaver, and other applications, allows physically proximate attackers…28Monitor
Published before and after this one in the same product
- ← EarlierCVE-2001-0084Feb 12, 2001 · GTK+ library allows local users to specify arbitrary modules via the GTK_MODULES environmental variable, which could allow local users to…28Monitor
- Later →CVE-2007-0010Jan 24, 2007 · The GdkPixbufLoader function in GIMP ToolKit (GTK+) in GTK 2 (gtk2) before 2.4.13 allows context-dependent attackers to cause a denial of…8Monitor
- Later →CVE-2010-0732Mar 19, 2010 · gdk/gdkwindow.c in GTK+ before 2.18.5, as used in gnome-screensaver before 2.28.1, performs implicit paints on windows of type…24Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:gftp | 2.0.18-1 · Debian:12 | Package registry (OSV) |
| red hat:gftp | 1:2.0.14-4 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:gftp-debuginfo | 1:2.0.14-4 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- none
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- www.debian.org/security/2005/dsa-686
- www.gentoo.org/security/en/glsa/glsa-200502-27.xml
- www.mandriva.com/security/advisories?name=MDKSA-2005:050
- www.redhat.com/support/errata/RHSA-2005-410.html
- www.securityfocus.com/advisories/8379
- www.securityfocus.com/advisories/8380
- www.securityfocus.com/bid/12539
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A717
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9923
Vendor advisories and official records. Exploit/PoC links are deliberately left out.