Published:2015/05/27  Last Updated:2015/05/27

JVN#61328139
Apache Sling API and Servlets Post components vulnerable to cross-site scripting

Overview

Sling API and Servlets Post components included in Apache Sling contain a cross-site scripting vulnerability.

Products Affected

  • Apache Sling API 2.2.0 and earlier
  • Apache Sling Servlets Post 2.1.0 and earlier

Description

Apache Sling is an open source web application framework provided by The Apache Software Foundation.
Sling API and Servlet Post components included in Apache Sling contain a cross-site scripting vulnerability (CWE-79) in the error page and the generation of the job completion.

Impact

An arbitrary script may be executed on the user's web browser.

Solution

Update the respective components to the appropriate versions
Update the components to the appropriate versions according to the information provided by the developer.

The developer released the following versions to fix the vulnerability.

  • Apache Sling API 2.2.2
  • Apache Sling Servlets Post 2.1.2

Vendor Status

References

JPCERT/CC Addendum

Vulnerability Analysis by JPCERT/CC

Analyzed on 2015.05.27 (CVSS Base Metrics)

What is CVSS?

Measures Severity Description
Access Vector(AV) Local (L) Adjacent Network (A) Network (N) A vulnerability exploitable with network access means the vulnerable software is bound to the network stack and the attacker does not require local network access or local access. Such a vulnerability is often termed "remotely exploitable".
Access Complexity(AC) High (H) Medium (M) Low (L) The access conditions are somewhat specialized.
Authentication(Au) Multiple (M) Single (S) None (N) Authentication is not required to exploit the vulnerability.
Confidentiality Impact(C) None (N) Partial (P) Complete (C) There is no impact to the confidentiality of the system.
Integrity Impact(I) None (N) Partial (P) Complete (C) Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.
Availability Impact(A) None (N) Partial (P) Complete (C) There is no impact to the availability of the system.

Base Score:4.3

Credit

MORI Shingo and Toshiharu Sugiyama of DeNA Co., Ltd. reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.

Other Information

JPCERT Alert
JPCERT Reports
CERT Advisory
CPNI Advisory
TRnotes
CVE CVE-2015-2944
JVN iPedia JVNDB-2015-000069