CVE-2014-5441: Fat free crm Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-wcfx-3m6v-4frg
CWE-79
Published
Advisory Summary

CVE-2014-5441 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Fat free crm libraries in the RubyGems ecosystem. The issue involves fat free crm subject to cross-site scripting. Remediation is available by upgrading affected packages to version 0.13.3.

CVE-2014-5441 at a Glance

CVE Identifier CVE-2014-5441
GHSA Identifier GHSA-wcfx-3m6v-4frg
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 Fat free crm
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2014-5441

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.

fat_free_crm fixed: 0.13.3
Upgrade fat_free_crm to 0.13.3
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 fat_free_crm

How to Check if You Are Affected

To determine whether your application is affected by CVE-2014-5441, 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.13.3), 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 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

Multiple cross-site scripting (XSS) vulnerabilities in `app/views/layouts/application.html.haml` in Fat Free CRM before 0.13.3 allow remote attackers to inject arbitrary web script or HTML via the (1) username, (2) first name, or (3) last name in a (a) create or (b) edit user action.

CVE-2014-5441 Affected Fat free crm Versions

1 component(s)
Fixed Versions:
0.13.3
Product / Package Ecosystem Affected Versions Fixed Version
fat_free_crm
RubyGems
≥ 0.11.1
< 0.13.3
0.13.3

References

Frequently Asked Questions

What is CVE-2014-5441?
CVE-2014-5441 is a security vulnerability in Fat free crm involving Fat Free CRM subject to Cross-site Scripting under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Fat free crm versions are affected?
Affected versions include releases prior to 0.13.3 across affected packages: fat_free_crm.
What version fixes CVE-2014-5441?
Upgrading to 0.13.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is fat_free_crm affected?
Yes, fat_free_crm is affected in releases prior to 0.13.3. Upgrade your dependency to 0.13.3 or later.
What CWE is associated with CVE-2014-5441?
CVE-2014-5441 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 RubyGems dependencies for CVE-2014-5441?
Run the dependency tree command: 'inspect dependencies for fat_free_crm'. 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-wcfx-3m6v-4frg",
  "modified" : "2023-01-23T14:45:13Z",
  "published" : "2022-05-17T04:35:23Z",
  "aliases" : [ "CVE-2014-5441" ],
  "summary" : "Fat Free CRM subject to Cross-site Scripting",
  "details" : "Multiple cross-site scripting (XSS) vulnerabilities in `app/views/layouts/application.html.haml` in Fat Free CRM before 0.13.3 allow remote attackers to inject arbitrary web script or HTML via the (1) username, (2) first name, or (3) last name in a (a) create or (b) edit user action.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "fat_free_crm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.11.1"
      }, {
        "fixed" : "0.13.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-5441"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fatfreecrm/fat_free_crm/commit/95464495f1e3e714d5c295fe621af5d2e0d4238d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/fatfreecrm/fat_free_crm"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fatfreecrm/fat_free_crm/wiki/XSS-vulnerability-%2826th-August-2014%29"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/127978/Fatt-Free-CRM-Cross-Site-Scripting.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-23T14:45:13Z",
    "nvd_published_at" : "2014-09-12T14:55:00Z"
  }
}