CVE-2018-7340 Multiple SAML libraries may allow authentication bypass via incorrect XML canonicalization and DOM traversal

High 7.7 Published Updated

Attackers can bypass SAML authentication by manipulating XML data without invalidating signatures, potentially gaining unauthorized access to service providers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-7340?

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.

Official 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.

Weakness: CWE-347, CWE-287

Which versions are affected by CVE-2018-7340?

It affects 1 product.

Products include Cisco Duo Network Gateway.

How do I fix CVE-2018-7340?

No fix has been published for CVE-2018-7340 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2018-7340 being exploited?

There is no known exploitation of CVE-2018-7340 in the wild and no public exploit code.

Sources

Also known as GHSA-39gm-mmxq-4x9r.

Is CVE-2018-7340 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free