{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-12520 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-12520 is a high-severity vulnerability in n/a, published on 5 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-12520 and fix it if it is affected.\n\nWhat it is: CVE-2018-12520 is a high-severity vulnerability in n/a, published on 5 Jul 2018. 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-2018-12520 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2018-12520/ (Markdown: https://insights.sbomify.com/CVE-2018-12520/index.md)","id":"CVE-2018-12520","markdown":"https://insights.sbomify.com/CVE-2018-12520/index.md","name":"CVE-2018-12520","record":{"aliases":["GHSA-mx87-47cg-9wpg","UBUNTU-CVE-2018-12520","USN-4842-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Network monitoring tool","requires_auth":"none","summary":"Attackers can hijack user sessions and escalate privileges due to deterministic session ID generation in ntopng.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ntopng","vendor":"ntop"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-335","name":"Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)"}],"description":"An issue was discovered in ntopng 3.4 before 3.4.180617. The PRNG involved in the generation of session IDs is not seeded at program startup. This results in deterministic session IDs being allocated for active user sessions. An attacker with foreknowledge of the operating system and standard library in use by the host running the service and the username of the user whose session they're targeting can abuse the deterministic random number generation in order to hijack the user's session, thus escalating their access.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-07-03","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-07-03","kind":"exploitdb","ref":"44973","stars":null,"title":"ntop-ng \u003c 3.4.180617 - Authentication Bypass"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Weak cryptography in n/a","id":"CVE-2018-12520","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2018"},"n_packages":0,"n_references":4,"next":{"headline":"Information disclosure in n/a","id":"CVE-2018-12522"},"packages":[],"prev":{"headline":"File upload in n/a","id":"CVE-2018-12519"},"products":["n/a"],"published":"2018-07-05","related":[{"cvss_score":9.8,"headline":"Weak cryptography in n/a","id":"CVE-2026-38968","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2017-5473","kev_date_added":null,"published":"2017-01-14"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2017-7458","kev_date_added":null,"published":"2017-06-26"},{"cvss_score":7.5,"headline":"Other in n/a","id":"CVE-2017-7459","kev_date_added":null,"published":"2017-06-26"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2017-7416","kev_date_added":null,"published":"2017-06-26"},{"cvss_score":6,"headline":"Privilege escalation in n/a","id":"CVE-2015-8368","kev_date_added":null,"published":"2015-12-17"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can hijack user sessions and escalate privileges due to deterministic session ID generation in ntopng.","url":"https://insights.sbomify.com/CVE-2018-12520/"}