CVE-2021-36737: Cross-site Scripting in Apache Pluto

Summary

08/01/2022
Yes i
Moderate
Not published

CVE-2021-36737: Cross-site Scripting in Apache Pluto. Affects org.apache.portals.pluto:pluto-portal versions < 3.1.1. Fixed in 3.1.1. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Pluto is a Java-based open-source project that provides a portlet container for executing Java Portlet Specification (JSR 286) compliant portlets. It allows developers to create and deploy portlet applications within a portal server. The vulnerable component, org.apache.portals.pluto:pluto-portal, is a Maven package that is part of the Apache Pluto project.

Vulnerability Detail

The input fields of the Apache Pluto UrlTestPortlet are vulnerable to Cross-Site Scripting (XSS) attacks. This means that an attacker can inject malicious scripts into the input fields, which will be executed by the victim's browser. This can lead to various security risks, such as stealing sensitive information, session hijacking, or performing unauthorized actions on behalf of the victim. The vulnerability has been assigned the identifier CVE-2021-36737 and has a severity level of MODERATE according to the Common Vulnerability Scoring System (CVSS). The vulnerability was discovered on January 8, 2022, and has been reviewed by GitHub.

How To Fix

Minimum fixed version

3.1.1

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 feasible, a temporary workaround can be implemented to mitigate the risk. One possible workaround is to implement input validation and sanitization on the server-side to prevent the execution of malicious scripts. This can be achieved by using libraries or frameworks that provide built-in protection against XSS attacks, such as OWASP Java Encoder. Additionally, implementing Content Security Policy (CSP) headers can help mitigate the impact of XSS attacks by restricting the execution of scripts from unauthorized sources.

Conclusion

In conclusion, the Apache Pluto UrlTestPortlet is vulnerable to Cross-Site Scripting (XSS) attacks. Users should upgrade to version 3.1.1 of the v3-demo-portlet.war artifact to fix this vulnerability. If immediate upgrade is not possible, implementing input validation, sanitization, and Content Security Policy (CSP) headers can provide temporary mitigation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.portals.pluto:pluto-portal →

Share this vulnerability

FAQ

Apache Pluto is a Java-based open-source project that provides a portlet container for executing Java Portlet Specification (JSR 286) compliant portlets.

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various security risks, such as stealing sensitive information or performing unauthorized actions on behalf of the victim.

The impact of this vulnerability is that an attacker can inject and execute malicious scripts in the input fields of the Apache Pluto UrlTestPortlet. This can lead to various security risks, such as stealing sensitive information, session hijacking, or performing unauthorized actions on behalf of the victim.

To fix this vulnerability, users should migrate to version 3.1.1 of the v3-demo-portlet.war artifact. This version includes the necessary security patches to mitigate the XSS vulnerability. Users can update their dependencies by modifying the Maven configuration file (pom.xml) to include the updated version of the package. After updating the package, the application should be rebuilt and redeployed to ensure the fix is applied.

If upgrading to the fixed version is not immediately feasible, a temporary workaround can be implemented to mitigate the risk. One possible workaround is to implement input validation and sanitization on the server-side to prevent the execution of malicious scripts. Additionally, implementing Content Security Policy (CSP) headers can help mitigate the impact of XSS attacks by restricting the execution of scripts from unauthorized sources.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.portals.pluto:pluto-portal.

How To Fix

Minimum fixed version

3.1.1

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