Secunia Research has discovered two vulnerabilities in KDE, which can be exploited by malicious people to bypass certain security features and to compromise a user's system.
1) KGet does not properly sanitise the "name" attribute of the "file" element of metalink files before using it to download files. If a user is tricked into downloading from a specially crafted metalink file, this can be exploited to download files to directories outside of the intended download directory via directory traversal attacks.
2) When KGet displays a dialog box that allows a user to choose the file to download out of the options offered by a metalink file, KGet simply goes ahead and starts downloading the file without the user's acknowledgment, overwriting existing files of the same name.
NOTE: These vulnerabilities can be exploited in combination to write or overwrite an arbitrary file in an arbitrary location on the users filesystem.
The vulnerabilities are confirmed in KGet version 2.4.2 as included by KDE 4.4.2. Other versions may also be affected.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: KDE KGet Insecure File Operation and Directory Traversal
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.