{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-7340 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7340 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7340 is a high-severity authentication bypass vulnerability in Duo Network Gateway, published on 17 Apr 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-7340 and fix it if it is affected.\n\nWhat it is: CVE-2018-7340 is a high-severity authentication bypass vulnerability in Duo Network Gateway, published on 17 Apr 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-7340 in the wild and no public exploit code.\n\nAffected product: Duo Network Gateway. 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-7340/ (Markdown: https://insights.sbomify.com/CVE-2018-7340/index.md)","id":"CVE-2018-7340","markdown":"https://insights.sbomify.com/CVE-2018-7340/index.md","name":"CVE-2018-7340","record":{"aliases":["GHSA-39gm-mmxq-4x9r"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Duo Network Gateway","requires_auth":"low_privilege","summary":"Attackers can bypass SAML authentication by manipulating XML data without invalidating signatures, potentially gaining unauthorized access to service providers.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"duo","cpe":[{"product":"duo_network_gateway","vendor":"cisco"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"Duo Network Gateway 1.2.9 and earlier may incorrectly utilize the results of XML DOM traversal and canonicalization APIs in such a way that an attacker may be able to manipulate the SAML data without invalidating the cryptographic signature, allowing the attack to potentially bypass authentication to SAML service providers.","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":"Multiple SAML libraries may allow authentication bypass via incorrect XML canonicalization and DOM traversal","id":"CVE-2018-7340","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-site scripting in MF65","id":"CVE-2018-7355"},"packages":[],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2018-7339"},"products":["Duo Network Gateway"],"published":"2019-04-17","related":[{"cvss_score":7.1,"headline":"Duo Network Gateway (DNG) Information Disclosure Vulnerability","id":"CVE-2020-3483","kev_date_added":null,"published":"2020-10-14"}],"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-05","vendors":["Duo Security"]},"summary":"Attackers can bypass SAML authentication by manipulating XML data without invalidating signatures, potentially gaining unauthorized access to service providers.","url":"https://insights.sbomify.com/CVE-2018-7340/"}