#VU23040 Stack-based buffer overflow in CUPS


Published: 2019-11-27

Vulnerability identifier: #VU23040

Vulnerability risk: High

CVSSv3.1: 7 [CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-8696

CWE-ID: CWE-121

Exploitation vector: Local network

Exploit availability: No

Vulnerable software:
CUPS
Server applications / Other server solutions

Vendor: Apple Inc.

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing SNMP requests within the asn1_get_packed() function in cups/snmp.c. A remote attacker with access to the the SNMP service can send a specially crafted request to the application, trigger a stack-based buffer oveflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

CUPS: 2.2.0 - 2.2.11


External links
http://github.com/apple/cups/commit/2c030c7a06e0c2b8227c7e85f5c58dfb339731d0
http://github.com/apple/cups/commit/f24e6cf6a39300ad0c3726a41a4aab51ad54c109
http://github.com/apple/cups/releases/tag/v2.2.12


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability