Re: [BLACKBOX] severe security hole in BB

From: [at]} <Josef>
Date: Tue, 17 Jun 2008 08:04:43 +0200

----boundary-LibPST-iamunique-1772447088_-_-
Content-type: text/plain

Overall, BB is pretty safe because it is not the target of virus writers
due to its small installed base. This is a big advantage.

There is no verifier as in Java when loading a module.
There is no digital signing of code.
So the code could be tampered with in principle.

Regarding the source language and compiler.
There are run-time checks for array indexing and NIL access etc.
There is also the module SYSTEM which allows to bypass all checks.
When loadfing a module, there is no distinction between
high-level modules and modules that involve module SYSTEM.

My overall assessment is that the security level is not as high as
in Java or .NET but certainly much higher than for C or C++ systems.

General hint:
If you make the source code available in a runnning system,
be careful not to declare logins and passwords in the source code.
If a trap window is opened, the user may accidentally get access to
the source code.
As a very simple work around, you may write security sensitve
declarations such as passwords in white color.

- JT



----- Original Message -----
From: "Douglas G. Danforth" <danforth{([at]})nowhere.xy
To: <BLACKBOX{([at]})nowhere.xy
Sent: Monday, June 16, 2008 11:36 PM
Subject: Re: [BLACKBOX] severe security hole in BB


> Josef,
> Good point.
>
> At a higher level,
> can one in any sense specify the "security" of the
> underlying module based system?
>
> I, for one, do not like to worry about such issues but
> when providing software to clients what does one say
> when asked about the security of the BlackBox environment?
>
> -Doug Danforth
>

> Josef Templ wrote:
>> Hi everybody!
>>
>> I would like to point out a severe security hole in BB.
>>
>> Password fields are printed as clear text!
>>
>> The problem seems to be in HostCFrames.Print,
>> where Controls are printed in a rather crude form
>> without looking at the guard and without looking
>> at the 'password' property of the text field control.
>>
>> regards
>>
>> - Josef Templ
>>
>>
>> ----
>> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
>> LISTSERV{([at]})nowhere.xy
>>
>>
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1772447088_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: att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pbnQsXHBhcg0KPj4gd2hl
cmUgQ29udHJvbHMgYXJlIHByaW50ZWQgaW4gYSByYXRoZXIgY3J1ZGUgZm9ybVxwYXINCj4+IHdp
dGhvdXQgbG9va2luZyBhdCB0aGUgZ3VhcmQgYW5kIHdpdGhvdXQgbG9va2luZ1xwYXINCj4+IGF0
IHRoZSAncGFzc3dvcmQnIHByb3BlcnR5IG9mIHRoZSB0ZXh0IGZpZWxkIGNvbnRyb2wuXHBhcg0K
Pj4gXHBhcg0KPj4gcmVnYXJkc1xwYXINCj4+IFxwYXINCj4+IC0gSm9zZWYgVGVtcGxccGFyDQo+
PiBccGFyDQo+PiBccGFyDQo+PiAtLS0tXHBhcg0KPj4gVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBt
ZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gXHBhcg0KPj4gTElTVFNFUlZA
TElTVFMuT0JFUk9OLkNIXHBhcg0KPj4gXHBhcg0KPj4gXHBhcg0KPiBccGFyDQo+IFxwYXINCj4g
LS0tLVxwYXINCj4gVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lH
Tk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0KXHBhcg0KXHBh
cg0KLS0tLVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJ
R05PRkYgQkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSH19AEIyIAQ=
----boundary-LibPST-iamunique-1772447088_-_---
Received on Tue Jun 17 2008 - 08:04:43 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:55 UTC