{"answers":{"affected":"1 open source package ship an affected version, including horizon. It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-3540 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2012-3540 is a medium-severity vulnerability in n/a, published on 5 Sep 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2012-3540 and fix it if it is affected.\n\nWhat it is: CVE-2012-3540 is a medium-severity vulnerability in n/a, published on 5 Sep 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2012-3540 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- horizon (PyPI): affected all versions; no fix listed\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-3540/ (Markdown: https://insights.sbomify.com/CVE-2012-3540/index.md)","id":"CVE-2012-3540","markdown":"https://insights.sbomify.com/CVE-2012-3540/index.md","name":"CVE-2012-3540","record":{"aliases":["DEBIAN-CVE-2012-3540","GHSA-j72v-mpwp-rg79","PYSEC-2012-18","RHSA-2012:1380"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Dashboard","requires_auth":"none","summary":"Remote attackers can redirect users to malicious sites via the login next parameter, facilitating phishing attacks against OpenStack Dashboard users.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"horizon","vendor":"openstack"}],"cvss":{"score":5.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Open redirect vulnerability in views/auth_forms.py in OpenStack Dashboard (Horizon) Essex (2012.1) allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the next parameter to auth/login/.  NOTE: this issue was originally assigned CVE-2012-3542 by mistake.","ecosystems":["PyPI","Red Hat:openstack:1::el6"],"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":"Open redirect in n/a","id":"CVE-2012-3540","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"open_redirect","year":"2012"},"n_packages":4,"n_references":10,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2012-3541"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":[],"package":"horizon","purl":"pkg:pypi/horizon","source":"PYSEC-2012-18"},{"ecosystem":"Red Hat:openstack:1::el6","fixed":["0:2012.1.1-3.el6"],"introduced":["0"],"last_affected":[],"package":"openstack-dashboard","purl":"pkg:rpm/redhat/openstack-dashboard","source":"RHSA-2012:1380"},{"ecosystem":"Red Hat:openstack:1::el6","fixed":["0:2012.1.1-3.el6"],"introduced":["0"],"last_affected":[],"package":"python-django-horizon","purl":"pkg:rpm/redhat/python-django-horizon","source":"RHSA-2012:1380"},{"ecosystem":"Red Hat:openstack:1::el6","fixed":["0:2012.1.1-3.el6"],"introduced":["0"],"last_affected":[],"package":"python-django-horizon-doc","purl":"pkg:rpm/redhat/python-django-horizon-doc","source":"RHSA-2012:1380"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2012-3538"},"products":["n/a"],"published":"2012-09-05","related":[{"cvss_score":6.8,"headline":"OpenStack Horizon Session Fixation","id":"CVE-2012-2144","kev_date_added":null,"published":"2012-06-05"},{"cvss_score":6.1,"headline":"Horizon Web Dashboard Open Redirect vulnerability","id":"CVE-2022-45582","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":6,"headline":"OpenStack Horizon RC file generation does not escape special characters in project names","id":"CVE-2026-55748","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":5.5,"headline":"Auth bypass in n/a","id":"CVE-2013-4471","kev_date_added":null,"published":"2014-05-14"},{"cvss_score":5.3,"headline":"OpenStack Horizon has Incorrect Behavior Order","id":"CVE-2026-43002","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":4.8,"headline":"OpenStack Horizon Cross-site Scripting (XSS)","id":"CVE-2017-7400","kev_date_added":null,"published":"2017-04-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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 redirect users to malicious sites via the login next parameter, facilitating phishing attacks against OpenStack Dashboard users.","url":"https://insights.sbomify.com/CVE-2012-3540/"}