CVE-2013-5322: Bednee/cooluri SQL Injection Vulnerability

HIGH
Advisory Identifier: GHSA-r3rw-h5v8-ff6h
CWE-89
Published
Advisory Summary

CVE-2013-5322 is a HIGH sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Bednee/cooluri libraries in the Packagist ecosystem. The issue involves cooluri extension for typo3 vulnerable to sql injection. Remediation is available by upgrading affected packages to version 1.0.30.

CVE-2013-5322 at a Glance

CVE Identifier CVE-2013-5322
GHSA Identifier GHSA-r3rw-h5v8-ff6h
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Bednee/cooluri
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2013-5322

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

bednee/cooluri fixed: 1.0.30
Upgrade bednee/cooluri to 1.0.30
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 bednee/cooluri

How to Check if You Are Affected

To determine whether your application is affected by CVE-2013-5322, inspect your project dependencies for Bednee/cooluri:

inspect dependencies for bednee/cooluri

Analyze the terminal output to locate any version of Bednee/cooluri in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.30), 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-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Bednee/cooluri, 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

SQL injection vulnerability in the CoolURI extension before 1.0.30 for TYPO3 allows remote attackers to execute arbitrary SQL commands via unspecified vectors.

CVE-2013-5322 Affected Bednee/cooluri Versions

1 component(s)
Fixed Versions:
1.0.30
Product / Package Ecosystem Affected Versions Fixed Version
bednee/cooluri
Packagist
< 1.0.30
1.0.30

References

Frequently Asked Questions

What is CVE-2013-5322?
CVE-2013-5322 is a security vulnerability in Bednee/cooluri involving CoolURI extension for TYPO3 vulnerable to SQL Injection under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Bednee/cooluri versions are affected?
Affected versions include releases prior to 1.0.30 across affected packages: bednee/cooluri.
What version fixes CVE-2013-5322?
Upgrading to 1.0.30 (or the latest patched release for your respective branch) resolves the vulnerability.
Is bednee/cooluri affected?
Yes, bednee/cooluri is affected in releases prior to 1.0.30. Upgrade your dependency to 1.0.30 or later.
What CWE is associated with CVE-2013-5322?
CVE-2013-5322 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check Packagist dependencies for CVE-2013-5322?
Run the dependency tree command: 'inspect dependencies for bednee/cooluri'. 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-r3rw-h5v8-ff6h",
  "modified" : "2025-04-12T03:37:03Z",
  "published" : "2022-05-17T01:32:14Z",
  "aliases" : [ "CVE-2013-5322" ],
  "summary" : "CoolURI extension for TYPO3 vulnerable to SQL Injection",
  "details" : "SQL injection vulnerability in the CoolURI extension before 1.0.30 for TYPO3 allows remote attackers to execute arbitrary SQL commands via unspecified vectors.",
  "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:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "bednee/cooluri"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.30"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-5322"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/82213"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bednee/cooluri"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20131204041535/http://typo3.org/teams/security/security-bulletins/typo3-extensions/typo3-ext-sa-2013-003"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20131211015313/http://www.securityfocus.com/bid/58055"
  }, {
    "type" : "WEB",
    "url" : "http://typo3.org/extensions/repository/view/cooluri"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-12T03:37:03Z",
    "nvd_published_at" : "2013-08-20T18:14:00Z"
  }
}