View Issue Details

IDProjectCategoryView StatusLast Update
0005158Kali Linux[All Projects] Feature Requestspublic2019-08-28 14:07
ReporterrhertzogAssigned Torhertzog 
PriorityhighSeverityminorReproducibilityN/A
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0005158: Support old ciphers and old crypto protocols in various tools
DescriptionTo increase the security of many tools, old (broken security-wise) crypto protocols have been dropped (or disabled by default) from OpenSSL and other libraries.

This is the case of SSLv2 for example (support dropped a long time ago) and TLSv1.0/TLSv1.1 is currently disabled by default (see MinProtocol in /etc/ssl/openssl.conf, change re-introduced in 1.1.1-2 see https://tracker.debian.org/news/998835/accepted-openssl-111-2-source-into-unstable/ and former revert in 0004238).

In the context of a penetration testing distribution, this is problematic because it doesn't let you connect/inspect services using those old crypto protocols.

There are various ways to work-around this limitation:
- the tool itself can use the OpenSSL API to re-enable support for things that are disabled by default
- the tool can be built against an old version of OpenSSL still supporting the desired protocols (sslscan is an example of this, see 0000146, same for sslyze see 0002106).

So we should look into some ways to have an openssl package supporting as many of those old protocols as possible.
Additional InformationIt would be nice to have a list of applications where we want to support old ciphers/crypto protocols:
- nikto (see 0004372)
- nmap (see 0004372)
- please complete (leave a comment)

It would be nice to have a list of old ciphers/crypto protocols that we would like to see supported:
- SSL 2.0
- TLS 1.0
- TLS 1.1

Relationships

related to 0004372 closeddookie Nikto/Nmap unable to handsake with older SSL version 
related to 0004238 resolvedrhertzog FreeRADIUS-WPE fails due to OpenSSL update 
related to 0004495 closed Some functions of enum4linux are incompatible with recent versions of smbclient 

Activities

Mister_X

2018-12-14 15:54

reporter   ~0010109

HostAPd-WPE. Even though it works with the current OpenSSL, it would benefit from an older version of OpenSSL that has heartbleed. See "Testing Heartbleed" at the bottom of the page: https://github.com/aircrack-ng/aircrack-ng/tree/master/patches/wpe/hostapd-wpe
In this case, we may need to have 2 versions of the tools (See https://github.com/aircrack-ng/aircrack-ng/commit/430ad28df861d1fe638646f51cdf468c5b8a3f61#diff-aec6cf8281af39bd2b455fadb9fcd3b4 ): one with the recent OpenSSL and one with the old one and old MD5 certs.

Freeradius may benefit from an older OpenSSL version but I would think even XP should still support the current setup.

sp

2019-03-31 07:33

reporter   ~0010470

Try to build with LibreSSL instead of OpenSSL. LibreSSL has TLS 1.0

Mister_X

2019-04-05 19:59

reporter   ~0010479

Another workaround: edit /etc/ssl/openssl.cnf and change MinProtocol to TLSv1.0 (at the very end of the file, in the '[system_default_sect]'.

cnotin

2019-08-28 14:07

reporter   ~0010947

FYI Metasploit is also impacted. I fixed it in one library with https://github.com/rapid7/metasploit-framework/pull/12214 but others might be concerned too.
Same in wpscan: https://github.com/wpscanteam/wpscan/issues/1380#issuecomment-525755956

Issue History

Date Modified Username Field Change
2018-12-14 10:55 rhertzog New Issue
2018-12-14 10:56 rhertzog Relationship added related to 0004372
2018-12-14 10:58 rhertzog Relationship added related to 0004238
2018-12-14 11:02 rhertzog Description Updated View Revisions
2018-12-14 11:02 rhertzog Assigned To => rhertzog
2018-12-14 11:02 rhertzog Status new => assigned
2018-12-14 15:54 Mister_X Note Added: 0010109
2018-12-14 15:56 g0tmi1k Relationship added related to 0004495
2019-03-29 16:02 rhertzog Priority normal => high
2019-03-31 07:33 sp Note Added: 0010470
2019-04-05 19:59 Mister_X Note Added: 0010479
2019-08-28 14:07 cnotin Note Added: 0010947