CVE-2018-6521 SimpleSAMLphp Use of insecure connection charset (sqlauth module)

Critical 9.8 Published Updated

Remote attackers can bypass access restrictions in SimpleSAMLphp by exploiting MySQL utf8 charset truncation in the sqlauth module.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-6521?

CVE-2018-6521 is a critical authentication bypass vulnerability in Debian Debian Linux, published on 2 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. There might be a scenario in which this allows remote attackers to bypass intended access restrictions.

Which versions are affected by CVE-2018-6521?

2 open source packages ship an affected version, including simplesamlphp/simplesamlphp. It affects 2 products.

PackageAffectedFixed in
simplesamlphp/simplesamlphp PackagistAll versions1.15.2
simplesamlphp/simplesamlphp PackagistAll versions1.15.2

Products include Debian Debian Linux, Simplesamlphp Simplesamlphp.

How do I fix CVE-2018-6521?

Upgrade simplesamlphp/simplesamlphp to 1.15.2 or later.

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

Is CVE-2018-6521 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-6521, GHSA-qv5p-6wrc-79wg, UBUNTU-CVE-2018-6521.

Is CVE-2018-6521 in your software?

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

Check your SBOMs for free