Debian DSA-1817-1 : ctorrent - stack-based buffer overflow

high Nessus Plugin ID 39440

Synopsis

The remote Debian host is missing a security-related update.

Description

Michael Brooks discovered that ctorrent, a text-mode bittorrent client, does not verify the length of file paths in torrent files. An attacker can exploit this via a crafted torrent that contains a long file path to execute arbitrary code with the rights of the user opening the file.

The oldstable distribution (etch) does not contain ctorrent.

Solution

Upgrade the ctorrent packages.

For the stable distribution (lenny), this problem has been fixed in version 1.3.4-dnh3.2-1+lenny1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530255

https://www.debian.org/security/2009/dsa-1817

Plugin Details

Severity: High

ID: 39440

File Name: debian_DSA-1817.nasl

Version: 1.12

Type: local

Agent: unix

Published: 6/18/2009

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:ctorrent, cpe:/o:debian:debian_linux:5.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/17/2009

Reference Information

CVE: CVE-2009-1759

BID: 34584

CWE: 119

DSA: 1817