# CVE-2018-8032: Moderate severity vulnerability that affects apache axis

> Cross-site scripting vulnerability in Apache Axis allows attackers to inject malicious scripts into default servlets, potentially compromising user sessions.

- **Severity:** Medium 6.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 2 Aug 2018
- **Updated:** 16 Sep 2024
- **Also known as:** DEBIAN-CVE-2018-8032, DLA-2821-1, GHSA-96jq-75wh-2658, MGASA-2018-0431, SUSE-SU-2018:3118-1, SUSE-SU-2018:3119-1, SUSE-SU-2018:3121-1, UBUNTU-CVE-2018-8032

## What is CVE-2018-8032?

CVE-2018-8032 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 2 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official 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.

Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)

## Which versions are affected by CVE-2018-8032?

4 open source packages ship an affected version, including axis:axis and org.apache.axis:axis. It affects 38 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `axis:axis` | Maven | All versions to 1.4 | None |
| `axis:axis` | Maven | All versions to 1.4 | None |
| `org.apache.axis:axis` | Maven | All versions to 1.4 | None |
| `org.apache.axis:axis` | Maven | All versions to 1.4 | None |
| `axis` | SUSE:Linux Enterprise Module for Basesystem 15 | All versions | 1.4-5.3.1 |
| `axis` | SUSE:Linux Enterprise Server 11 SP4 | All versions | 1.4-236.236.44.9.1 |
| `axis` | SUSE:Linux Enterprise Server 12 SP3 | All versions | 1.4-290.3.1 |
| `axis` | SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 1.4-236.236.44.9.1 |
| `axis` | SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 1.4-290.3.1 |

Products: Apache Axis, Debian Debian Linux, Oracle Agile Engineering Data Management, Oracle Agile Product Lifecycle Management, Oracle Application Testing Suite, Oracle Big Data Discovery, Oracle Communications Asap Cartridges, Oracle Communications Design Studio, Oracle Communications Element Manager, Oracle Communications Network Integrity, Oracle Communications Order and Service Management, Oracle Communications Session Report Manager, Oracle Communications Session Route Manager, Oracle Endeca Information Discovery Studio, Oracle Enterprise Manager Base Platform, Oracle Enterprise Manager for Fusion Middleware, Oracle Financial Services Analytical Applications Infrastructure, Oracle Financial Services Compliance Regulatory Reporting, Oracle Financial Services Funds Transfer Pricing, Oracle Flexcube Core Banking and 18 more.

## How do I fix CVE-2018-8032?

Upgrade to a fixed version.

## Is CVE-2018-8032 being exploited?

There is no known exploitation of CVE-2018-8032 in the wild and no public exploit code.

Public exploit code:

- 从老外那里下载了该漏洞的修复工程，无奈依赖包实在是太多下不下来，选取其中axis工程打成jar包后发现已成功修复项目的漏洞，有需要的亲可以下载重新打jar包替换即可。  clone后用idea打axis这个jar包即可 (github_poc): https://github.com/cairuojin/CVE-2018-8032

## Other vulnerabilities in Debian Debian Linux

- [CVE-2023-40743](https://insights.sbomify.com/CVE-2023-40743/): Apache Axis 1.x (EOL) may allow RCE when untrusted input is passed to getService (critical 9.8)
- [CVE-2019-0227](https://insights.sbomify.com/CVE-2019-0227/): Server Side Request Forgery in Apache Axis (high 7.5)
- [CVE-2023-51441](https://insights.sbomify.com/CVE-2023-51441/): Apache Axis 1.x (EOL) may allow SSRF when untrusted input is passed to the service admin HTTP API (high 7.2)
- [CVE-2014-3596](https://insights.sbomify.com/CVE-2014-3596/): Improper Validation of Certificates in apache axis (medium 5.8)
- [CVE-2007-2353](https://insights.sbomify.com/CVE-2007-2353/): Apache Axis allows Exposure of Sensitive Information to an Unauthorized Actor (medium 5.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2018-8032 and fix it if it is affected.

What it is: CVE-2018-8032 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 2 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2018-8032 in the wild and no public exploit code.

Affected packages and fixed versions:
- axis:axis (Maven): affected all versions up to 1.4; no fix listed
- axis:axis (Maven): affected all versions up to 1.4; no fix listed
- org.apache.axis:axis (Maven): affected all versions up to 1.4; no fix listed
- org.apache.axis:axis (Maven): affected all versions up to 1.4; no fix listed

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2018-8032/ (Markdown: https://insights.sbomify.com/CVE-2018-8032/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2018-8032
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2018-8032
- OSV: https://osv.dev/vulnerability/CVE-2018-8032

---
From sbomify Insights: https://insights.sbomify.com/CVE-2018-8032/
Summaries are generated and may contain mistakes; the official description above is the record.
