Debian DSA-1617-1 : refpolicy - incompatible policy

Medium Nessus Plugin ID 33737

Synopsis

The remote Debian host is missing a security-related update.

Description

In DSA-1603-1, Debian released an update to the BIND 9 domain name server, which introduced UDP source port randomization to mitigate the threat of DNS cache poisoning attacks (identified by the Common Vulnerabilities and Exposures project as CVE-2008-1447 ). The fix, while correct, was incompatible with the version of SELinux Reference Policy shipped with Debian Etch, which did not permit a process running in the named_t domain to bind sockets to UDP ports other than the standard 'domain' port (53). The incompatibility affects both the 'targeted' and 'strict' policy packages supplied by this version of refpolicy.

This update to the refpolicy packages grants the ability to bind to arbitrary UDP ports to named_t processes. When installed, the updated packages will attempt to update the bind policy module on systems where it had been previously loaded and where the previous version of refpolicy was 0.0.20061018-5 or below.

Because the Debian refpolicy packages are not yet designed with policy module upgradeability in mind, and because SELinux-enabled Debian systems often have some degree of site-specific policy customization, it is difficult to assure that the new bind policy can be successfully upgraded. To this end, the package upgrade will not abort if the bind policy update fails. The new policy module can be found at /usr/share/selinux/refpolicy-targeted/bind.pp after installation.
Administrators wishing to use the bind service policy can reconcile any policy incompatibilities and install the upgrade manually thereafter. A more detailed discussion of the corrective procedure may be found on https://wiki.debian.org/SELinux/Issues/BindPortRandomization.

Solution

Upgrade the refpolicy packages.

For the stable distribution (etch), this problem has been fixed in version 0.0.20061018-5.1+etch1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490271

https://security-tracker.debian.org/tracker/CVE-2008-1447

https://wiki.debian.org/SELinux/Issues/BindPortRandomization

https://www.debian.org/security/2008/dsa-1617

Plugin Details

Severity: Medium

ID: 33737

File Name: debian_DSA-1617.nasl

Version: 1.26

Type: local

Agent: unix

Published: 2008/07/28

Updated: 2018/11/28

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:refpolicy, cpe:/o:debian:debian_linux:4.0

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2008/07/25

Reference Information

CVE: CVE-2008-1447

BID: 30131

DSA: 1617

IAVA: 2008-A-0045