CVE-2006-7223: Xwiki platform oldcore Remote Code Execution Vulnerability
MODERATECVE-2006-7223 is a MODERATE remote code execution vulnerability (General Security Weakness) affecting Xwiki platform oldcore libraries in the Maven ecosystem. The issue involves xwiki remote code execution. Remediation is available by upgrading affected packages to version 1.0B1.
CVE-2006-7223 at a Glance
How to Fix CVE-2006-7223
To remediate this vulnerability, upgrade all affected Xwiki platform oldcore dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-oldcore</artifactId>
<version>1.0B1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.xwiki.platform
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2006-7223, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.xwiki.platform
Analyze the terminal output to locate any version of Xwiki platform oldcore in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0B1), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.xwiki.platform command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Xwiki platform oldcore, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2006-7223 Affected Xwiki platform oldcore Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.xwiki.platform:xwiki-platform-oldcore
|
Maven |
≥ 0.9.543
< 1.0B1
|
1.0B1
|
References
Frequently Asked Questions
What is CVE-2006-7223?
Which Xwiki platform oldcore versions are affected?
What version fixes CVE-2006-7223?
Is xwiki-platform-oldcore affected?
What CWE is associated with CVE-2006-7223?
How can I check Maven dependencies for CVE-2006-7223?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h5jm-jjgx-q2wf",
"modified" : "2024-02-12T17:00:03Z",
"published" : "2022-05-01T07:45:42Z",
"aliases" : [ "CVE-2006-7223" ],
"summary" : "XWiki Remote Code Execution",
"details" : "PreviewAction in XWiki 0.9.543 through 0.9.1252 does not set the Author field to the identity of the user who last modified a document, which allows remote authenticated users without programming rights to execute arbitrary code by selecting a document whose author has programming rights, modifying this document to contain a script, and previewing without saving the document.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-oldcore"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.9.543"
}, {
"fixed" : "1.0B1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.9.1252"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-7223"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/c44172a3556d12b62c0d793ab18475e5e13d7120"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xwiki/xwiki-platform"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20080616064908/http://jira.xwiki.org/jira/browse/XWIKI-366"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-12T17:00:03Z",
"nvd_published_at" : "2007-09-14T00:17:00Z"
}
}