Lucene search

K
gentooGentoo FoundationGLSA-201707-12
HistoryJul 09, 2017 - 12:00 a.m.

MAN DB: Privilege escalation

2017-07-0900:00:00
Gentoo Foundation
security.gentoo.org
136

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS

0.001

Percentile

26.8%

Background

MAN DB is a man replacement that utilizes BerkelyDB instead of flat files.

Description

The /var/cache/man directory as part of the MAN DB package has group permissions set to root.

Impact

A local user who does not belong to the root group, but has the ability to modify the /var/cache/man directory can escalate privileges to the group root.

Workaround

There is no known workaround at this time.

Resolution

All MAN DB users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-apps/man-db-2.7.6.1-r2:0"
OSVersionArchitecturePackageVersionFilename
Gentooanyallsys-apps/man-db< 2.7.6.1-r2UNKNOWN

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS

0.001

Percentile

26.8%