cde-desktop:cde-2.3.2-release

Last commit made on 2020-01-13
Get this branch:
git clone -b cde-2.3.2-release https://git.launchpad.net/cde-desktop

Branch merges

Branch information

Name:
cde-2.3.2-release
Repository:
lp:cde-desktop

Recent commits

e4ebb27... by Jon Trulson <email address hidden>

Prepare for 2.3.2 release: HISTORY and version number change

0adf782... by Jon Trulson <email address hidden>

dtsession, DtSvc: fix CVE-2020-2696/VU#308289

Marco Ivaldi <email address hidden> has identified 3
vulnerabilities in CDE.

Two of them could affect our CDE (open-source version), while the 3rd
(sdtcm_convert) is Solaris specific.

The two vulnerabilities, both of which affect dtsession could allow a
local privilege escalation to root. A POC exists for Solaris. The
POC will not function on our CDE for two main reasons:

- the POC is Solaris specific
- The overflowed variables in question are allocated on the heap,
  whereas in Solaris these variables are located on the stack.

The first vulnerability allows an extra long palette name to be used
to cause a crash via insufficient validation in
SrvPalette.c:CheckMonitor().

The second, which has not yet been assigned a CERT CVE resides in
SmCreateDirs.c:_DtCreateDtDirs() in libDtSvc. Due to insufficient
bounds checking, a crash or corruption can be achieved by using a very
long DISPLAY name.

This one is considered difficult to exploit, and no POC code is
available at this time. CDE 2.x code-bases are also listed as not
vulnerable, however some work has been done anyway to do some proper
bounds checking in this function.

The following text portions are copied from the relevant advisories,
which have not been released as of this writing.

NOTE: Oracle CDE does NOT use CDE 2.3.0a or earlier as mentioned
below. They are completely different code-bases):

Regarding CVE-2020-2692:

  A buffer overflow in the CheckMonitor() function in the Common
  Desktop Environment 2.3.0a and earlier, as distributed with Oracle
  Solaris 10 1/13 (Update 11) and earlier, allows local users to gain
  root privileges via a long palette name passed to dtsession in a
  malicious .Xdefaults file.

  Note that Oracle Solaris CDE is based on the original CDE 1.x train,
  which is different from the CDE 2.x codebase that was later open
  sourced. Most notably, the vulnerable buffer in the Oracle Solaris
  CDE is stack-based, while in the open source version it is
  heap-based.

Regarding the DtSvc bug, which does not currently have a CERT CVE:

  A difficult to exploit stack-based buffer overflow in the
  _DtCreateDtDirs() function in the Common Desktop Environment version
  distributed with Oracle Solaris 10 1/13 (Update 11) and earlier may
  allow local users to corrupt memory and potentially execute
  arbitrary code in order to escalate privileges via a long X11
  display name. The vulnerable function is located in the libDtSvc
  library and can be reached by executing the setuid program
  dtsession.

  The open source version of CDE (based on the CDE 2.x codebase) is
  not affected.

9753b63... by Jon Trulson <email address hidden>

HISTORY: update for 2.3.1 release

5fe7ee5... by Jon Trulson <email address hidden>

Change CDE version info for 2.3.1 release

f75ee32... by Nina Didenko <email address hidden>

sym2num: don't hardcode path to cpp

de7fe55... by Nina Didenko <email address hidden>

merge: don't hardcode path to gencat

52caa8b... by Nina Didenko <email address hidden>

udbToAny.ksh: don't hardcode path to awk

b3f3997... by Nina Didenko <email address hidden>

dtinfogen: don't override PATH

88b46c6... by Chase <email address hidden>

il: remove various deprecated files

0f36a57... by Chase <email address hidden>

remove more internal jpeg headers