{"answers":{"affected":"4 open source packages ship an affected version, including katello. It affects 2 products.","exploited":"There is no known exploitation of CVE-2012-3503 in the wild and no public exploit code.","fix":"Upgrade katello to a fixed version for your release line: 1.0.6 or 1.1.7.","what":"CVE-2012-3503 is a critical vulnerability in Redhat Enterprise Linux Server, published on 25 Aug 2012. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-3503 and fix it if it is affected.\n\nWhat it is: CVE-2012-3503 is a critical vulnerability in Redhat Enterprise Linux Server, published on 25 Aug 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2012-3503 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- katello (RubyGems): affected all versions; fixed in 1.0.6\n- katello (RubyGems): affected all versions; fixed in 1.0.6\n- katello (RubyGems): affected from 1.1.0; fixed in 1.1.7\n- katello (RubyGems): affected from 1.1.0; fixed in 1.1.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2012-3503/ (Markdown: https://insights.sbomify.com/CVE-2012-3503/index.md)","id":"CVE-2012-3503","markdown":"https://insights.sbomify.com/CVE-2012-3503/index.md","name":"CVE-2012-3503","record":{"aliases":["GHSA-5xv2-q475-rwrh"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Katello CloudForms","requires_auth":"none","summary":"Remote attackers can authenticate as arbitrary users in Katello CloudForms by exploiting a default secret token generated during installation.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"katello","vendor":"theforeman"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"}],"description":"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.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Katello uses hard coded credential","id":"CVE-2012-3503","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":"redhat:enterprise_linux_server","products":["redhat:enterprise_linux_server"],"type":"hardcoded_credentials","year":"2012"},"n_packages":4,"n_references":6,"next":{"headline":"Path traversal in n/a","id":"CVE-2012-3504"},"packages":[{"ecosystem":"RubyGems","fixed":["1.0.6"],"introduced":["0"],"last_affected":[],"package":"katello","purl":null,"source":"GHSA-5xv2-q475-rwrh"},{"ecosystem":"RubyGems","fixed":["1.0.6"],"introduced":["0"],"last_affected":[],"package":"katello","purl":"pkg:gem/katello","source":"GHSA-5xv2-q475-rwrh"},{"ecosystem":"RubyGems","fixed":["1.1.7"],"introduced":["1.1.0"],"last_affected":[],"package":"katello","purl":null,"source":"GHSA-5xv2-q475-rwrh"},{"ecosystem":"RubyGems","fixed":["1.1.7"],"introduced":["1.1.0"],"last_affected":[],"package":"katello","purl":"pkg:gem/katello","source":"GHSA-5xv2-q475-rwrh"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2012-3502"},"products":["n/a"],"published":"2012-08-25","related":[{"cvss_score":7.5,"headline":"Ruby on Rails Directory Traversal","id":"CVE-2014-0130","kev_date_added":"2022-03-25","published":"2014-05-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can authenticate as arbitrary users in Katello CloudForms by exploiting a default secret token generated during installation.","url":"https://insights.sbomify.com/CVE-2012-3503/"}