{"answers":{"affected":"It affects 24 products.","exploited":"There is no known exploitation of CVE-2022-25752 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-25752 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-25752 is a critical vulnerability in Siemens SCALANCE X302-7 EEC (230V), published on 12 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-25752 and fix it if it is affected.\n\nWhat it is: CVE-2022-25752 is a critical vulnerability in Siemens SCALANCE X302-7 EEC (230V), published on 12 Apr 2022. 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-2022-25752 in the wild and no public exploit code.\n\nAffected product: Siemens SCALANCE X302-7 EEC (230V). No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2022-25752/ (Markdown: https://insights.sbomify.com/CVE-2022-25752/index.md)","id":"CVE-2022-25752","markdown":"https://insights.sbomify.com/CVE-2022-25752/index.md","name":"CVE-2022-25752","record":{"aliases":["GHSA-98j4-62cf-q97h"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Industrial Ethernet Switch","requires_auth":"none","summary":"Weak random number generation in Siemens SCALANCE switches may allow attackers to bypass security controls or predict sensitive values.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"scalance_x302-7eec_firmware","vendor":"siemens"},{"product":"scalance_x304-2fe_firmware","vendor":"siemens"},{"product":"scalance_x306-1ldfe_firmware","vendor":"siemens"},{"product":"scalance_x307-2eec_firmware","vendor":"siemens"},{"product":"scalance_x307-3_firmware","vendor":"siemens"},{"product":"scalance_x307-3ld_firmware","vendor":"siemens"},{"product":"scalance_x308-2_firmware","vendor":"siemens"},{"product":"scalance_x308-2ld_firmware","vendor":"siemens"},{"product":"scalance_x308-2lh\\+_firmware","vendor":"siemens"},{"product":"scalance_x308-2lh_firmware","vendor":"siemens"},{"product":"scalance_x308-2m_firmware","vendor":"siemens"},{"product":"scalance_x308-2m_poe_firmware","vendor":"siemens"},{"product":"scalance_x308-2m_ts_firmware","vendor":"siemens"},{"product":"scalance_x310_firmware","vendor":"siemens"},{"product":"scalance_x310fe_firmware","vendor":"siemens"},{"product":"scalance_x320-1-2ldfe_firmware","vendor":"siemens"},{"product":"scalance_x320-1fe_firmware","vendor":"siemens"},{"product":"scalance_x408-2_firmware","vendor":"siemens"},{"product":"scalance_xr324-12m_firmware","vendor":"siemens"},{"product":"scalance_xr324-12m_ts_firmware","vendor":"siemens"},{"product":"scalance_xr324-4m_eec_firmware","vendor":"siemens"},{"product":"scalance_xr324-4m_poe_firmware","vendor":"siemens"},{"product":"scalance_xr324-4m_poe_ts_firmware","vendor":"siemens"},{"product":"siplus_net_scalance_x308-2_firmware","vendor":"siemens"}],"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-330","name":"Use of Insufficiently Random Values"}],"description":"A vulnerability has been identified in SCALANCE X302-7 EEC (230V), SCALANCE X302-7 EEC (230V, coated), SCALANCE X302-7 EEC (24V), SCALANCE X302-7 EEC (24V, coated), SCALANCE X302-7 EEC (2x 230V), SCALANCE X302-7 EEC (2x 230V, coated), SCALANCE X302-7 EEC (2x 24V), SCALANCE X302-7 EEC (2x 24V, coated), SCALANCE X304-2FE, SCALANCE X306-1LD FE, SCALANCE X307-2 EEC (230V), SCALANCE X307-2 EEC (230V, coated), SCALANCE X307-2 EEC (24V), SCALANCE X307-2 EEC (24V, coated), SCALANCE X307-2 EEC (2x 230V), SCALANCE X307-2 EEC (2x 230V, coated), SCALANCE X307-2 EEC (2x 24V), SCALANCE X307-2 EEC (2x 24V, coated), SCALANCE X307-3, SCALANCE X307-3, SCALANCE X307-3LD, SCALANCE X307-3LD, SCALANCE X308-2, SCALANCE X308-2, SCALANCE X308-2LD, SCALANCE X308-2LD, SCALANCE X308-2LH, SCALANCE X308-2LH, SCALANCE X308-2LH+, SCALANCE X308-2LH+, SCALANCE X308-2M, SCALANCE X308-2M, SCALANCE X308-2M PoE, SCALANCE X308-2M PoE, SCALANCE X308-2M TS, SCALANCE X308-2M TS, SCALANCE X310, SCALANCE X310, SCALANCE X310FE, SCALANCE X310FE, SCALANCE X320-1 FE, SCALANCE X320-1-2LD FE, SCALANCE X408-2, SCALANCE XR324-12M (230V, ports on front), SCALANCE XR324-12M (230V, ports on front), SCALANCE XR324-12M (230V, ports on rear), SCALANCE XR324-12M (230V, ports on rear), SCALANCE XR324-12M (24V, ports on front), SCALANCE XR324-12M (24V, ports on front), SCALANCE XR324-12M (24V, ports on rear), SCALANCE XR324-12M (24V, ports on rear), SCALANCE XR324-12M TS (24V), SCALANCE XR324-12M TS (24V), SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on front), SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on front), SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on rear), SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on rear), SCALANCE XR324-4M EEC (24V, ports on front), SCALANCE XR324-4M EEC (24V, ports on front), SCALANCE XR324-4M EEC (24V, ports on rear), SCALANCE XR324-4M EEC (24V, ports on rear), SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on front), SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on front), SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on rear), SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on rear), SCALANCE XR324-4M EEC (2x 24V, ports on front), SCALANCE XR324-4M EEC (2x 24V, ports on front), SCALANCE XR324-4M EEC (2x 24V, ports on rear), SCALANCE XR324-4M EEC (2x 24V, ports on rear), SCALANCE XR324-4M PoE (230V, ports on front), SCALANCE XR324-4M PoE (230V, ports on rear), SCALANCE XR324-4M PoE (24V, ports on front), SCALANCE XR324-4M PoE (24V, ports on rear), SCALANCE XR324-4M PoE TS (24V, ports on front), SIPLUS NET SCALANCE X308-2. The webserver of affected devices calculates session ids and nonces in an insecure manner. This could allow an unauthenticated remote attacker to brute-force session ids and hijack existing sessions.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Weak cryptography in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-25752","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-25753"},"packages":[],"prev":{"headline":"Other in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-25751"},"products":["SCALANCE X302-7 EEC (230V)","SCALANCE X302-7 EEC (230V, coated)","SCALANCE X302-7 EEC (24V)","SCALANCE X302-7 EEC (24V, coated)","SCALANCE X302-7 EEC (2x 230V)","SCALANCE X302-7 EEC (2x 230V, coated)","SCALANCE X302-7 EEC (2x 24V)","SCALANCE X302-7 EEC (2x 24V, coated)","SCALANCE X304-2FE","SCALANCE X306-1LD FE","SCALANCE X307-2 EEC (230V)","SCALANCE X307-2 EEC (230V, coated)","SCALANCE X307-2 EEC (24V)","SCALANCE X307-2 EEC (24V, coated)","SCALANCE X307-2 EEC (2x 230V)","SCALANCE X307-2 EEC (2x 230V, coated)","SCALANCE X307-2 EEC (2x 24V)","SCALANCE X307-2 EEC (2x 24V, coated)","SCALANCE X307-3","SCALANCE X307-3LD","SCALANCE X308-2","SCALANCE X308-2LD","SCALANCE X308-2LH","SCALANCE X308-2LH+","SCALANCE X308-2M","SCALANCE X308-2M PoE","SCALANCE X308-2M TS","SCALANCE X310","SCALANCE X310FE","SCALANCE X320-1 FE","SCALANCE X320-1-2LD FE","SCALANCE X408-2","SCALANCE XR324-12M (230V, ports on front)","SCALANCE XR324-12M (230V, ports on rear)","SCALANCE XR324-12M (24V, ports on front)","SCALANCE XR324-12M (24V, ports on rear)","SCALANCE XR324-12M TS (24V)","SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on front)","SCALANCE XR324-4M EEC (100-240VAC/60-250VDC, ports on rear)","SCALANCE XR324-4M EEC (24V, ports on front)","SCALANCE XR324-4M EEC (24V, ports on rear)","SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on front)","SCALANCE XR324-4M EEC (2x 100-240VAC/60-250VDC, ports on rear)","SCALANCE XR324-4M EEC (2x 24V, ports on front)","SCALANCE XR324-4M EEC (2x 24V, ports on rear)","SCALANCE XR324-4M PoE (230V, ports on front)","SCALANCE XR324-4M PoE (230V, ports on rear)","SCALANCE XR324-4M PoE (24V, ports on front)","SCALANCE XR324-4M PoE (24V, ports on rear)","SCALANCE XR324-4M PoE TS (24V, ports on front)","SIPLUS NET SCALANCE X308-2"],"published":"2022-04-12","related":[{"cvss_score":8.8,"headline":"Memory corruption in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-25753","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":8.8,"headline":"Cross-site request forgery in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-25754","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":7.5,"headline":"Other in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-25751","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":7.5,"headline":"Missing authorization in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-25755","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":7.5,"headline":"Memory corruption in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-26334","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":7.5,"headline":"Memory corruption in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-26335","kev_date_added":null,"published":"2022-04-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-03","vendors":["Siemens"]},"summary":"Weak random number generation in Siemens SCALANCE switches may allow attackers to bypass security controls or predict sensitive values.","url":"https://insights.sbomify.com/CVE-2022-25752/"}