Apple CUPS 1.6.4/1.7.1 Interface cross site scripting

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.1$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in Apple CUPS 1.6.4/1.7.1. This affects an unknown part of the component Interface. Such manipulation with the input <SCRIPT>alert('document.domain='+document.domain)</SCRIPT>.shtml leads to cross site scripting. This vulnerability is traded as CVE-2014-2856. The attack may be launched remotely. Furthermore, there is an exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Apple CUPS 1.6.4/1.7.1 (Printing Software). It has been rated as problematic. Affected by this issue is an unknown code block of the component Interface. The manipulation with the input value <SCRIPT>alert('document.domain='+document.domain)</SCRIPT>.shtml leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Impacted is integrity. CVE summarizes:

Cross-site scripting (XSS) vulnerability in scheduler/client.c in Common Unix Printing System (CUPS) before 1.7.2 allows remote attackers to inject arbitrary web script or HTML via the URL path, related to the is_path_absolute function.

The weakness was shared 01/30/2014 by Alex Korobkin as STR #4356 as confirmed bug report (Website). The advisory is shared for download at cups.org. This vulnerability is handled as CVE-2014-2856 since 04/15/2014. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.007.

A public exploit has been developed by Alex Korobkin and been published immediately after the advisory. The exploit is available at cups.org. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 73746 (Fedora 19 : cups-1.6.4-5.fc19 (2014-4384)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350289 (Amazon Linux Security Advisory for cups: ALAS-2014-438).

Upgrading to version 2.0 eliminates this vulnerability. Applying the patch str4356.patch is able to eliminate this problem. The bugfix is ready for download at cups.org.Addressing this vulnerability is possible by firewalling tcp/631 (IPP). The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

if (strchr(path, '<') != NULL || strchr(path, '\"') != NULL || strchr(path, '\'') != NULL)
  return (0);
Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 16288.

The vulnerability is also documented in the databases at X-Force (92574), Tenable (73746), SecurityFocus (BID 66788†), Secunia (SA57880†) and Vulnerability Center (SBV-44386†). The entries VDB-67239, VDB-67240 and VDB-67241 are related to this item. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: Alex Korobkin
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 73746
Nessus Name: Fedora 19 : cups-1.6.4-5.fc19 (2014-4384)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 800182
OpenVAS Name: CUPS Web Interface Cross Site Scripting Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: CUPS 2.0
Patch: str4356.patch
Firewalling: 🔍
TippingPoint: 🔍
Fortigate IPS: 🔍

Timelineinfo

01/30/2014 🔍
01/30/2014 +0 days 🔍
01/30/2014 +0 days 🔍
01/30/2014 +0 days 🔍
02/19/2014 +20 days 🔍
04/11/2014 +51 days 🔍
04/15/2014 +4 days 🔍
04/17/2014 +2 days 🔍
04/18/2014 +1 days 🔍
04/29/2014 +11 days 🔍
05/05/2014 +6 days 🔍
04/23/2019 +1814 days 🔍

Sourcesinfo

Vendor: apple.com

Advisory: STR #4356
Researcher: Alex Korobkin
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2014-2856 (🔍)
GCVE (CVE): GCVE-0-2014-2856
GCVE (VulDB): GCVE-100-13004

OVAL: 🔍

X-Force: 92574 - Common Unix Printing System interface cross-site scripting, Medium Risk
SecurityFocus: 66788 - CUPS Web Interface Cross Site Scripting Vulnerability
Secunia: 57880 - Common Unix Printing System Web Interface Cross-Site Scripting Vulnerability, Less Critical
Vulnerability Center: 44386 - CUPS <1.7.2 Remote XSS in client.c is_path_absolute(), Medium

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 04/17/2014 10:04
Updated: 04/23/2019 17:25
Changes: 04/17/2014 10:04 (98), 04/23/2019 17:25 (4)
Complete: 🔍
Cache ID: 216:AB8:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!