CVE-2007-6726: Apache Struts Dojo Plugin XSS Vulnerability

Summary

01/05/2022
Yes i
Moderate
Not published

CVE-2007-6726: Apache Struts Dojo Plugin XSS Vulnerability. Affects org.apache.struts:struts2-dojo-plugin versions >= 0.4.1, < 0.4.3. Fixed in 0.4.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Apache Struts Dojo Plugin is a component used in Apache Struts and other products. It provides functionality for handling web scripts and HTML. The plugin version 0.4.1 and 0.4.2 are affected by multiple cross-site scripting (XSS) vulnerabilities. These vulnerabilities allow remote attackers to inject arbitrary web script or HTML through unspecified vectors in the 'xip_client.html' and 'xip_server.html' files located in the 'src/io/' directory.

Vulnerability Detail

The XSS vulnerabilities in the Apache Struts Dojo Plugin can be exploited by attackers to inject malicious web script or HTML into vulnerable applications. This can lead to various security issues, including unauthorized access, data theft, and the execution of arbitrary code on the victim's browser. The vulnerabilities are considered moderate in severity and have been assigned the Common Vulnerabilities and Exposures (CVE) identifier CVE-2007-6726.

How To Fix

Minimum fixed version

0.4.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the fixed version is not immediately possible, a temporary workaround is to disable or remove the affected functionality from the application. This can be done by removing the 'xip_client.html' and 'xip_server.html' files from the 'src/io/' directory. However, this workaround may impact the functionality of the application, so upgrading to the fixed version is strongly advised.

Conclusion

The Apache Struts Dojo Plugin is vulnerable to multiple XSS vulnerabilities in versions 0.4.1 and 0.4.2. These vulnerabilities can be exploited by attackers to inject malicious web script or HTML into vulnerable applications, potentially leading to unauthorized access and data theft. It is recommended to upgrade to version 0.4.3 or later of the plugin to mitigate these vulnerabilities. If immediate upgrading is not possible, removing the affected functionality can serve as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.struts:struts2-dojo-plugin →

Share this vulnerability

FAQ

The XSS vulnerabilities in the Apache Struts Dojo Plugin can allow attackers to inject malicious scripts or HTML into vulnerable applications. This can lead to unauthorized access, data theft, and the execution of arbitrary code on the victim's browser.

Versions 0.4.1 and 0.4.2 of the Apache Struts Dojo Plugin are affected by these XSS vulnerabilities.

There are no known public exploits specifically targeting these XSS vulnerabilities in the Apache Struts Dojo Plugin. However, it is important to promptly apply the recommended fixes to mitigate the risk.

Yes, a temporary workaround is to remove or disable the affected functionality by deleting the 'xip_client.html' and 'xip_server.html' files from the 'src/io/' directory. However, upgrading to the fixed version is strongly recommended.

More information about the Apache Struts Dojo Plugin can be found on the official Apache Struts website and documentation.

How To Fix

Minimum fixed version

0.4.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback