CVE-2013-7225: Fat free crm SQL Injection Vulnerability
MODERATECVE-2013-7225 is a MODERATE sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Fat free crm libraries in the RubyGems ecosystem. The issue involves fat free crm vulnerable to sql injection. Remediation is available by upgrading affected packages to version 0.12.1.
CVE-2013-7225 at a Glance
How to Fix CVE-2013-7225
To remediate this vulnerability, upgrade all affected Fat free crm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade fat_free_crm to 0.12.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for fat_free_crm
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-7225, inspect your project dependencies for Fat free crm:
inspect dependencies for fat_free_crm
Analyze the terminal output to locate any version of Fat free crm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.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-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 Fat free crm, 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-2013-7225 Affected Fat free crm Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
fat_free_crm
|
RubyGems |
< 0.12.1
|
0.12.1
|
References
Frequently Asked Questions
What is CVE-2013-7225?
Which Fat free crm versions are affected?
What version fixes CVE-2013-7225?
Is fat_free_crm affected?
What CWE is associated with CVE-2013-7225?
How can I check RubyGems dependencies for CVE-2013-7225?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9ggp-5rf4-x7q9",
"modified" : "2023-01-23T14:44:19Z",
"published" : "2022-05-17T04:55:27Z",
"aliases" : [ "CVE-2013-7225" ],
"summary" : "Fat Free CRM vulnerable to SQL Injection",
"details" : "Multiple SQL injection vulnerabilities in `app/controllers/home_controller.rb` in Fat Free CRM before 0.12.1 allow remote authenticated users to execute arbitrary SQL commands via (1) the homepage timeline feature or (2) the activity feature.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "fat_free_crm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.12.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-7225"
}, {
"type" : "WEB",
"url" : "https://github.com/fatfreecrm/fat_free_crm/issues/300"
}, {
"type" : "WEB",
"url" : "https://github.com/fatfreecrm/fat_free_crm/commit/078035f1ef73ed85285ac9d128c3c5f670cef066"
}, {
"type" : "WEB",
"url" : "https://github.com/fatfreecrm/fat_free_crm/commit/d4b2de81a4d8c1b201482edcb2488ed9280a65fd"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/fatfreecrm/fat_free_crm"
}, {
"type" : "WEB",
"url" : "https://github.com/fatfreecrm/fat_free_crm/wiki/Fixing-security-vulnerabilities-%2827th-Dec-2013%29"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2013/12/28/2"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2013/Dec/199"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-23T14:44:19Z",
"nvd_published_at" : "2014-01-02T14:59:00Z"
}
}