CVE-2007-1799 Path traversal in n/a

Medium 6.4 Published Updated

Remote attackers can overwrite arbitrary files via modified directory traversal sequences in torrent filenames, requiring user interaction to download the malicious torrent.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-1799?

CVE-2007-1799 is a medium-severity path traversal vulnerability in n/a, published on 2 Apr 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Directory traversal vulnerability in torrent.cpp in KTorrent before 2.1.3 only checks for the ".." string, which allows remote attackers to overwrite arbitrary files via modified ".." sequences in a torrent filename, as demonstrated by "../" sequences, due to an incomplete fix for CVE-2007-1384.

Which versions are affected by CVE-2007-1799?

It affects 1 product.

Products include Joris Guisson Ktorrent.

How do I fix CVE-2007-1799?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2007-1799 being exploited?

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

Sources

Also known as DEBIAN-CVE-2007-1799, DSA-1373-1, DSA-1373-2, GHSA-x93m-qj4v-vrm2.

Is CVE-2007-1799 in your software?

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

Check your SBOMs for free