Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603828 - net-analyzer/sslscan: use insecure openssl for SSLv2 support, may be more
Summary: net-analyzer/sslscan: use insecure openssl for SSLv2 support, may be more
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-27 11:21 UTC by Anton Bolshakov
Modified: 2016-12-28 08:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2016-12-27 11:21:48 UTC
The tool is unable to test sslv2 and v3 if it compiled against the latest and greatest system openssl because these protocols are disabled in it by default.

It would be good to have a "static" use flag so that the tool could be compiled with an old openssl statically. See an official documentation for more details.
Comment 1 Anton Bolshakov 2016-12-27 15:14:29 UTC
It looks like we might need to get an unsecured fork https://github.com/PeterMosmans/openssl to the tree.

An another tool (sslyze) is using it, see https://github.com/nabla-c0d3/nassl.

So I took its precompiled binaries as a quick hack into my ebuild (still hacking it):
https://github.com/pentoo/pentoo-overlay/tree/master/net-analyzer/sslscan
Comment 2 Hans de Graaff gentoo-dev Security 2016-12-28 07:41:15 UTC
(In reply to Anton Bolshakov from comment #1)
> It looks like we might need to get an unsecured fork
> https://github.com/PeterMosmans/openssl to the tree.
> 
> An another tool (sslyze) is using it, see
> https://github.com/nabla-c0d3/nassl.
> 
> So I took its precompiled binaries as a quick hack into my ebuild (still
> hacking it):
> https://github.com/pentoo/pentoo-overlay/tree/master/net-analyzer/sslscan

Not sure if that is needed, the sslscan build system seems to insecurify the openssl 1.0.2 sources already. I've created a local test build for 1.11.8 which uses the openssl 1.0.2j sources. That seems to compile fine but still does not seem to include sslv2 and sslv3, even though the build system enables them.
Comment 3 Anton Bolshakov 2016-12-28 07:46:18 UTC
> I've created a local test build for 1.11.8
> which uses the openssl 1.0.2j sources. That seems to compile fine but still
> does not seem to include sslv2 and sslv3, even though the build system
> enables them.

Your ebuild may be incorrect. Please make sure that include headers are in the right place. It compiles it properly from the sources by simple running "make static". That calls opensslpull: script which clones git and hacks some files but get it compiled with sslv2 properly.
Comment 4 Hans de Graaff gentoo-dev Security 2016-12-28 08:15:27 UTC
It looks like my testing was incorrect. I have now added sslscan 1.11.8-r1 which has a +static USE flag to build against openssl 1.0.2j with insecure features turned on.