Vulnerability Name:

CVE-2017-14681 (CCN-132473)

Assigned:2017-09-21
Published:2017-09-21
Updated:2019-10-03
Summary:The daemon in P3Scan 3.0_rc1 and earlier creates a p3scan.pid file after dropping privileges to a non-root account, which might allow local users to kill arbitrary processes by leveraging access to this non-root account for p3scan.pid modification before a root script executes a "kill `cat /pathname/p3scan.pid`" command, as demonstrated by etc/init.d/p3scan.
CVSS v3 Severity:5.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
4.9 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
6.2 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
5.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:2.1 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
4.9 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-665
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2017-14681

Source: XF
Type: UNKNOWN
p3scan-cve201714681-weak-security(132473)

Source: CCN
Type: P3Scan Web page
#33 Unsafe PID file ownership

Source: MISC
Type: Mitigation, Third Party Advisory
https://sourceforge.net/p/p3scan/bugs/33/

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2017-14681

Vulnerable Configuration:Configuration 1:
  • cpe:/a:p3scan_project:p3scan:*:rc1:*:*:*:*:*:* (Version <= 3.0)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.artful:def:201714681000
    V
    CVE-2017-14681 on Ubuntu 17.10 (artful) - medium.
    2017-09-21
    oval:com.ubuntu.trusty:def:201714681000
    V
    CVE-2017-14681 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-09-21
    oval:com.ubuntu.xenial:def:201714681000
    V
    CVE-2017-14681 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-09-21
    oval:com.ubuntu.xenial:def:2017146810000000
    V
    CVE-2017-14681 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-09-21
    BACK
    p3scan_project p3scan * rc1