xmonisdn IFS/PATH Vulnerability
BID:583
Info
xmonisdn IFS/PATH Vulnerability
| Bugtraq ID: | 583 |
| Class: | Environment Error |
| CVE: | |
| Remote: | No |
| Local: | Yes |
| Published: | Aug 16 1999 12:00AM |
| Updated: | Aug 16 1999 12:00AM |
| Credit: | This vulnerability was posted to the Bugtraq mailing list by Wichert Akkerman <[email protected]> on Sat, 14 Aug 1999. |
| Vulnerable: |
Debian Linux 2.1 |
| Not Vulnerable: |
Debian Linux 2.0 r5 Debian Linux 2.0 Debian Linux 1.3.1 Debian Linux 1.3 Debian Linux 1.2 Debian Linux 1.1 Debian Linux 0.93 |
Discussion
xmonisdn IFS/PATH Vulnerability
Xmonisdn is an X applet that shows the status of the ISDN links which ships with the isndutils package from Debian GNU/Linux 2.1. You can configure it to run two scripts when the left or right mouse button are clicked on it. Xmonisdn was installed setuid root so that the scripts could do things like add and delete the default route. However is that while the scripts were checked for owner root and not writeable by group or others the scripts are run via the system() library function, which spawns a shell to run it. This means that the scripts are open to attack via IFS and/or PATH manipulation.
[This discussion is taken verbatim from the Debain security advisory on the matter. See the attached advisory in the 'Credit' section.]
Xmonisdn is an X applet that shows the status of the ISDN links which ships with the isndutils package from Debian GNU/Linux 2.1. You can configure it to run two scripts when the left or right mouse button are clicked on it. Xmonisdn was installed setuid root so that the scripts could do things like add and delete the default route. However is that while the scripts were checked for owner root and not writeable by group or others the scripts are run via the system() library function, which spawns a shell to run it. This means that the scripts are open to attack via IFS and/or PATH manipulation.
[This discussion is taken verbatim from the Debain security advisory on the matter. See the attached advisory in the 'Credit' section.]
Exploit / POC
xmonisdn IFS/PATH Vulnerability
Currently the SecurityFocus staff are not aware of any exploits for this issue although one would be very trivial to write. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
Currently the SecurityFocus staff are not aware of any exploits for this issue although one would be very trivial to write. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
Solution / Fix
xmonisdn IFS/PATH Vulnerability
Solution:
Debian GNU/Linux 2.1 alias slink
----------------------------------------------
This version of Debian (2.1) was released only for Intel, the Motorola 680x0, the alpha and the Sun sparc architecture.
Source archives:
http://security.debian.org/dists/stable/updates/source/isdnutils_3.0-12slink13.diff.gz
MD5 checksum: 56f4328687b0478c83b49ae8c61d3a24
http://security.debian.org/dists/stable/updates/source/isdnutils_3.0-12slink13.dsc
MD5 checksum: 44ecac14b66830e969ce6e09b3f95e1e
http://security.debian.org/dists/stable/updates/source/isdnutils_3.0.orig.tar.gz
MD5 checksum: 83cb39ed37747367331ec5b433fc7dda
Alpha architecture:
http://security.debian.org/dists/stable/updates/binary-alpha/isdnutils_3.0-12slink13_alpha.deb
MD5 checksum: 984e4be2224fcf90261139e2576b2d35
Intel ia32 architecture:
http://security.debian.org/dists/stable/updates/binary-i386/isdnutils_3.0-12slink13_i386.deb
MD5 checksum: 6550f5ee476a0c8056acf19f5a1e41fb
Sun Sparc architecture:
http://security.debian.org/dists/stable/updates/binary-sparc/isdnutils_3.0-12slink13_sparc.deb
MD5 checksum: 2da71a182ff8955c0822aa9737095c97
For not yet released architectures please refer to the appropriate directory ftp://ftp.debian.org/debian/dists/sid/binary-$arch/ .
Solution:
Debian GNU/Linux 2.1 alias slink
----------------------------------------------
This version of Debian (2.1) was released only for Intel, the Motorola 680x0, the alpha and the Sun sparc architecture.
Source archives:
http://security.debian.org/dists/stable/updates/source/isdnutils_3.0-12slink13.diff.gz
MD5 checksum: 56f4328687b0478c83b49ae8c61d3a24
http://security.debian.org/dists/stable/updates/source/isdnutils_3.0-12slink13.dsc
MD5 checksum: 44ecac14b66830e969ce6e09b3f95e1e
http://security.debian.org/dists/stable/updates/source/isdnutils_3.0.orig.tar.gz
MD5 checksum: 83cb39ed37747367331ec5b433fc7dda
Alpha architecture:
http://security.debian.org/dists/stable/updates/binary-alpha/isdnutils_3.0-12slink13_alpha.deb
MD5 checksum: 984e4be2224fcf90261139e2576b2d35
Intel ia32 architecture:
http://security.debian.org/dists/stable/updates/binary-i386/isdnutils_3.0-12slink13_i386.deb
MD5 checksum: 6550f5ee476a0c8056acf19f5a1e41fb
Sun Sparc architecture:
http://security.debian.org/dists/stable/updates/binary-sparc/isdnutils_3.0-12slink13_sparc.deb
MD5 checksum: 2da71a182ff8955c0822aa9737095c97
For not yet released architectures please refer to the appropriate directory ftp://ftp.debian.org/debian/dists/sid/binary-$arch/ .
References
xmonisdn IFS/PATH Vulnerability
References:
References: