CVE-2012-3503: Katello Katello Uses Hard Coded Credential Vulnerability
CRITICALCVE-2012-3503 is a CRITICAL (CVSS 9.8) katello uses hard coded credential vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Katello libraries in the RubyGems ecosystem. The issue involves katello uses hard coded credential. Remediation is available by upgrading affected packages to version 1.0.6, 1.1.7.
CVE-2012-3503 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2012-3503
To remediate this vulnerability, upgrade all affected Katello 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 katello to 1.0.6
Upgrade katello to 1.1.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for katello
How to Check if You Are Affected
To determine whether your application is affected by CVE-2012-3503, inspect your project dependencies for Katello:
inspect dependencies for katello
Analyze the terminal output to locate any version of Katello in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.6), 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-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. In Katello, 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-2012-3503 Affected Katello Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
katello
|
RubyGems |
< 1.0.6
|
1.0.6
|
|
katello
|
RubyGems |
≥ 1.1.0
< 1.1.7
|
1.1.7
|
References
Frequently Asked Questions
What is CVE-2012-3503?
Which Katello versions are affected?
What version fixes CVE-2012-3503?
Is katello affected?
What is the CVSS score of CVE-2012-3503?
What CWE is associated with CVE-2012-3503?
How can I check RubyGems dependencies for CVE-2012-3503?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5xv2-q475-rwrh",
"modified" : "2024-04-11T15:43:37Z",
"published" : "2022-05-17T05:13:13Z",
"aliases" : [ "CVE-2012-3503" ],
"summary" : "Katello uses hard coded credential",
"details" : "The installation script in Katello 1.0 and earlier does not properly generate the `Application.config.secret_token` value, which causes each default installation to have the same secret token, and allows remote attackers to authenticate to the CloudForms System Engine web interface as an arbitrary user by creating a cookie using the default `secret_token`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "katello"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "katello"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-3503"
}, {
"type" : "WEB",
"url" : "https://github.com/Katello/katello/pull/499"
}, {
"type" : "WEB",
"url" : "https://github.com/Katello/katello/commit/7c256fef9d75029d0ffff58ff1dcda915056d3a3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Katello/katello"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-5xv2-q475-rwrh"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/katello/CVE-2012-3503.yml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20140806122239/http://secunia.com/advisories/50344"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200229120740/http://www.securityfocus.com/bid/55140"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-1186.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-1187.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-798" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-09T14:24:53Z",
"nvd_published_at" : "2012-08-25T10:29:00Z"
}
}