H.G.Borrmann
2000-Jun-16 11:46 UTC
OpenSSH 2.1.1 has a completely insecure libpath if compiled with gcc under AIX
The subject says it. Openssh 2.1.1p1 still has the same insecure LIBPATH if compiled under AIX with gcc, e.g. dump -H ssh ssh: ***Loader Section*** Loader Header Information VERSION# #SYMtableENT #RELOCent LENidSTR 0x00000001 0x000000aa 0x00001a28 0x0000008e #IMPfilID OFFidSTR LENstrTBL OFFstrTBL 0x00000004 0x000149f0 0x0000026d 0x00014a7e ***Import File Strings*** INDEX PATH BASE MEMBER 0 .:/usr/local/lib:/client/lib:/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2:/usr/lib:/lib 1 libc.a shr.o 2 libnsl.a shr.o 3 libz.a shr.o As I wrote earlier as a circumvention it is possible to edit the makefiler and add an appropriate -Xlinker option, e.g. "-Xlinker -blibpath:/usr/ruf/lib:/usr/lib:/lib" to the LDFLAGS. I had hoped that this problem is resolved in the new OpenSSH 2.1.1p port. H.G.Borrmann ._________________________________________________________________________. |H.G.Borrmann |Tel.: (0761) 203-4652 | |Rechenzentrum der Universitaet Freiburg|Fax: (0761) 203-4643 | |Hermann-Herder-Str. 10 |email: | |D79104 FREIBURG |borrmann at ruf.uni-freiburg.de | |_________________________________________________________________________|
Damien Miller
2000-Jun-17 08:36 UTC
OpenSSH 2.1.1 has a completely insecure libpath if compiled with gcc under AIX
On Fri, 16 Jun 2000, H.G.Borrmann wrote:> As I wrote earlier as a circumvention it is possible to edit the > makefiler and add an appropriate -Xlinker option, e.g. "-Xlinker > -blibpath:/usr/ruf/lib:/usr/lib:/lib" to the LDFLAGS. > > I had hoped that this problem is resolved in the new OpenSSH 2.1.1p > port.The portable OpenSSH has configure logic to set the blibpath if the xld linker is being used. Are you saying that this option is needed for other linkers? -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)