Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-09 Thread Arno Garrels
Tobias Rapp wrote: > Arno Garrels wrote: >> The DLL names are globally writable typed constants, set their values >> before the OpenSSL libraries are loaded. > > Is there any advantage to use writable typed constants like > > const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; > > instead of > >

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-09 Thread Tobias Rapp
Arno Garrels wrote: > The DLL names are globally writable typed constants, set their values > before the OpenSSL libraries are loaded. Is there any advantage to use writable typed constants like const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; instead of var GSSLEAY_DLL_Name : String = 'SS

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-07 Thread Angus Robertson - Magenta Systems Ltd
> I prefer this anyway since the load errors don't raise somewhere > but where I can handle them easily: I also log the SSL version and directory at the point, since multiple SSL DLLs may be available on the PC and like to know the expected versions are being used: MySslContext.InitContext;

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-06 Thread Arno Garrels
Zvone wrote: const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; > >> This is not required since writable typed constants is enabled. > > That's all fine but I don't see it published as property anywhere. How > do I modify its value during runtime to set full path for SSLEAY32.DLL > and LIBEA

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-06 Thread Francois PIETTE
const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; This is not required since writable typed constants is enabled. That's all fine but I don't see it published as property anywhere. How do I modify its value during runtime to set full path for SSLEAY32.DLL and LIBEAY32.DLL? So simple: Just

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-06 Thread Zvone
>>> const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; > This is not required since writable typed constants is enabled. That's all fine but I don't see it published as property anywhere. How do I modify its value during runtime to set full path for SSLEAY32.DLL and LIBEAY32.DLL? -- To unsubscrib

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-04 Thread Arno Garrels
Francois PIETTE wrote: >> const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; > > I think the solution is much simpler than what you think: Change > "const" by "var" so that the DLL name is provided thru a global This is not required since writable typed constants is enabled. -- Arno Garrels --

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-04 Thread Francois PIETTE
e author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: "Zvone" To: "ICS support mailing" Sent: Saturday, September 04, 2010 3:44 PM Subject: Re: [twsocket] New

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-04 Thread Zvone
Forget about my remark about "\" or "/". The DllPath could be used as is just DllPath + LibraryName. This avoids the need to process needlessly slashes or backslashes. If this is used I would suggest a bold remark in the docs on Wiki to encourage use of this property if this is to be used. Anyway,

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-04 Thread Zvone
Well, like I wrote, it effects all programs that use ICS. And it is a bit harder to find a solution that fits all in this case due to nature of the problem. This is how ICS loads for example SSLLEAY32.DLL: const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; ... GSSLEAY_DLL_Handle := LoadLibrary(PC

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-04 Thread Fastream Technologies
verbyte.be > The author of the freeware multi-tier middleware MidWare > The author of the freeware Internet Component Suite (ICS) > http://www.overbyte.be > > > - Original Message - From: "Zvone" > To: "ICS support mailing" > Sent: Saturd

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-04 Thread Francois PIETTE
eware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: "Zvone" To: "ICS support mailing" Sent: Saturday, September 04, 2010 1:45 AM Subject: [twsocket] New DLL hijacking vulne

[twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-03 Thread Zvone
It appears that this new vulnerability requires programs to adopt secure DLL loading. As Microsoft says they can't fix the issue by patching Windows as it would mess up a lot of programs so it is up to programmers to fix it in their own programs. This applies to all programs that load external libr