CVE-2010-3313: Egroupware/egroupware EGroupware Code Injection Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-5gx6-f2qq-475f
CWE-94
Published
Advisory Summary

CVE-2010-3313 is a HIGH egroupware code injection vulnerability vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Egroupware/egroupware libraries in the Packagist ecosystem. The issue involves egroupware code injection vulnerability. Remediation is available by upgrading affected packages to version 1.6.003, 9.1.20100309, 9.2.20100309.

CVE-2010-3313 at a Glance

CVE Identifier CVE-2010-3313
GHSA Identifier GHSA-5gx6-f2qq-475f
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Egroupware/egroupware
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2010-3313

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

egroupware/egroupware fixed: 1.6.003
Upgrade egroupware/egroupware to 1.6.003
egroupware/egroupware fixed: 9.1.20100309
Upgrade egroupware/egroupware to 9.1.20100309
egroupware/egroupware fixed: 9.2.20100309
Upgrade egroupware/egroupware to 9.2.20100309
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 egroupware/egroupware

How to Check if You Are Affected

To determine whether your application is affected by CVE-2010-3313, inspect your project dependencies for Egroupware/egroupware:

inspect dependencies for egroupware/egroupware

Analyze the terminal output to locate any version of Egroupware/egroupware in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.003), 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Egroupware/egroupware, 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

`phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/serverscripts/spellchecker.php` in EGroupware 1.4.001+.002; 1.6.001+.002 and possibly other versions before 1.6.003; and EPL 9.1 before 9.1.20100309 and 9.2 before 9.2.20100309; allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) aspell_path or (2) spellchecker_lang parameters.

CVE-2010-3313 Affected Egroupware/egroupware Versions

3 component(s)
Fixed Versions:
1.6.0039.1.201003099.2.20100309
Product / Package Ecosystem Affected Versions Fixed Version
egroupware/egroupware
Packagist
< 1.6.003
1.6.003
egroupware/egroupware
Packagist
≥ 9.1
< 9.1.20100309
9.1.20100309
egroupware/egroupware
Packagist
≥ 9.2
< 9.2.20100309
9.2.20100309

References

Frequently Asked Questions

What is CVE-2010-3313?
CVE-2010-3313 is a security vulnerability in Egroupware/egroupware involving EGroupware Code Injection vulnerability under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Egroupware/egroupware versions are affected?
Affected versions include releases prior to 1.6.003, 9.1.20100309, 9.2.20100309 across affected packages: egroupware/egroupware.
What version fixes CVE-2010-3313?
Upgrading to 1.6.003, 9.1.20100309, 9.2.20100309 (or the latest patched release for your respective branch) resolves the vulnerability.
Is egroupware/egroupware affected?
Yes, egroupware/egroupware is affected in releases prior to 1.6.003, 9.1.20100309, 9.2.20100309. Upgrade your dependency to 1.6.003, 9.1.20100309, 9.2.20100309 or later.
What CWE is associated with CVE-2010-3313?
CVE-2010-3313 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check Packagist dependencies for CVE-2010-3313?
Run the dependency tree command: 'inspect dependencies for egroupware/egroupware'. 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-5gx6-f2qq-475f",
  "modified" : "2025-04-12T01:40:54Z",
  "published" : "2022-05-17T05:06:42Z",
  "aliases" : [ "CVE-2010-3313" ],
  "summary" : "EGroupware Code Injection vulnerability",
  "details" : "`phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/serverscripts/spellchecker.php` in EGroupware 1.4.001+.002; 1.6.001+.002 and possibly other versions before 1.6.003; and EPL 9.1 before 9.1.20100309 and 9.2 before 9.2.20100309; allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) aspell_path or (2) spellchecker_lang parameters.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "egroupware/egroupware"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.6.003"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "egroupware/egroupware"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.1"
      }, {
        "fixed" : "9.1.20100309"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "egroupware/egroupware"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.2"
      }, {
        "fixed" : "9.2.20100309"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-3313"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/EGroupware/egroupware"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2010/dsa-2013"
  }, {
    "type" : "WEB",
    "url" : "http://www.egroupware.org/news?item=93"
  }, {
    "type" : "WEB",
    "url" : "http://www.exploit-db.com/exploits/11777"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2010/09/21/7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-12T01:40:54Z",
    "nvd_published_at" : "2010-09-22T19:00:00Z"
  }
}