1. CVE archive
  2. 2018
  3. CVE-2018-8032

CVE-2018-8032

6.1 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 6.1 – Medium

Description

Apache Axis 1.x up to and including 1.4 is vulnerable to a cross-site scripting (XSS) attack in the default servlet/services.

Affected products

VendorProductVersionPlatform
apache axis >= 1.0 <= 1.4 –
debian debian linux 9.0 –
oracle agile engineering data management 6.2.1.0 –
oracle agile product lifecycle management 9.3.3 –
oracle application testing suite 13.2.0.1 –
oracle application testing suite 13.3.0.1 –
oracle big data discovery 1.6 –
oracle communications asap cartridges 7.2 –
oracle communications asap cartridges 7.3 –
oracle communications design studio 7.3.4.3.0 –
oracle communications design studio 7.3.5.5.0 –
oracle communications design studio 7.4.0.4.0 –
oracle communications design studio 7.4.1.1.0 –
oracle communications element manager 8.0.0 –
oracle communications element manager 8.1.0 –
oracle communications element manager 8.1.1 –
oracle communications element manager 8.2.0 –
oracle communications network integrity 7.3.5 –
oracle communications network integrity 7.3.6 –
oracle communications order and service management 7.3.0.0.0 –
oracle communications order and service management 7.4 –
oracle communications session report manager 8.0.0 –
oracle communications session report manager 8.1.0 –
oracle communications session report manager 8.1.1 –
oracle communications session report manager 8.2.0 –
oracle communications session route manager 8.0.0 –
oracle communications session route manager 8.1.0 –
oracle communications session route manager 8.1.1 –
oracle communications session route manager 8.2.0 –
oracle endeca information discovery studio 3.2.0 –
oracle enterprise manager base platform 12.1.0.5 –
oracle enterprise manager base platform 13.3.0.0 –
oracle enterprise manager for fusion middleware 12.1.0.5 –
oracle financial services analytical applications infrastructure >= 7.3.3 <= 7.3.5 –
oracle financial services analytical applications infrastructure >= 8.0.0 <= 8.0.8 –
oracle financial services compliance regulatory reporting >= 8.0.6 <= 8.0.8 –
oracle financial services funds transfer pricing >= 8.0.2 <= 8.0.7 –
oracle flexcube core banking 11.7.0 –
oracle flexcube core banking 11.8.0 –
oracle flexcube core banking 11.9.0 –
oracle flexcube core banking 11.10.0 –
oracle flexcube private banking 12.0.0 –
oracle flexcube private banking 12.1.0 –
oracle hospitality guest access 4.2.0 –
oracle hospitality guest access 4.2.1 –
oracle instantis enterprisetrack 17.1 –
oracle instantis enterprisetrack 17.2 –
oracle instantis enterprisetrack 17.3 –
oracle internet directory 12.2.1.3.0 –
oracle internet directory 12.2.1.4.0 –
oracle knowledge >= 8.6.0 <= 8.6.3 –
oracle peoplesoft enterprise human capital management human resources 9.2 –
oracle peoplesoft enterprise peopletools 8.56 –
oracle peoplesoft enterprise peopletools 8.57 –
oracle peoplesoft enterprise peopletools 8.58 –
oracle policy automation connector for siebel 10.4.6 –
oracle primavera gateway 16.2.11 –
oracle primavera gateway 17.12.6 –
oracle primavera unifier >= 17.7 <= 17.12 –
oracle primavera unifier 16.1 –
oracle primavera unifier 16.2 –
oracle primavera unifier 18.8 –
oracle primavera unifier 19.12 –
oracle rapid planning 12.1 –
oracle rapid planning 12.2 –
oracle real-time decision server 3.2.1.0 –
oracle retail order broker 15.0 –
oracle retail order broker 16.0 –
oracle retail order broker 18.0 –
oracle retail xstore point of service 7.1 –
oracle secure global desktop 5.4 –
oracle secure global desktop 5.5 –
oracle siebel ui framework <= 21.0 –
oracle tuxedo 12.1.1.0.0 –
oracle tuxedo 12.1.3 –
oracle webcenter portal 12.2.1.3.0 –
All 8 Apache Axis vulnerabilities

Vulnerability type

CWE-79 Improper Neutralization of Input During Web Page Generation

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.

