CVE-2009-3821: Apache solr for typo3/solr Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-2q2r-xgj5-h3hm
CWE-79
Published
Advisory Summary

CVE-2009-3821 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Apache solr for typo3/solr libraries in the Packagist ecosystem. The issue involves apache solr search for typo3 vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 1.0.1.

CVE-2009-3821 at a Glance

CVE Identifier CVE-2009-3821
GHSA Identifier GHSA-2q2r-xgj5-h3hm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Apache solr for typo3/solr
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2009-3821

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

apache-solr-for-typo3/solr fixed: 1.0.1
Upgrade apache-solr-for-typo3/solr to 1.0.1
Verify Direct and Transitive Dependencies

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

inspect dependencies for apache-solr-for-typo3/solr

How to Check if You Are Affected

To determine whether your application is affected by CVE-2009-3821, inspect your project dependencies for Apache solr for typo3/solr:

inspect dependencies for apache-solr-for-typo3/solr

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

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Apache solr for typo3/solr, 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

Cross-site scripting (XSS) vulnerability in the Apache Solr Search (solr) extension 1.0.0 for TYPO3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

CVE-2009-3821 Affected Apache solr for typo3/solr Versions

1 component(s)
Fixed Versions:
1.0.1
Product / Package Ecosystem Affected Versions Fixed Version
apache-solr-for-typo3/solr
Packagist
< 1.0.1
1.0.1

References

Frequently Asked Questions

What is CVE-2009-3821?
CVE-2009-3821 is a security vulnerability in Apache solr for typo3/solr involving Apache Solr Search for TYPO3 vulnerable to Cross-site Scripting under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Apache solr for typo3/solr versions are affected?
Affected versions include releases prior to 1.0.1 across affected packages: apache-solr-for-typo3/solr.
What version fixes CVE-2009-3821?
Upgrading to 1.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apache-solr-for-typo3/solr affected?
Yes, apache-solr-for-typo3/solr is affected in releases prior to 1.0.1. Upgrade your dependency to 1.0.1 or later.
What CWE is associated with CVE-2009-3821?
CVE-2009-3821 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Packagist dependencies for CVE-2009-3821?
Run the dependency tree command: 'inspect dependencies for apache-solr-for-typo3/solr'. 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-2q2r-xgj5-h3hm",
  "modified" : "2024-02-08T22:03:51Z",
  "published" : "2022-05-02T03:48:54Z",
  "aliases" : [ "CVE-2009-3821" ],
  "summary" : "Apache Solr Search for TYPO3 vulnerable to Cross-site Scripting",
  "details" : "Cross-site scripting (XSS) vulnerability in the Apache Solr Search (solr) extension 1.0.0 for TYPO3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "apache-solr-for-typo3/solr"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.0.0"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-3821"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3-Solr/ext-solr/commit/5192f489a13ff9417d7b57c63420187789beea5b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/TYPO3-Solr/ext-solr"
  }, {
    "type" : "WEB",
    "url" : "http://typo3.org/teams/security/security-bulletins/typo3-sa-2009-014"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-08T22:03:51Z",
    "nvd_published_at" : "2009-10-28T10:30:00Z"
  }
}