This weakness involves creating non-standard or non-tested algorithms, using weak algorithms or applying cryptographic algorithms incorrectly. Algorithms that were once considered safe are commonly later found to be unsafe, as the algorithms were broken.
The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment.
dx-4.4.4/src/uipp/base/License.C
The highlighted line of code below is the trigger point of this particular Fedora 24 crypto weakness.
int getdtablesize();
#include <stdio.h> /* standard I/O */
#include <errno.h> /* error numbers */
#if defined(windows) && defined(HAVE_WINSOCK_H)
#include <winsock.h>
#elif defined(HAVE_CYGWIN_SOCKET_H)
#include <cygwin/socket.h>
#elif defined(HAVE_SYS_SOCKET_H)
#include <sys/socket.h>
#endif
#include <sys/ioctl.h> /* ioctls */
#include <net/if.h> /* generic interface structures */
#include <sys/systeminfo.h> /* maybe someday this will be implemented...arg! */
extern "C" int select(
int nfds,
fd_set *readfds,
fd_set *writefds,
fd_set *exceptfds,
struct timeval *timeout) ;
#endif
}
#define CRYPT(A,B) crypt((const char*)A, (const char*)B)
#define ANYWHERE_HOSTID "00000000"
#if defined(DXD_LICENSED_VERSION) && !defined(HAVE_CRYPT)
error: Can not run licensing routines without crypt()
#endif
static int checkexp(const char *root);
#endif // NEEDS_LICENSE_ROUTINES
#ifndef DXD_WIN
void UIGetLicense(const char *root,
XtInputCallbackProc lostLicense,
LicenseTypeEnum *appLic,
LicenseTypeEnum *funcLic)
{
#if !NEEDS_LICENSE_ROUTINES
*appLic = FullyLicensed;
*funcLic = FullFunctionLicense;
return;
#else
LicenseTypeEnum forcedFuncLic;