CVE-2021-44140: Incorrect Default Permissions in Apache JSPWiki

Summary

29/11/2021
Yes i
Critical
9.1

CVE-2021-44140: Incorrect Default Permissions in Apache JSPWiki. Affects org.apache.jspwiki:jspwiki-main versions < 2.11.0. Fixed in 2.11.0. 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

Apache JSPWiki is an open-source wiki engine written in Java. It allows users to create and manage content collaboratively. JSPWiki versions up to 2.11.0.M8 are affected by a vulnerability that allows remote attackers to delete arbitrary files on a system hosting a JSPWiki instance. This vulnerability occurs due to incorrect default permissions. The user running the JSPWiki instance must have access to the files for them to be deleted. It is recommended to upgrade to Apache JSPWiki version 2.11.0 or later to mitigate this issue.

Vulnerability Detail

The vulnerability (CVE-2021-44140) in Apache JSPWiki allows remote attackers to delete arbitrary files on a system hosting a JSPWiki instance. This can be achieved by carefully crafting an HTTP request on logout. However, the attacker must have access to the files they intend to delete. The vulnerability arises from incorrect default permissions. The impact of this vulnerability can be severe, as an attacker can delete important files, potentially leading to data loss or disruption of services.

How To Fix

Minimum fixed version

2.11.0

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 →

Conclusion

The vulnerability in Apache JSPWiki (CVE-2021-44140) allows remote attackers to delete arbitrary files on a system hosting a JSPWiki instance. It is crucial to upgrade to Apache JSPWiki version 2.11.0 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.jspwiki:jspwiki-main →

Share this vulnerability

FAQ

Apache JSPWiki is an open-source wiki engine written in Java. It allows users to collaboratively create and manage content.

The vulnerability allows remote attackers to delete arbitrary files on a system hosting a JSPWiki instance. This can lead to data loss or disruption of services.

To mitigate this vulnerability, it is recommended to upgrade to Apache JSPWiki version 2.11.0 or later.

No, upgrading to the latest version of Apache JSPWiki is the recommended solution.

You can find more information about this vulnerability in the CVE-2021-44140 advisory.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.jspwiki:jspwiki-main.

How To Fix

Minimum fixed version

2.11.0

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