Impact on systems

ScopeImpact
Access Control, Confidentiality Bypass Protection Mechanism, Read Application Data
The most common attack performed with cross-site scripting involves the disclosure of private information stored in user cookies, such as session information. Typically, a malicious user will craft a client-side script, which -- when parsed by a web browser -- performs some activity on behalf of the victim to an attacker-controlled system (such as sending all site cookies to a given E-mail address). This could be especially dangerous to the site if the victim has administrator privileges to manage that site. This script will be loaded and run by each user visiting the web site. Since the site requesting to run the script has access to the cookies in question, the malicious script does also.
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
In some circumstances it may be possible to run arbitrary code on a victim's computer when cross-site scripting is combined with other flaws, for example, drive-by hacking.
Confidentiality, Integrity, Availability, Access Control Execute Unauthorized Code or Commands, Bypass Protection Mechanism, Read Application Data
The consequence of an XSS attack is the same regardless of whether it is stored or reflected. The difference is in how the payload arrives at the server. XSS can cause a variety of problems for the end user that range in severity from an annoyance to complete account compromise. Some cross-site scripting vulnerabilities can be exploited to manipulate or steal cookies, create requests that can be mistaken for those of a valid user, compromise confidential information, or execute malicious code on the end user systems for a variety of nefarious purposes. Other damaging attacks include the disclosure of end user files, installation of Trojan horse programs, redirecting the user to some other page or site, running Active X controls (under Microsoft Internet Explorer) from sites that a user perceives as trustworthy, and modifying presentation of content.

How to prevent it

Architecture and Design · Libraries or Frameworks Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples of libraries and frameworks that make it easier to generate properly encoded output include Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module, and Apache Wicket.
Implementation · Architecture and Design Understand the context in which your data will be used and the encoding that will be expected. This is especially important when transmitting data between different components, or when generating outputs that can contain multiple encodings at the same time, such as web pages or multi-part mail messages. Study all expected communication protocols and data representations to determine the required encoding strategies. For any data that will be output to another web page, especially any data that was received from external inputs, use the appropriate encoding on all non-alphanumeric characters. Parts of the same output document may require different encodings, which will vary depending on whether the output is in the: HTML body Element attributes (such as src=XYZ) URIs JavaScript sections Cascading Style Sheets and style property etc. Note that HTML Entity Encoding is only appropriate for the HTML body. Consult the XSS Prevention Cheat Sheet for more details on the types of encoding and escaping that are needed.
Architecture and Design · Implementation · Attack Surface Reduction Understand all the potential areas where untrusted inputs can enter your software: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly through API calls.
Architecture and Design For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
Architecture and Design · Parameterization If available, use structured mechanisms that automatically enforce the separation between data and code. These mechanisms may be able to provide the relevant quoting, encoding, and validation automatically, instead of relying on the developer to provide this capability at every point where output is generated.
Implementation · Output Encoding Use and specify an output encoding that can be handled by the downstream component that is reading the output. Common encodings include ISO-8859-1, UTF-7, and UTF-8. When an encoding is not specified, a downstream component may choose a different encoding, either by assuming a default encoding or automatically inferring which encoding is being used, which can be erroneous. When the encodings are inconsistent, the downstream component might treat some character or byte sequences as special, even if they are not special in the original encoding. Attackers might then be able to exploit this discrepancy and conduct injection attacks; they even might be able to bypass protection mechanisms that assume the original encoding is also being used by the downstream component. The problem of inconsistent output encodings often arises in web pages. If an encoding is not specified in an HTTP header, web browsers often guess about which encoding is being used. This can open up the browser to subtle XSS attacks.
Implementation With Struts, write all data from form beans with the bean's filter attribute set to true.
Implementation · Attack Surface Reduction To help mitigate XSS attacks against the user's session cookie, set the session cookie to be HttpOnly. In browsers that support the HttpOnly feature (such as more recent versions of Internet Explorer and Firefox), this attribute can prevent the user's session cookie from being accessible to malicious client-side scripts that use document.cookie. This is not a complete solution, since HttpOnly is not supported by all browsers. More importantly, XmlHttpRequest and other powerful browser technologies provide read access to HTTP headers, including the Set-Cookie header in which the HttpOnly flag is set.

All 51,325 CWE-79 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org