CVE-2011-1579: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-rwjq-pqc6-6rcp
CWE-20
Published
Advisory Summary

CVE-2011-1579 is a MODERATE security vulnerability vulnerability (CWE-20: Improper Input Validation) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.. Remediation is available in the latest vendor maintenance releases.

CVE-2011-1579 at a Glance

CVE Identifier CVE-2011-1579
GHSA Identifier GHSA-rwjq-pqc6-6rcp
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2011-1579

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2011-1579, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree 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 CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Software, 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

The checkCss function in includes/Sanitizer.php in the wikitext parser in MediaWiki before 1.16.3 does not properly validate Cascading Style Sheets (CSS) token sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks or obtain sensitive information by using the \2f\2a and \2a\2f hex strings to surround CSS comments.

References

NVD — CVE-2011-1579 NVD
https://nvd.nist.gov/vuln/detail/CVE-2011-1579
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=695577
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=696360
bugzilla.wikimedia.org/show_bug.cgi WEB
https://bugzilla.wikimedia.org/show_bug.cgi?id=28450
exchange.xforce.ibmcloud.com/vulnerabilities/667... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/66738
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058588.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058910.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/059232.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/059235.html
lists.wikimedia.org/pipermail/mediawiki... WEB
http://lists.wikimedia.org/pipermail/mediawiki-announce/2011-April/000096.html
Software Security Information SECURITY
http://openwall.com/lists/oss-security/2011/04/13/15
secunia.com/advisories/44142 WEB
http://secunia.com/advisories/44142
Software Security Information SECURITY
http://www.debian.org/security/2011/dsa-2366
www.mediawiki.org/wiki/special:code/m... WEB
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85856
Software Security Information SECURITY
http://www.securityfocus.com/bid/47354
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2011/0978
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2011/1100
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2011/1151

Frequently Asked Questions

What is CVE-2011-1579?
CVE-2011-1579 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-20: Improper Input Validation.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2011-1579?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2011-1579?
CVE-2011-1579 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for CVE-2011-1579?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rwjq-pqc6-6rcp",
  "modified" : "2022-05-17T02:00:24Z",
  "published" : "2022-05-17T02:00:24Z",
  "aliases" : [ "CVE-2011-1579" ],
  "details" : "The checkCss function in includes/Sanitizer.php in the wikitext parser in MediaWiki before 1.16.3 does not properly validate Cascading Style Sheets (CSS) token sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks or obtain sensitive information by using the \\2f\\2a and \\2a\\2f hex strings to surround CSS comments.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-1579"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=695577"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=696360"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.wikimedia.org/show_bug.cgi?id=28450"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/66738"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058588.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058910.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/059232.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/059235.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.wikimedia.org/pipermail/mediawiki-announce/2011-April/000096.html"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2011/04/13/15"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/44142"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2011/dsa-2366"
  }, {
    "type" : "WEB",
    "url" : "http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85856"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/47354"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2011/0978"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2011/1100"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2011/1151"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2011-04-27T00:55:00Z"
  }
}